Home
last modified time | relevance | path

Searched refs:CLOCK_BOOTTIME (Results 1 – 25 of 39) sorted by relevance

12

/linux/tools/testing/selftests/bpf/progs/
H A Dtimer.c11 #define CLOCK_BOOTTIME 7
266 if (bpf_timer_init(&val->timer, &hmap, CLOCK_BOOTTIME) != 0) in BPF_PROG2()
273 if (bpf_timer_init(&val->timer, &hmap_malloc, CLOCK_BOOTTIME) != 0) in BPF_PROG2()
291 bpf_timer_init(&val->timer, &hmap, CLOCK_BOOTTIME); in BPF_PROG2()
298 bpf_timer_init(&val->timer, &hmap_malloc, CLOCK_BOOTTIME); in BPF_PROG2()
309 bpf_timer_init(&val->timer, &hmap, CLOCK_BOOTTIME); in timer_cb3()
314 bpf_timer_init(&val->timer, &hmap, CLOCK_BOOTTIME); in timer_cb3()
321 bpf_timer_init(&val->timer, &hmap_malloc, CLOCK_BOOTTIME); in BPF_PROG2()
326 bpf_timer_init(&val->timer, &hmap_malloc, CLOCK_BOOTTIME); in BPF_PROG2()
358 if (bpf_timer_init(timer, &abs_timer, CLOCK_BOOTTIME) ! in test_pinned_timer()
[all...]
H A Dtimer_lockup.c65 bpf_timer_init(timer, &timer1_map, CLOCK_BOOTTIME); in timer1_prog()
81 bpf_timer_init(timer, &timer2_map, CLOCK_BOOTTIME); in timer2_prog()
H A Dtimer_failure.c62 bpf_timer_init(timer, &timer_map, CLOCK_BOOTTIME); in __flag()
/linux/tools/perf/util/
H A Dclockid.c29 #ifndef CLOCK_BOOTTIME
30 #define CLOCK_BOOTTIME 7 macro
43 CLOCKID_MAP("boottime", CLOCK_BOOTTIME),
50 CLOCKID_MAP("boot", CLOCK_BOOTTIME),
/linux/tools/testing/selftests/timens/
H A Dtimerfd.c21 clockid = CLOCK_BOOTTIME; in tclock_gettime()
94 clock_gettime(CLOCK_BOOTTIME, &btime_now); in main()
101 CLOCK_BOOTTIME, 9 * 24 * 3600); in main()
118 ret |= run_test(CLOCK_BOOTTIME, btime_now); in main()
H A Dgettime_perf.c79 test(CLOCK_BOOTTIME, "boottime", false); in main()
92 if (_settime(CLOCK_BOOTTIME, offset)) in main()
101 test(CLOCK_BOOTTIME, "boottime", true); in main()
H A Dtimer.c87 clock_gettime(CLOCK_BOOTTIME, &btime_now); in main()
94 CLOCK_BOOTTIME, 9 * 24 * 3600); in main()
111 ret |= run_test(CLOCK_BOOTTIME, btime_now); in main()
H A Dtimens.h42 case CLOCK_BOOTTIME: in check_skip()
H A Dprocfs.c62 if (_settime(CLOCK_BOOTTIME, TEN_DAYS_IN_SEC)) in init_namespaces()
H A Dclock_nanosleep.c131 if (_settime(CLOCK_BOOTTIME, 9 * 24 * 3600)) in main()
H A Dtimens.c38 ct(CLOCK_BOOTTIME, -1),
/linux/kernel/time/
H A Dposix-stubs.c49 case CLOCK_BOOTTIME: in do_clock_gettime()
85 case CLOCK_BOOTTIME: in SYSCALL_DEFINE2()
104 case CLOCK_BOOTTIME: in SYSCALL_DEFINE4()
168 case CLOCK_BOOTTIME: in SYSCALL_DEFINE2()
187 case CLOCK_BOOTTIME: in SYSCALL_DEFINE4()
H A Dvsyscall.c57 vdso_ts = &vc[CS_HRES_COARSE].basetime[CLOCK_BOOTTIME]; in update_vdso_time_data()
H A Dhrtimer.c112 BASE_INIT(HRTIMER_BASE_BOOTTIME, CLOCK_BOOTTIME),
116 BASE_INIT(HRTIMER_BASE_BOOTTIME_SOFT, CLOCK_BOOTTIME),
1731 case CLOCK_BOOTTIME: in hrtimer_clockid_to_base()
1748 case CLOCK_BOOTTIME: in __hrtimer_cb_get_time()
/linux/tools/testing/selftests/vDSO/
H A Dvdso_test_abi.c50 [CLOCK_BOOTTIME] = "CLOCK_BOOTTIME",
287 vdso_test_clock(CLOCK_BOOTTIME);
/linux/include/uapi/linux/
H A Dtime.h56 #define CLOCK_BOOTTIME 7 macro
/linux/tools/testing/selftests/proc/
H A Dproc-uptime.h31 err = clock_gettime(CLOCK_BOOTTIME, &ts); in clock_boottime()
/linux/tools/testing/selftests/timers/
H A Dalarmtimer-suspend.c60 case CLOCK_BOOTTIME: in clockstring()
H A Dnsleep-lat.c54 case CLOCK_BOOTTIME: in clockstring()
H A Dinconsistency-check.c56 case CLOCK_BOOTTIME: in clockstring()
H A Dnanosleep.c55 case CLOCK_BOOTTIME: in clockstring()
H A Dset-timer-lat.c63 case CLOCK_BOOTTIME: in clockstring()
/linux/drivers/iio/proximity/
H A Dcros_ec_mkbp_proximity.c104 if (iio_device_get_clock(indio_dev) != CLOCK_BOOTTIME) in cros_ec_mkbp_proximity_push_event()
/linux/drivers/iio/
H A Dindustrialio-core.c336 case CLOCK_BOOTTIME: in iio_get_time_ns()
1463 [CLOCK_BOOTTIME] = "boottime",
1483 case CLOCK_BOOTTIME: in current_timestamp_clock_show()
1511 case CLOCK_BOOTTIME: in current_timestamp_clock_store()
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dbpf_obj_id.c111 err = clock_gettime(CLOCK_BOOTTIME, &boot_time_ts); in serial_test_bpf_obj_id()

12