/linux-6.6.21/kernel/time/ |
D | itimer.c | 72 value->it_value = ns_to_timespec64(val); in get_cpu_itimer() 83 value->it_value = itimer_get_remtime(&tsk->signal->real_timer); in do_getitimer() 107 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() 126 struct old_timeval32 it_value; member 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() 175 nval = timespec64_to_ns(&value->it_value); in set_cpu_itimer() 195 ovalue->it_value = ns_to_timespec64(oval); in set_cpu_itimer() 219 ovalue->it_value = itimer_get_remtime(timer); in do_setitimer() [all …]
|
D | time.c | 993 ret = get_timespec64(&it->it_value, &uit->it_value); in get_itimerspec64() 1016 ret = put_timespec64(&it->it_value, &uit->it_value); in put_itimerspec64() 1034 __get_old_timespec32(&its->it_value, &uits->it_value)) in get_old_itimerspec32() 1052 __put_old_timespec32(&its->it_value, &uits->it_value)) in put_old_itimerspec32()
|
D | posix-cpu-timers.c | 649 new_expires = ktime_to_ns(timespec64_to_ktime(new->it_value)); in posix_cpu_timer_set() 693 old->it_value.tv_sec = 0; in posix_cpu_timer_set() 694 old->it_value.tv_nsec = 0; in posix_cpu_timer_set() 707 old->it_value = ns_to_timespec64(old_expires); in posix_cpu_timer_set() 709 old->it_value.tv_nsec = 1; in posix_cpu_timer_set() 710 old->it_value.tv_sec = 0; in posix_cpu_timer_set() 817 itp->it_value = ns_to_timespec64(expires - now); in posix_cpu_timer_get() 823 itp->it_value.tv_nsec = 1; in posix_cpu_timer_get() 824 itp->it_value.tv_sec = 0; in posix_cpu_timer_get() 1524 it.it_value = *rqtp; in do_cpu_nanosleep() [all …]
|
D | posix-timers.c | 690 cur_setting->it_value.tv_nsec = 1; in common_timer_get() 692 cur_setting->it_value = ktime_to_timespec64(remaining); in common_timer_get() 886 if (!new_setting->it_value.tv_sec && !new_setting->it_value.tv_nsec) in common_timer_set() 890 expires = timespec64_to_ktime(new_setting->it_value); in common_timer_set() 910 !timespec64_valid(&new_spec64->it_value)) in do_timer_settime()
|
/linux-6.6.21/arch/um/os-Linux/ |
D | time.c | 51 its.it_value.tv_sec = nsecs / UM_NSEC_PER_SEC; in os_timer_set_interval() 52 its.it_value.tv_nsec = nsecs % UM_NSEC_PER_SEC; in os_timer_set_interval() 66 .it_value.tv_sec = nsecs / UM_NSEC_PER_SEC, in os_timer_one_shot() 67 .it_value.tv_nsec = nsecs % UM_NSEC_PER_SEC, in os_timer_one_shot() 111 if (its.it_value.tv_sec || its.it_value.tv_nsec) in os_idle_sleep()
|
/linux-6.6.21/tools/testing/selftests/timens/ |
D | timer.c | 32 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()
|
D | timerfd.c | 40 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-6.6.21/tools/testing/selftests/kvm/x86_64/ |
D | vmx_exception_with_invalid_guest_state.c | 50 timer.it_value.tv_sec = 0; in set_timer() 51 timer.it_value.tv_usec = 200; in set_timer() 52 timer.it_interval = timer.it_value; in set_timer()
|
/linux-6.6.21/tools/testing/selftests/timers/ |
D | posix_timers.c | 82 .it_value.tv_sec = DELAY, in check_itimer() 144 .it_value.tv_sec = DELAY, in check_timer_create() 217 .it_value.tv_sec = 0, in check_timer_distribution() 218 .it_value.tv_nsec = 1000 * 1000, in check_timer_distribution()
|
D | set-timer-lat.c | 155 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()
|
D | alarmtimer-suspend.c | 154 its1.it_value = start_time; in main() 155 its1.it_value.tv_sec += SUSPEND_SECS; in main()
|
D | leap-a-day.c | 300 its1.it_value.tv_sec = next_leap; in main() 301 its1.it_value.tv_nsec = 0; in main()
|
/linux-6.6.21/include/uapi/linux/ |
D | time_types.h | 14 struct __kernel_timespec it_value; /* timer expiration */ member 38 struct __kernel_old_timeval it_value; /* current value */ member
|
D | time.h | 24 struct timespec it_value; /* timer expiration */ member 29 struct timeval it_value; /* current value */ member
|
/linux-6.6.21/arch/parisc/kernel/ |
D | time.c | 76 next_tick = cpuinfo->it_value; in timer_interrupt() 86 cpuinfo->it_value = next_tick; in timer_interrupt() 162 per_cpu(cpu_data, cpu).it_value = next_tick; in start_cpu_itimer()
|
/linux-6.6.21/arch/um/drivers/ |
D | rtc_user.c | 59 .it_value = { in uml_rtc_enable_alarm()
|
/linux-6.6.21/tools/testing/selftests/bpf/prog_tests/ |
D | signal_pending.c | 14 .it_value.tv_usec = 100000, /* 100ms */ in test_signal_pending_by_type()
|
/linux-6.6.21/include/linux/ |
D | time32.h | 19 struct old_timespec32 it_value; member
|
D | time.h | 65 !timespec64_valid(&(its->it_value))) in itimerspec64_valid()
|
D | time64.h | 20 struct timespec64 it_value; member
|
/linux-6.6.21/tools/testing/selftests/powerpc/benchmarks/ |
D | null_syscall.c | 48 val.it_value.tv_usec = usecs; in cpu_soak_usecs()
|
/linux-6.6.21/Documentation/translations/zh_CN/admin-guide/ |
D | cpu-load.rst | 70 .it_value = { .tv_sec = 0, .tv_usec = 1 } };
|
/linux-6.6.21/include/trace/events/ |
D | timer.h | 330 __entry->value_sec = value->it_value.tv_sec; 331 __entry->value_nsec = value->it_value.tv_nsec;
|
/linux-6.6.21/fs/ |
D | timerfd.c | 199 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-6.6.21/Documentation/translations/zh_TW/admin-guide/ |
D | cpu-load.rst | 76 .it_value = { .tv_sec = 0, .tv_usec = 1 } };
|