Home
last modified time | relevance | path

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

12

/OK3568_Linux_fs/kernel/kernel/time/
H A 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 …]
H A Dposix-cpu-timers.c598 new_expires = ktime_to_ns(timespec64_to_ktime(new->it_value)); in posix_cpu_timer_set()
642 old->it_value.tv_sec = 0; in posix_cpu_timer_set()
643 old->it_value.tv_nsec = 0; in posix_cpu_timer_set()
656 old->it_value = ns_to_timespec64(old_expires); in posix_cpu_timer_set()
658 old->it_value.tv_nsec = 1; in posix_cpu_timer_set()
659 old->it_value.tv_sec = 0; in posix_cpu_timer_set()
753 itp->it_value = ns_to_timespec64(expires - now); in posix_cpu_timer_get()
759 itp->it_value.tv_nsec = 1; in posix_cpu_timer_get()
760 itp->it_value.tv_sec = 0; in posix_cpu_timer_get()
1402 it.it_value = *rqtp; in do_cpu_nanosleep()
[all …]
H A Dtime.c870 ret = get_timespec64(&it->it_value, &uit->it_value); in get_itimerspec64()
885 ret = put_timespec64(&it->it_value, &uit->it_value); in put_itimerspec64()
896 __get_old_timespec32(&its->it_value, &uits->it_value)) in get_old_itimerspec32()
906 __put_old_timespec32(&its->it_value, &uits->it_value)) in put_old_itimerspec32()
H A 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()
/OK3568_Linux_fs/kernel/tools/testing/selftests/timens/
H A 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()
H A 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()
/OK3568_Linux_fs/kernel/arch/um/os-Linux/
H A Dtime.c56 its.it_value.tv_sec = nsecs / UM_NSEC_PER_SEC; in os_timer_set_interval()
57 its.it_value.tv_nsec = nsecs % UM_NSEC_PER_SEC; in os_timer_set_interval()
71 .it_value.tv_sec = nsecs / UM_NSEC_PER_SEC, in os_timer_one_shot()
72 .it_value.tv_nsec = nsecs % UM_NSEC_PER_SEC, in os_timer_one_shot()
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/linux/
H A Dtime.h37 struct timespec it_value; /* timer expiration */ member
42 struct timeval it_value; /* current value */ member
55 struct __kernel_timespec it_value; /* timer expiration */ member
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/linux/
H A Dtime.h37 struct timespec it_value; /* timer expiration */ member
42 struct timeval it_value; /* current value */ member
55 struct __kernel_timespec it_value; /* timer expiration */ member
/OK3568_Linux_fs/kernel/tools/testing/selftests/timers/
H A 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()
H A Dalarmtimer-suspend.c154 its1.it_value = start_time; in main()
155 its1.it_value.tv_sec += SUSPEND_SECS; in main()
H A Dposix_timers.c82 .it_value.tv_sec = DELAY, in check_itimer()
144 .it_value.tv_sec = DELAY, in check_timer_create()
H A Dleap-a-day.c300 its1.it_value.tv_sec = next_leap; in main()
301 its1.it_value.tv_nsec = 0; in main()
/OK3568_Linux_fs/kernel/include/uapi/linux/
H A Dtime_types.h14 struct __kernel_timespec it_value; /* timer expiration */ member
38 struct __kernel_old_timeval it_value; /* current value */ member
H A Dtime.h24 struct timespec it_value; /* timer expiration */ member
29 struct timeval it_value; /* current value */ member
/OK3568_Linux_fs/kernel/arch/parisc/kernel/
H A Dtime.c76 next_tick = cpuinfo->it_value; in timer_interrupt()
86 cpuinfo->it_value = next_tick; in timer_interrupt()
163 per_cpu(cpu_data, cpu).it_value = next_tick; in start_cpu_itimer()
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/bits/types/
H A Dstruct_itimerspec.h11 struct timespec it_value; member
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/bits/types/
H A Dstruct_itimerspec.h11 struct timespec it_value; member
/OK3568_Linux_fs/yocto/meta-rockchip/recipes-devtools/rtl-tools/files/
H A Dhciattach_rtk.c1564 value.it_value.tv_sec = 0; in h5_tsync_sig_alarm()
1565 value.it_value.tv_usec = 250000; in h5_tsync_sig_alarm()
1604 value.it_value.tv_sec = 0; in h5_tconf_sig_alarm()
1605 value.it_value.tv_usec = 250000; in h5_tconf_sig_alarm()
2495 value.it_value.tv_sec = 0; in rtk_init_h5()
2496 value.it_value.tv_usec = 0; in rtk_init_h5()
2506 value.it_value.tv_sec = 0; in rtk_init_h5()
2507 value.it_value.tv_usec = 0; in rtk_init_h5()
2519 value.it_value.tv_sec = 0; in rtk_init_h5()
2520 value.it_value.tv_usec = 0; in rtk_init_h5()
[all …]
/OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/prog_tests/
H A Dsignal_pending.c14 .it_value.tv_usec = 100000, /* 100ms */ in test_signal_pending_by_type()
/OK3568_Linux_fs/kernel/include/linux/
H A Dtime32.h19 struct old_timespec32 it_value; member
H A Dtime.h78 !timespec64_valid(&(its->it_value))) in itimerspec64_valid()
/OK3568_Linux_fs/kernel/fs/
H A Dtimerfd.c185 texp = timespec64_to_ktime(ktmr->it_value); in timerfd_setup()
502 old->it_value = ktime_to_timespec64(timerfd_get_remaining(ctx)); in do_timerfd_settime()
540 t->it_value = ktime_to_timespec64(timerfd_get_remaining(ctx)); in do_timerfd_gettime()
/OK3568_Linux_fs/kernel/include/trace/events/
H A Dtimer.h323 __entry->value_sec = value->it_value.tv_sec;
324 __entry->value_nsec = value->it_value.tv_nsec;
/OK3568_Linux_fs/kernel/Documentation/translations/zh_CN/admin-guide/
H A Dcpu-load.rst70 .it_value = { .tv_sec = 0, .tv_usec = 1 } };

12