/linux/kernel/time/ |
A D | itimer.c | 84 value->it_interval = in do_getitimer() 105 v.it_interval.tv_sec = i->it_interval.tv_sec; in put_itimerval() 106 v.it_interval.tv_usec = i->it_interval.tv_nsec / NSEC_PER_USEC; in put_itimerval() 134 v32.it_interval.tv_sec = i->it_interval.tv_sec; in put_old_itimerval32() 135 v32.it_interval.tv_usec = i->it_interval.tv_nsec / NSEC_PER_USEC; in put_old_itimerval32() 220 ovalue->it_interval in do_setitimer() 287 it_new.it_interval.tv_sec = it_new.it_interval.tv_nsec = 0; in alarm_setitimer() 325 o->it_interval.tv_sec = v.it_interval.tv_sec; in get_itimerval() 326 o->it_interval.tv_nsec = v.it_interval.tv_usec * NSEC_PER_USEC; in get_itimerval() 371 o->it_interval.tv_sec = v32.it_interval.tv_sec; in get_old_itimerval32() [all …]
|
A D | posix-timers.c | 298 timr->it_interval); in common_hrtimer_rearm() 377 if (timr->it_interval != 0) in posix_timer_fn() 386 if (timr->it_interval != 0) { in posix_timer_fn() 415 if (timr->it_interval < kj) in posix_timer_fn() 420 timr->it_interval); in posix_timer_fn() 677 iv = timr->it_interval; in common_timer_get() 681 cur_setting->it_interval = ktime_to_timespec64(iv); in common_timer_get() 870 timr->it_interval = 0; in common_timer_set() 887 timr->it_interval = timespec64_to_ktime(new_setting->it_interval); in common_timer_set() 907 if (!timespec64_valid(&new_spec64->it_interval) || in do_timer_settime() [all …]
|
A D | time.c | 865 ret = get_timespec64(&it->it_interval, &uit->it_interval); in get_itimerspec64() 880 ret = put_timespec64(&it->it_interval, &uit->it_interval); in put_itimerspec64() 894 if (__get_old_timespec32(&its->it_interval, &uits->it_interval) || in get_old_itimerspec32() 904 if (__put_old_timespec32(&its->it_interval, &uits->it_interval) || in put_old_itimerspec32()
|
A D | posix-cpu-timers.c | 120 if (!timer->it_interval) in bump_cpu_timer() 126 incr = timer->it_interval; in bump_cpu_timer() 593 } else if (!timer->it_interval) { in cpu_timer_fire() 662 old_incr = timer->it_interval; in posix_cpu_timer_set() 739 timer->it_interval = timespec64_to_ktime(new->it_interval); in posix_cpu_timer_set() 777 old->it_interval = ns_to_timespec64(old_incr); in posix_cpu_timer_set() 797 itp->it_interval = ktime_to_timespec64(timer->it_interval); in posix_cpu_timer_get()
|
A D | alarmtimer.c | 548 if (ptr->it_interval) in alarm_handle_timer() 551 if (posix_timer_event(ptr, si_private) && ptr->it_interval) { in alarm_handle_timer() 556 ptr->it_overrun += alarm_forward_now(alarm, ptr->it_interval); in alarm_handle_timer() 574 timr->it_overrun += alarm_forward_now(alarm, timr->it_interval); in alarm_timer_rearm() 587 return alarm_forward(alarm, timr->it_interval, now); in alarm_timer_forward()
|
/linux/arch/um/os-Linux/ |
A D | time.c | 60 its.it_interval.tv_sec = nsecs / UM_NSEC_PER_SEC; in os_timer_set_interval() 61 its.it_interval.tv_nsec = nsecs % UM_NSEC_PER_SEC; in os_timer_set_interval() 75 .it_interval.tv_sec = 0, in os_timer_one_shot() 76 .it_interval.tv_nsec = 0, // we cheat here in os_timer_one_shot()
|
/linux/include/uapi/linux/ |
A D | time_types.h | 13 struct __kernel_timespec it_interval; /* timer period */ member 37 struct __kernel_old_timeval it_interval;/* timer interval */ member
|
A D | time.h | 23 struct timespec it_interval;/* timer period */ member 28 struct timeval it_interval;/* timer interval */ member
|
/linux/tools/testing/selftests/timens/ |
A D | timer.c | 34 new_value.it_interval.tv_sec = 1; in run_test() 35 new_value.it_interval.tv_nsec = 0; in run_test()
|
A D | timerfd.c | 42 new_value.it_interval.tv_sec = 1; in run_test() 43 new_value.it_interval.tv_nsec = 0; in run_test()
|
/linux/tools/testing/selftests/timers/ |
A D | alarmtimer-suspend.c | 156 its1.it_interval.tv_sec = SUSPEND_SECS; in main() 157 its1.it_interval.tv_nsec = 0; in main()
|
A D | set-timer-lat.c | 161 its1.it_interval.tv_sec = interval; in setup_timer() 162 its1.it_interval.tv_nsec = 0; in setup_timer()
|
A D | leap-a-day.c | 302 its1.it_interval.tv_sec = 0; in main() 303 its1.it_interval.tv_nsec = 0; in main()
|
/linux/include/linux/ |
A D | time32.h | 18 struct old_timespec32 it_interval; member
|
A D | time.h | 64 if (!timespec64_valid(&(its->it_interval)) || in itimerspec64_valid()
|
A D | time64.h | 19 struct timespec64 it_interval; member
|
A D | posix-timers.h | 231 ktime_t it_interval; member
|
/linux/fs/ |
A D | timerfd.c | 202 ctx->tintv = timespec64_to_ktime(ktmr->it_interval); in timerfd_setup() 514 old->it_interval = ktime_to_timespec64(ctx->tintv); in do_timerfd_settime() 552 t->it_interval = ktime_to_timespec64(ctx->tintv); in do_timerfd_gettime()
|
/linux/include/trace/events/ |
A D | timer.h | 325 __entry->interval_sec = value->it_interval.tv_sec; 326 __entry->interval_nsec = value->it_interval.tv_nsec;
|
/linux/Documentation/translations/zh_CN/admin-guide/ |
A D | cpu-load.rst | 69 struct itimerval it = { .it_interval = { .tv_sec = 0, .tv_usec = 1 },
|
/linux/Documentation/translations/zh_TW/admin-guide/ |
A D | cpu-load.rst | 75 struct itimerval it = { .it_interval = { .tv_sec = 0, .tv_usec = 1 },
|
/linux/Documentation/admin-guide/ |
A D | cpu-load.rst | 81 .it_interval = { .tv_sec = 0, .tv_usec = 1 },
|
/linux/tools/testing/selftests/bpf/ |
A D | bench.c | 297 timer_settings.it_interval.tv_sec = 1; in setup_timer()
|
/linux/tools/perf/ |
A D | builtin-kvm.c | 863 new_value.it_interval.tv_sec = kvm->display_time; in perf_kvm__timerfd_create() 864 new_value.it_interval.tv_nsec = 0; in perf_kvm__timerfd_create()
|
/linux/arch/alpha/kernel/ |
A D | osf_sys.c | 941 struct timeval32 it_interval; member
|