Home
last modified time | relevance | path

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

12

/Linux-v6.1/kernel/time/
Ditimer.c72 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 …]
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()
Dposix-cpu-timers.c650 new_expires = ktime_to_ns(timespec64_to_ktime(new->it_value)); in posix_cpu_timer_set()
694 old->it_value.tv_sec = 0; in posix_cpu_timer_set()
695 old->it_value.tv_nsec = 0; in posix_cpu_timer_set()
708 old->it_value = ns_to_timespec64(old_expires); in posix_cpu_timer_set()
710 old->it_value.tv_nsec = 1; in posix_cpu_timer_set()
711 old->it_value.tv_sec = 0; in posix_cpu_timer_set()
818 itp->it_value = ns_to_timespec64(expires - now); in posix_cpu_timer_get()
824 itp->it_value.tv_nsec = 1; in posix_cpu_timer_get()
825 itp->it_value.tv_sec = 0; in posix_cpu_timer_get()
1466 it.it_value = *rqtp; in do_cpu_nanosleep()
[all …]
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-v6.1/arch/um/os-Linux/
Dtime.c51 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-v6.1/tools/testing/selftests/timens/
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()
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-v6.1/tools/testing/selftests/kvm/x86_64/
Dvmx_exception_with_invalid_guest_state.c52 timer.it_value.tv_sec = 0; in set_timer()
53 timer.it_value.tv_usec = 200; in set_timer()
54 timer.it_interval = timer.it_value; in set_timer()
/Linux-v6.1/include/uapi/linux/
Dtime_types.h14 struct __kernel_timespec it_value; /* timer expiration */ member
38 struct __kernel_old_timeval it_value; /* current value */ member
Dtime.h24 struct timespec it_value; /* timer expiration */ member
29 struct timeval it_value; /* current value */ member
/Linux-v6.1/tools/testing/selftests/timers/
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()
Dalarmtimer-suspend.c154 its1.it_value = start_time; in main()
155 its1.it_value.tv_sec += SUSPEND_SECS; in main()
Dposix_timers.c82 .it_value.tv_sec = DELAY, in check_itimer()
144 .it_value.tv_sec = DELAY, in check_timer_create()
Dleap-a-day.c300 its1.it_value.tv_sec = next_leap; in main()
301 its1.it_value.tv_nsec = 0; in main()
/Linux-v6.1/arch/parisc/kernel/
Dtime.c76 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-v6.1/arch/um/drivers/
Drtc_user.c59 .it_value = { in uml_rtc_enable_alarm()
/Linux-v6.1/tools/testing/selftests/bpf/prog_tests/
Dsignal_pending.c14 .it_value.tv_usec = 100000, /* 100ms */ in test_signal_pending_by_type()
/Linux-v6.1/include/linux/
Dtime32.h19 struct old_timespec32 it_value; member
Dtime.h65 !timespec64_valid(&(its->it_value))) in itimerspec64_valid()
Dtime64.h20 struct timespec64 it_value; member
/Linux-v6.1/tools/testing/selftests/powerpc/benchmarks/
Dnull_syscall.c48 val.it_value.tv_usec = usecs; in cpu_soak_usecs()
/Linux-v6.1/Documentation/translations/zh_CN/admin-guide/
Dcpu-load.rst70 .it_value = { .tv_sec = 0, .tv_usec = 1 } };
/Linux-v6.1/include/trace/events/
Dtimer.h326 __entry->value_sec = value->it_value.tv_sec;
327 __entry->value_nsec = value->it_value.tv_nsec;
/Linux-v6.1/fs/
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-v6.1/Documentation/translations/zh_TW/admin-guide/
Dcpu-load.rst76 .it_value = { .tv_sec = 0, .tv_usec = 1 } };

12