/linux-6.6.21/kernel/time/ |
D | itimer.c | 73 value->it_interval = ns_to_timespec64(interval); in get_cpu_itimer() 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() 125 struct old_timeval32 it_interval; member 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() 176 ninterval = timespec64_to_ns(&value->it_interval); in set_cpu_itimer() 196 ovalue->it_interval = ns_to_timespec64(ointerval); in set_cpu_itimer() 220 ovalue->it_interval in do_setitimer() [all …]
|
D | posix-timers.c | 248 timr->it_interval); in common_hrtimer_rearm() 266 if (timr->it_interval && timr->it_requeue_pending == info->si_sys_private) { in posixtimer_rearm() 321 if (timr->it_interval != 0) in posix_timer_fn() 331 if (timr->it_interval != 0) { in posix_timer_fn() 362 if (timr->it_interval < kj) in posix_timer_fn() 366 timr->it_overrun += hrtimer_forward(timer, now, timr->it_interval); in posix_timer_fn() 622 return hrtimer_forward(timer, now, timr->it_interval); in common_hrtimer_forward() 644 iv = timr->it_interval; in common_timer_get() 648 cur_setting->it_interval = ktime_to_timespec64(iv); in common_timer_get() 872 timr->it_interval = 0; in common_timer_set() [all …]
|
D | time.c | 989 ret = get_timespec64(&it->it_interval, &uit->it_interval); in get_itimerspec64() 1012 ret = put_timespec64(&it->it_interval, &uit->it_interval); in put_itimerspec64() 1033 if (__get_old_timespec32(&its->it_interval, &uits->it_interval) || in get_old_itimerspec32() 1051 if (__put_old_timespec32(&its->it_interval, &uits->it_interval) || in put_old_itimerspec32()
|
D | posix-cpu-timers.c | 127 if (!timer->it_interval) in bump_cpu_timer() 133 incr = timer->it_interval; in bump_cpu_timer() 599 } else if (!timer->it_interval) { in cpu_timer_fire() 668 old_incr = timer->it_interval; in posix_cpu_timer_set() 745 timer->it_interval = timespec64_to_ktime(new->it_interval); in posix_cpu_timer_set() 783 old->it_interval = ns_to_timespec64(old_incr); in posix_cpu_timer_set() 803 itp->it_interval = ktime_to_timespec64(timer->it_interval); in posix_cpu_timer_get()
|
D | alarmtimer.c | 571 if (ptr->it_interval) in alarm_handle_timer() 574 if (posix_timer_event(ptr, si_private) && ptr->it_interval) { in alarm_handle_timer() 580 ptr->it_overrun += __alarm_forward_now(alarm, ptr->it_interval, true); in alarm_handle_timer() 598 timr->it_overrun += alarm_forward_now(alarm, timr->it_interval); in alarm_timer_rearm() 611 return alarm_forward(alarm, timr->it_interval, now); in alarm_timer_forward()
|
/linux-6.6.21/arch/um/os-Linux/ |
D | time.c | 54 its.it_interval.tv_sec = nsecs / UM_NSEC_PER_SEC; in os_timer_set_interval() 55 its.it_interval.tv_nsec = nsecs % UM_NSEC_PER_SEC; in os_timer_set_interval() 69 .it_interval.tv_sec = 0, in os_timer_one_shot() 70 .it_interval.tv_nsec = 0, // we cheat here in os_timer_one_shot()
|
/linux-6.6.21/include/uapi/linux/ |
D | time_types.h | 13 struct __kernel_timespec it_interval; /* timer period */ member 37 struct __kernel_old_timeval it_interval;/* timer interval */ member
|
D | time.h | 23 struct timespec it_interval;/* timer period */ member 28 struct timeval it_interval;/* timer interval */ member
|
/linux-6.6.21/tools/testing/selftests/timens/ |
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()
|
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-6.6.21/tools/testing/selftests/timers/ |
D | alarmtimer-suspend.c | 156 its1.it_interval.tv_sec = SUSPEND_SECS; in main() 157 its1.it_interval.tv_nsec = 0; in main()
|
D | posix_timers.c | 219 .it_interval.tv_sec = 0, in check_timer_distribution() 220 .it_interval.tv_nsec = 1000 * 1000, in check_timer_distribution()
|
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()
|
D | leap-a-day.c | 302 its1.it_interval.tv_sec = 0; in main() 303 its1.it_interval.tv_nsec = 0; in main()
|
/linux-6.6.21/include/linux/ |
D | time32.h | 18 struct old_timespec32 it_interval; member
|
D | time.h | 64 if (!timespec64_valid(&(its->it_interval)) || in itimerspec64_valid()
|
D | time64.h | 19 struct timespec64 it_interval; member
|
D | posix-timers.h | 235 ktime_t it_interval; member
|
/linux-6.6.21/tools/testing/selftests/kvm/x86_64/ |
D | vmx_exception_with_invalid_guest_state.c | 52 timer.it_interval = timer.it_value; in set_timer()
|
/linux-6.6.21/Documentation/translations/zh_CN/admin-guide/ |
D | cpu-load.rst | 69 struct itimerval it = { .it_interval = { .tv_sec = 0, .tv_usec = 1 },
|
/linux-6.6.21/include/trace/events/ |
D | timer.h | 332 __entry->interval_sec = value->it_interval.tv_sec; 333 __entry->interval_nsec = value->it_interval.tv_nsec;
|
/linux-6.6.21/fs/ |
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-6.6.21/Documentation/translations/zh_TW/admin-guide/ |
D | cpu-load.rst | 75 struct itimerval it = { .it_interval = { .tv_sec = 0, .tv_usec = 1 },
|
/linux-6.6.21/Documentation/admin-guide/ |
D | cpu-load.rst | 81 .it_interval = { .tv_sec = 0, .tv_usec = 1 },
|
/linux-6.6.21/tools/thermal/thermometer/ |
D | thermometer.c | 405 timer_it.it_interval = timer_it.it_value = in thermometer_start()
|