Home
last modified time | relevance | path

Searched refs:it_value (Results 1 – 25 of 33) sorted by relevance

12

/linux/kernel/time/
A Ditimer.c107 v.it_value.tv_sec = i->it_value.tv_sec; in put_itimerval()
108 v.it_value.tv_usec = i->it_value.tv_nsec / NSEC_PER_USEC; in put_itimerval()
136 v32.it_value.tv_sec = i->it_value.tv_sec; in put_old_itimerval32()
137 v32.it_value.tv_usec = i->it_value.tv_nsec / NSEC_PER_USEC; in put_old_itimerval32()
286 it_new.it_value.tv_nsec = 0; in alarm_setitimer()
295 if ((!it_old.it_value.tv_sec && it_old.it_value.tv_nsec) || in alarm_setitimer()
297 it_old.it_value.tv_sec++; in alarm_setitimer()
327 o->it_value.tv_sec = v.it_value.tv_sec; in get_itimerval()
328 o->it_value.tv_nsec = v.it_value.tv_usec * NSEC_PER_USEC; in get_itimerval()
373 o->it_value.tv_sec = v32.it_value.tv_sec; in get_old_itimerval32()
[all …]
A Dtime.c869 ret = get_timespec64(&it->it_value, &uit->it_value); in get_itimerspec64()
884 ret = put_timespec64(&it->it_value, &uit->it_value); in put_itimerspec64()
895 __get_old_timespec32(&its->it_value, &uits->it_value)) in get_old_itimerspec32()
905 __put_old_timespec32(&its->it_value, &uits->it_value)) in put_old_itimerspec32()
A Dposix-cpu-timers.c687 old->it_value.tv_sec = 0; in posix_cpu_timer_set()
688 old->it_value.tv_nsec = 0; in posix_cpu_timer_set()
701 old->it_value = ns_to_timespec64(old_expires); in posix_cpu_timer_set()
703 old->it_value.tv_nsec = 1; in posix_cpu_timer_set()
704 old->it_value.tv_sec = 0; in posix_cpu_timer_set()
811 itp->it_value = ns_to_timespec64(expires - now); in posix_cpu_timer_get()
817 itp->it_value.tv_nsec = 1; in posix_cpu_timer_get()
818 itp->it_value.tv_sec = 0; in posix_cpu_timer_get()
1459 it.it_value = *rqtp; in do_cpu_nanosleep()
1512 if ((it.it_value.tv_sec | it.it_value.tv_nsec) == 0) { in do_cpu_nanosleep()
[all …]
A Dposix-timers.c708 cur_setting->it_value.tv_nsec = 1; in common_timer_get()
710 cur_setting->it_value = ktime_to_timespec64(remaining); in common_timer_get()
884 if (!new_setting->it_value.tv_sec && !new_setting->it_value.tv_nsec) in common_timer_set()
888 expires = timespec64_to_ktime(new_setting->it_value); in common_timer_set()
908 !timespec64_valid(&new_spec64->it_value)) in do_timer_settime()
/linux/arch/um/os-Linux/
A Dtime.c57 its.it_value.tv_sec = nsecs / UM_NSEC_PER_SEC; in os_timer_set_interval()
58 its.it_value.tv_nsec = nsecs % UM_NSEC_PER_SEC; in os_timer_set_interval()
72 .it_value.tv_sec = nsecs / UM_NSEC_PER_SEC, in os_timer_one_shot()
73 .it_value.tv_nsec = nsecs % UM_NSEC_PER_SEC, in os_timer_one_shot()
117 if (its.it_value.tv_sec || its.it_value.tv_nsec) in os_idle_sleep()
/linux/tools/testing/selftests/timens/
A Dtimer.c32 new_value.it_value.tv_sec = 3600; in run_test()
33 new_value.it_value.tv_nsec = 0; in run_test()
38 new_value.it_value.tv_sec += now.tv_sec; in run_test()
39 new_value.it_value.tv_nsec += now.tv_nsec; in run_test()
58 elapsed = new_value.it_value.tv_sec; in run_test()
A Dtimerfd.c40 new_value.it_value.tv_sec = 3600; in run_test()
41 new_value.it_value.tv_nsec = 0; in run_test()
46 new_value.it_value.tv_sec += now.tv_sec; in run_test()
47 new_value.it_value.tv_nsec += now.tv_nsec; in run_test()
63 elapsed = new_value.it_value.tv_sec; in run_test()
/linux/tools/testing/selftests/timers/
A Dset-timer-lat.c155 its1.it_value = start_time; in setup_timer()
156 its1.it_value.tv_sec += TIMER_SECS; in setup_timer()
158 its1.it_value.tv_sec = TIMER_SECS; in setup_timer()
159 its1.it_value.tv_nsec = 0; in setup_timer()
A Dalarmtimer-suspend.c154 its1.it_value = start_time; in main()
155 its1.it_value.tv_sec += SUSPEND_SECS; in main()
A Dposix_timers.c82 .it_value.tv_sec = DELAY, in check_itimer()
144 .it_value.tv_sec = DELAY, in check_timer_create()
A Dleap-a-day.c300 its1.it_value.tv_sec = next_leap; in main()
301 its1.it_value.tv_nsec = 0; in main()
/linux/include/uapi/linux/
A Dtime_types.h14 struct __kernel_timespec it_value; /* timer expiration */ member
38 struct __kernel_old_timeval it_value; /* current value */ member
A Dtime.h24 struct timespec it_value; /* timer expiration */ member
29 struct timeval it_value; /* current value */ member
/linux/arch/parisc/kernel/
A Dtime.c74 next_tick = cpuinfo->it_value; in timer_interrupt()
84 cpuinfo->it_value = next_tick; in timer_interrupt()
160 per_cpu(cpu_data, cpu).it_value = next_tick; in start_cpu_itimer()
/linux/arch/um/drivers/
A Drtc_user.c59 .it_value = { in uml_rtc_enable_alarm()
/linux/tools/testing/selftests/bpf/prog_tests/
A Dsignal_pending.c14 .it_value.tv_usec = 100000, /* 100ms */ in test_signal_pending_by_type()
/linux/include/linux/
A Dtime32.h19 struct old_timespec32 it_value; member
A Dtime.h65 !timespec64_valid(&(its->it_value))) in itimerspec64_valid()
A Dtime64.h20 struct timespec64 it_value; member
/linux/fs/
A Dtimerfd.c199 texp = timespec64_to_ktime(ktmr->it_value); in timerfd_setup()
513 old->it_value = ktime_to_timespec64(timerfd_get_remaining(ctx)); in do_timerfd_settime()
551 t->it_value = ktime_to_timespec64(timerfd_get_remaining(ctx)); in do_timerfd_gettime()
/linux/include/trace/events/
A Dtimer.h323 __entry->value_sec = value->it_value.tv_sec;
324 __entry->value_nsec = value->it_value.tv_nsec;
/linux/tools/testing/selftests/powerpc/benchmarks/
A Dnull_syscall.c48 val.it_value.tv_usec = usecs; in cpu_soak_usecs()
/linux/Documentation/translations/zh_CN/admin-guide/
A Dcpu-load.rst70 .it_value = { .tv_sec = 0, .tv_usec = 1 } };
/linux/Documentation/translations/zh_TW/admin-guide/
A Dcpu-load.rst76 .it_value = { .tv_sec = 0, .tv_usec = 1 } };
/linux/arch/parisc/include/asm/
A Dprocessor.h79 unsigned long it_value; /* Interval Timer at last timer Intr */ member

Completed in 34 milliseconds

12