/linux/kernel/time/ |
A D | itimer.c | 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() 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 D | time.c | 869 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 D | posix-cpu-timers.c | 687 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 D | posix-timers.c | 708 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 D | time.c | 57 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 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()
|
A 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/tools/testing/selftests/timers/ |
A 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()
|
A D | alarmtimer-suspend.c | 154 its1.it_value = start_time; in main() 155 its1.it_value.tv_sec += SUSPEND_SECS; in main()
|
A D | posix_timers.c | 82 .it_value.tv_sec = DELAY, in check_itimer() 144 .it_value.tv_sec = DELAY, in check_timer_create()
|
A 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/include/uapi/linux/ |
A D | time_types.h | 14 struct __kernel_timespec it_value; /* timer expiration */ member 38 struct __kernel_old_timeval it_value; /* current value */ member
|
A D | time.h | 24 struct timespec it_value; /* timer expiration */ member 29 struct timeval it_value; /* current value */ member
|
/linux/arch/parisc/kernel/ |
A D | time.c | 74 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 D | rtc_user.c | 59 .it_value = { in uml_rtc_enable_alarm()
|
/linux/tools/testing/selftests/bpf/prog_tests/ |
A D | signal_pending.c | 14 .it_value.tv_usec = 100000, /* 100ms */ in test_signal_pending_by_type()
|
/linux/include/linux/ |
A D | time32.h | 19 struct old_timespec32 it_value; member
|
A D | time.h | 65 !timespec64_valid(&(its->it_value))) in itimerspec64_valid()
|
A D | time64.h | 20 struct timespec64 it_value; member
|
/linux/fs/ |
A 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/include/trace/events/ |
A D | timer.h | 323 __entry->value_sec = value->it_value.tv_sec; 324 __entry->value_nsec = value->it_value.tv_nsec;
|
/linux/tools/testing/selftests/powerpc/benchmarks/ |
A D | null_syscall.c | 48 val.it_value.tv_usec = usecs; in cpu_soak_usecs()
|
/linux/Documentation/translations/zh_CN/admin-guide/ |
A D | cpu-load.rst | 70 .it_value = { .tv_sec = 0, .tv_usec = 1 } };
|
/linux/Documentation/translations/zh_TW/admin-guide/ |
A D | cpu-load.rst | 76 .it_value = { .tv_sec = 0, .tv_usec = 1 } };
|
/linux/arch/parisc/include/asm/ |
A D | processor.h | 79 unsigned long it_value; /* Interval Timer at last timer Intr */ member
|