Home
last modified time | relevance | path

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

123

/linux-6.15/tools/testing/selftests/bpf/progs/
H A Dtimer.c235 if (bpf_timer_init(&val->timer, &hmap, CLOCK_BOOTTIME) != 0) in bpf_timer_test()
242 if (bpf_timer_init(&val->timer, &hmap_malloc, CLOCK_BOOTTIME) != 0) in bpf_timer_test()
260 bpf_timer_init(&val->timer, &hmap, CLOCK_BOOTTIME); in BPF_PROG2()
267 bpf_timer_init(&val->timer, &hmap_malloc, CLOCK_BOOTTIME); in BPF_PROG2()
278 bpf_timer_init(&val->timer, &hmap, CLOCK_BOOTTIME); in BPF_PROG2()
283 bpf_timer_init(&val->timer, &hmap, CLOCK_BOOTTIME); in BPF_PROG2()
290 bpf_timer_init(&val->timer, &hmap_malloc, CLOCK_BOOTTIME); in BPF_PROG2()
295 bpf_timer_init(&val->timer, &hmap_malloc, CLOCK_BOOTTIME); in BPF_PROG2()
327 if (bpf_timer_init(timer, &abs_timer, CLOCK_BOOTTIME) != 0) in BPF_PROG2()
368 if (bpf_timer_init(timer, map, CLOCK_BOOTTIME) != 0) in test_pinned_timer()
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-6.15/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-6.15/tools/testing/selftests/timens/
H A 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()
H A 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()
H A 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()
H A Dtimens.h42 case CLOCK_BOOTTIME: in check_skip()
H A Dclock_nanosleep.c129 if (_settime(CLOCK_BOOTTIME, 9 * 24 * 3600)) in main()
H A Dprocfs.c62 if (_settime(CLOCK_BOOTTIME, TEN_DAYS_IN_SEC)) in init_namespaces()
H A Dtimens.c38 ct(CLOCK_BOOTTIME, -1),
/linux-6.15/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 Dnamespace.c32 case CLOCK_BOOTTIME: in do_timens_ktime_to_host()
191 offset[CLOCK_BOOTTIME] = boottime; in timens_setup_vdso_clock_data()
354 case CLOCK_BOOTTIME: in show_offset()
378 show_offset(m, CLOCK_BOOTTIME, &time_ns->offsets.boottime); in proc_timens_show_offsets()
407 case CLOCK_BOOTTIME: in proc_timens_set_offset()
446 case CLOCK_BOOTTIME: in proc_timens_set_offset()
H A Dvsyscall.c58 vdso_ts = &vc[CS_HRES_COARSE].basetime[CLOCK_BOOTTIME]; in update_vdso_time_data()
/linux-6.15/tools/testing/selftests/vDSO/
H A Dvdso_test_clock_getres.c95 #ifdef CLOCK_BOOTTIME in main()
96 ret += vdso_test_clock(CLOCK_BOOTTIME); in main()
H A Dvdso_test_abi.c207 #ifdef CLOCK_BOOTTIME in main()
208 vdso_test_clock(CLOCK_BOOTTIME); in main()
/linux-6.15/include/uapi/linux/
H A Dtime.h56 #define CLOCK_BOOTTIME 7 macro
/linux-6.15/tools/testing/selftests/proc/
H A Dproc-uptime.h31 err = clock_gettime(CLOCK_BOOTTIME, &ts); in clock_boottime()
/linux-6.15/rust/kernel/
H A Dtime.rs132 BootTime = bindings::CLOCK_BOOTTIME,
/linux-6.15/include/vdso/
H A Ddatapage.h43 BIT(CLOCK_BOOTTIME) | \
/linux-6.15/tools/testing/selftests/timers/
H A Dalarmtimer-suspend.c60 case CLOCK_BOOTTIME: in clockstring()
H A Dnanosleep.c55 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 Dset-timer-lat.c63 case CLOCK_BOOTTIME: in clockstring()

123