| /linux-6.15/tools/testing/selftests/bpf/progs/ |
| H A D | timer.c | 235 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 D | timer_lockup.c | 65 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 D | timer_failure.c | 62 bpf_timer_init(timer, &timer_map, CLOCK_BOOTTIME); in __flag()
|
| /linux-6.15/tools/perf/util/ |
| H A D | clockid.c | 29 #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 D | timerfd.c | 21 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 D | gettime_perf.c | 77 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 D | timer.c | 85 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 D | timens.h | 42 case CLOCK_BOOTTIME: in check_skip()
|
| H A D | clock_nanosleep.c | 129 if (_settime(CLOCK_BOOTTIME, 9 * 24 * 3600)) in main()
|
| H A D | procfs.c | 62 if (_settime(CLOCK_BOOTTIME, TEN_DAYS_IN_SEC)) in init_namespaces()
|
| H A D | timens.c | 38 ct(CLOCK_BOOTTIME, -1),
|
| /linux-6.15/kernel/time/ |
| H A D | posix-stubs.c | 49 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 D | namespace.c | 32 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 D | vsyscall.c | 58 vdso_ts = &vc[CS_HRES_COARSE].basetime[CLOCK_BOOTTIME]; in update_vdso_time_data()
|
| /linux-6.15/tools/testing/selftests/vDSO/ |
| H A D | vdso_test_clock_getres.c | 95 #ifdef CLOCK_BOOTTIME in main() 96 ret += vdso_test_clock(CLOCK_BOOTTIME); in main()
|
| H A D | vdso_test_abi.c | 207 #ifdef CLOCK_BOOTTIME in main() 208 vdso_test_clock(CLOCK_BOOTTIME); in main()
|
| /linux-6.15/include/uapi/linux/ |
| H A D | time.h | 56 #define CLOCK_BOOTTIME 7 macro
|
| /linux-6.15/tools/testing/selftests/proc/ |
| H A D | proc-uptime.h | 31 err = clock_gettime(CLOCK_BOOTTIME, &ts); in clock_boottime()
|
| /linux-6.15/rust/kernel/ |
| H A D | time.rs | 132 BootTime = bindings::CLOCK_BOOTTIME,
|
| /linux-6.15/include/vdso/ |
| H A D | datapage.h | 43 BIT(CLOCK_BOOTTIME) | \
|
| /linux-6.15/tools/testing/selftests/timers/ |
| H A D | alarmtimer-suspend.c | 60 case CLOCK_BOOTTIME: in clockstring()
|
| H A D | nanosleep.c | 55 case CLOCK_BOOTTIME: in clockstring()
|
| H A D | nsleep-lat.c | 54 case CLOCK_BOOTTIME: in clockstring()
|
| H A D | inconsistency-check.c | 56 case CLOCK_BOOTTIME: in clockstring()
|
| H A D | set-timer-lat.c | 63 case CLOCK_BOOTTIME: in clockstring()
|