Home
last modified time | relevance | path

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

12

/linux-6.6.21/tools/testing/selftests/bpf/progs/
Dtimer.c231 if (bpf_timer_init(&val->timer, &hmap, CLOCK_BOOTTIME) != 0) in bpf_timer_test()
238 if (bpf_timer_init(&val->timer, &hmap_malloc, CLOCK_BOOTTIME) != 0) in bpf_timer_test()
256 bpf_timer_init(&val->timer, &hmap, CLOCK_BOOTTIME); in BPF_PROG2()
263 bpf_timer_init(&val->timer, &hmap_malloc, CLOCK_BOOTTIME); in BPF_PROG2()
274 bpf_timer_init(&val->timer, &hmap, CLOCK_BOOTTIME); in BPF_PROG2()
279 bpf_timer_init(&val->timer, &hmap, CLOCK_BOOTTIME); in BPF_PROG2()
286 bpf_timer_init(&val->timer, &hmap_malloc, CLOCK_BOOTTIME); in BPF_PROG2()
291 bpf_timer_init(&val->timer, &hmap_malloc, CLOCK_BOOTTIME); in BPF_PROG2()
323 if (bpf_timer_init(timer, &abs_timer, CLOCK_BOOTTIME) != 0) in BPF_PROG2()
Dtimer_failure.c41 bpf_timer_init(timer, &timer_map, CLOCK_BOOTTIME); in BPF_PROG2()
/linux-6.6.21/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.6.21/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-6.6.21/kernel/time/
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()
Dnamespace.c32 case CLOCK_BOOTTIME: in do_timens_ktime_to_host()
191 offset[CLOCK_BOOTTIME] = boottime; in timens_setup_vdso_data()
352 case CLOCK_BOOTTIME: in show_offset()
376 show_offset(m, CLOCK_BOOTTIME, &time_ns->offsets.boottime); in proc_timens_show_offsets()
405 case CLOCK_BOOTTIME: in proc_timens_set_offset()
444 case CLOCK_BOOTTIME: in proc_timens_set_offset()
Dvsyscall.c52 vdso_ts = &vdata[CS_HRES_COARSE].basetime[CLOCK_BOOTTIME]; in update_vdso_data()
/linux-6.6.21/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.6.21/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.6.21/include/uapi/linux/
Dtime.h56 #define CLOCK_BOOTTIME 7 macro
/linux-6.6.21/tools/testing/selftests/proc/
Dproc-uptime.h31 err = clock_gettime(CLOCK_BOOTTIME, &ts); in clock_boottime()
/linux-6.6.21/include/vdso/
Ddatapage.h31 BIT(CLOCK_BOOTTIME) | \
/linux-6.6.21/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.6.21/drivers/iio/common/cros_ec_sensors/
Dcros_ec_sensors_core.c208 if (iio_device_get_clock(indio_dev) != CLOCK_BOOTTIME) in cros_ec_sensors_push_data()
345 ret = iio_device_set_clock(indio_dev, CLOCK_BOOTTIME); in cros_ec_sensors_core_init()

12