Home
last modified time | relevance | path

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

12

/linux-5.19.10/tools/testing/selftests/bpf/progs/
Dtimer.c234 if (bpf_timer_init(&val->timer, &hmap, CLOCK_BOOTTIME) != 0) in bpf_timer_test()
241 if (bpf_timer_init(&val->timer, &hmap_malloc, CLOCK_BOOTTIME) != 0) in bpf_timer_test()
259 bpf_timer_init(&val->timer, &hmap, CLOCK_BOOTTIME); in BPF_PROG()
266 bpf_timer_init(&val->timer, &hmap_malloc, CLOCK_BOOTTIME); in BPF_PROG()
277 bpf_timer_init(&val->timer, &hmap, CLOCK_BOOTTIME); in BPF_PROG()
282 bpf_timer_init(&val->timer, &hmap, CLOCK_BOOTTIME); in BPF_PROG()
289 bpf_timer_init(&val->timer, &hmap_malloc, CLOCK_BOOTTIME); in BPF_PROG()
294 bpf_timer_init(&val->timer, &hmap_malloc, CLOCK_BOOTTIME); in BPF_PROG()
/linux-5.19.10/tools/perf/util/
Dclockid.c29 #ifndef CLOCK_BOOTTIME
30 #define CLOCK_BOOTTIME 7 macro
43 CLOCKID_MAP("boottime", CLOCK_BOOTTIME),
50 CLOCKID_MAP("boot", CLOCK_BOOTTIME),
/linux-5.19.10/tools/testing/selftests/timens/
Dtimerfd.c21 clockid = CLOCK_BOOTTIME; in tclock_gettime()
92 clock_gettime(CLOCK_BOOTTIME, &btime_now); in main()
99 CLOCK_BOOTTIME, 9 * 24 * 3600); in main()
116 ret |= run_test(CLOCK_BOOTTIME, btime_now); in main()
Dgettime_perf.c77 test(CLOCK_BOOTTIME, "boottime", false); in main()
90 if (_settime(CLOCK_BOOTTIME, offset)) in main()
99 test(CLOCK_BOOTTIME, "boottime", true); in main()
Dtimer.c85 clock_gettime(CLOCK_BOOTTIME, &btime_now); in main()
92 CLOCK_BOOTTIME, 9 * 24 * 3600); in main()
109 ret |= run_test(CLOCK_BOOTTIME, btime_now); in main()
Dtimens.h42 case CLOCK_BOOTTIME: in check_skip()
Dprocfs.c62 if (_settime(CLOCK_BOOTTIME, TEN_DAYS_IN_SEC)) in init_namespaces()
Dclock_nanosleep.c129 if (_settime(CLOCK_BOOTTIME, 9 * 24 * 3600)) in main()
Dtimens.c38 ct(CLOCK_BOOTTIME, -1),
/linux-5.19.10/kernel/time/
Dposix-stubs.c83 case CLOCK_BOOTTIME: in do_clock_gettime()
118 case CLOCK_BOOTTIME: in SYSCALL_DEFINE2()
137 case CLOCK_BOOTTIME: in SYSCALL_DEFINE4()
211 case CLOCK_BOOTTIME: in SYSCALL_DEFINE2()
230 case CLOCK_BOOTTIME: in SYSCALL_DEFINE4()
Dnamespace.c32 case CLOCK_BOOTTIME: in do_timens_ktime_to_host()
191 offset[CLOCK_BOOTTIME] = boottime; in timens_setup_vdso_data()
334 case CLOCK_BOOTTIME: in show_offset()
358 show_offset(m, CLOCK_BOOTTIME, &time_ns->offsets.boottime); in proc_timens_show_offsets()
387 case CLOCK_BOOTTIME: in proc_timens_set_offset()
426 case CLOCK_BOOTTIME: in proc_timens_set_offset()
Dvsyscall.c52 vdso_ts = &vdata[CS_HRES_COARSE].basetime[CLOCK_BOOTTIME]; in update_vdso_data()
/linux-5.19.10/tools/testing/selftests/vDSO/
Dvdso_test_clock_getres.c95 #ifdef CLOCK_BOOTTIME in main()
96 ret += vdso_test_clock(CLOCK_BOOTTIME); in main()
Dvdso_test_abi.c203 #ifdef CLOCK_BOOTTIME in main()
204 vdso_test_clock(CLOCK_BOOTTIME); in main()
/linux-5.19.10/tools/testing/selftests/timers/
Dnanosleep.c41 #define CLOCK_BOOTTIME 7 macro
67 case CLOCK_BOOTTIME: in clockstring()
Dalarmtimer-suspend.c40 #define CLOCK_BOOTTIME 7 macro
74 case CLOCK_BOOTTIME: in clockstring()
Dinconsistency-check.c43 #define CLOCK_BOOTTIME 7 macro
67 case CLOCK_BOOTTIME: in clockstring()
Dnsleep-lat.c41 #define CLOCK_BOOTTIME 7 macro
67 case CLOCK_BOOTTIME: in clockstring()
Dset-timer-lat.c40 #define CLOCK_BOOTTIME 7 macro
75 case CLOCK_BOOTTIME: in clockstring()
/linux-5.19.10/include/uapi/linux/
Dtime.h56 #define CLOCK_BOOTTIME 7 macro
/linux-5.19.10/include/vdso/
Ddatapage.h31 BIT(CLOCK_BOOTTIME) | \
/linux-5.19.10/drivers/net/wireguard/selftest/
Dratelimiter.c50 schedule_hrtimeout_range_clock(&timeout, 0, HRTIMER_MODE_ABS, CLOCK_BOOTTIME); in timings_test()
/linux-5.19.10/drivers/iio/proximity/
Dcros_ec_mkbp_proximity.c109 if (iio_device_get_clock(indio_dev) != CLOCK_BOOTTIME) in cros_ec_mkbp_proximity_push_event()
/linux-5.19.10/drivers/iio/common/cros_ec_sensors/
Dcros_ec_sensors_core.c211 if (iio_device_get_clock(indio_dev) != CLOCK_BOOTTIME) in cros_ec_sensors_push_data()
339 ret = iio_device_set_clock(indio_dev, CLOCK_BOOTTIME); in cros_ec_sensors_core_init()
/linux-5.19.10/include/trace/events/
Dtimer.h149 { CLOCK_BOOTTIME, "CLOCK_BOOTTIME" }, \

12