Home
last modified time | relevance | path

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

12

/linux-6.1.9/tools/testing/selftests/bpf/progs/
Dtimer.c223 if (bpf_timer_init(&val->timer, &hmap, CLOCK_BOOTTIME) != 0) in bpf_timer_test()
230 if (bpf_timer_init(&val->timer, &hmap_malloc, CLOCK_BOOTTIME) != 0) in bpf_timer_test()
248 bpf_timer_init(&val->timer, &hmap, CLOCK_BOOTTIME); in BPF_PROG2()
255 bpf_timer_init(&val->timer, &hmap_malloc, CLOCK_BOOTTIME); in BPF_PROG2()
266 bpf_timer_init(&val->timer, &hmap, CLOCK_BOOTTIME); in BPF_PROG2()
271 bpf_timer_init(&val->timer, &hmap, CLOCK_BOOTTIME); in BPF_PROG2()
278 bpf_timer_init(&val->timer, &hmap_malloc, CLOCK_BOOTTIME); in BPF_PROG2()
283 bpf_timer_init(&val->timer, &hmap_malloc, CLOCK_BOOTTIME); in BPF_PROG2()
/linux-6.1.9/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-6.1.9/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()
Dclock_nanosleep.c129 if (_settime(CLOCK_BOOTTIME, 9 * 24 * 3600)) in main()
Dprocfs.c62 if (_settime(CLOCK_BOOTTIME, TEN_DAYS_IN_SEC)) in init_namespaces()
Dtimens.c38 ct(CLOCK_BOOTTIME, -1),
/linux-6.1.9/kernel/time/
Dposix-stubs.c83 case CLOCK_BOOTTIME: in do_clock_gettime()
119 case CLOCK_BOOTTIME: in SYSCALL_DEFINE2()
138 case CLOCK_BOOTTIME: in SYSCALL_DEFINE4()
212 case CLOCK_BOOTTIME: in SYSCALL_DEFINE2()
231 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()
Dhrtimer.c85 .clockid = CLOCK_BOOTTIME,
105 .clockid = CLOCK_BOOTTIME,
122 [CLOCK_BOOTTIME] = HRTIMER_BASE_BOOTTIME,
/linux-6.1.9/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-6.1.9/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()
Dnsleep-lat.c41 #define CLOCK_BOOTTIME 7 macro
67 case CLOCK_BOOTTIME: in clockstring()
Dinconsistency-check.c43 #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-6.1.9/include/uapi/linux/
Dtime.h56 #define CLOCK_BOOTTIME 7 macro
/linux-6.1.9/include/vdso/
Ddatapage.h31 BIT(CLOCK_BOOTTIME) | \
/linux-6.1.9/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-6.1.9/drivers/iio/common/cros_ec_sensors/
Dcros_ec_sensors_core.c205 if (iio_device_get_clock(indio_dev) != CLOCK_BOOTTIME) in cros_ec_sensors_push_data()
341 ret = iio_device_set_clock(indio_dev, CLOCK_BOOTTIME); in cros_ec_sensors_core_init()
/linux-6.1.9/include/trace/events/
Dtimer.h149 { CLOCK_BOOTTIME, "CLOCK_BOOTTIME" }, \

12