/linux-6.8/tools/testing/selftests/proc/ |
D | proc-uptime-001.c | 16 // Test that boottime value in /proc/uptime and CLOCK_BOOTTIME increment 38 c0 = clock_boottime(); in main() 42 c1 = clock_boottime(); in main() 47 /* Is CLOCK_BOOTTIME monotonic ? */ in main() 50 /* Is CLOCK_BOOTTIME VS /proc/uptime monotonic ? */ in main()
|
D | proc-uptime-002.c | 16 // Test that boottime value in /proc/uptime and CLOCK_BOOTTIME increment 66 c0 = clock_boottime(); in main() 76 c1 = clock_boottime(); in main() 81 /* Is CLOCK_BOOTTIME monotonic ? */ in main() 84 /* Is CLOCK_BOOTTIME VS /proc/uptime monotonic ? */ in main()
|
D | proc-uptime.h | 26 static uint64_t clock_boottime(void) in clock_boottime() function 31 err = clock_gettime(CLOCK_BOOTTIME, &ts); in clock_boottime()
|
/linux-6.8/kernel/time/ |
D | posix-stubs.c | 22 * as it is easy to remain compatible with little code. CLOCK_BOOTTIME 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()
|
D | namespace.c | 32 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()
|
D | vsyscall.c | 51 /* CLOCK_BOOTTIME */ in update_vdso_data() 52 vdso_ts = &vdata[CS_HRES_COARSE].basetime[CLOCK_BOOTTIME]; in update_vdso_data()
|
D | posix-timers.c | 307 * Handles CLOCK_REALTIME, CLOCK_MONOTONIC, CLOCK_BOOTTIME and CLOCK_TAI 1203 * For CLOCK_REALTIME, CLOCK_MONOTONIC, CLOCK_BOOTTIME, CLOCK_TAI, 1356 * sys_clock_nanosleep() for CLOCK_MONOTONIC and CLOCK_BOOTTIME 1497 static const struct k_clock clock_boottime = { variable 1522 [CLOCK_BOOTTIME] = &clock_boottime,
|
/linux-6.8/tools/testing/selftests/bpf/progs/ |
D | timer.c | 234 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_PROG2() 266 bpf_timer_init(&val->timer, &hmap_malloc, CLOCK_BOOTTIME); in BPF_PROG2() 277 bpf_timer_init(&val->timer, &hmap, CLOCK_BOOTTIME); in BPF_PROG2() 282 bpf_timer_init(&val->timer, &hmap, CLOCK_BOOTTIME); in BPF_PROG2() 289 bpf_timer_init(&val->timer, &hmap_malloc, CLOCK_BOOTTIME); in BPF_PROG2() 294 bpf_timer_init(&val->timer, &hmap_malloc, CLOCK_BOOTTIME); in BPF_PROG2() 326 if (bpf_timer_init(timer, &abs_timer, CLOCK_BOOTTIME) != 0) in BPF_PROG2() 367 if (bpf_timer_init(timer, map, CLOCK_BOOTTIME) != 0) in test_pinned_timer()
|
D | timer_failure.c | 62 bpf_timer_init(timer, &timer_map, CLOCK_BOOTTIME); in __flag()
|
/linux-6.8/tools/testing/selftests/vDSO/ |
D | vdso_test_clock_getres.c | 47 "CLOCK_BOOTTIME", 61 * clock_id: CLOCK_BOOTTIME [PASS] 95 #ifdef CLOCK_BOOTTIME in main() 96 ret += vdso_test_clock(CLOCK_BOOTTIME); in main()
|
D | vdso_test_abi.c | 44 "CLOCK_BOOTTIME", 209 #ifdef CLOCK_BOOTTIME in main() 210 vdso_test_clock(CLOCK_BOOTTIME); in main()
|
/linux-6.8/tools/perf/util/ |
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.8/tools/testing/selftests/timens/ |
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()
|
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()
|
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()
|
D | timens.h | 42 case CLOCK_BOOTTIME: in check_skip()
|
D | clock_nanosleep.c | 129 if (_settime(CLOCK_BOOTTIME, 9 * 24 * 3600)) in main()
|
/linux-6.8/tools/testing/selftests/timers/ |
D | nanosleep.c | 41 #define CLOCK_BOOTTIME 7 macro 67 case CLOCK_BOOTTIME: in clockstring() 68 return "CLOCK_BOOTTIME"; in clockstring()
|
D | alarmtimer-suspend.c | 40 #define CLOCK_BOOTTIME 7 macro 74 case CLOCK_BOOTTIME: in clockstring() 75 return "CLOCK_BOOTTIME"; in clockstring()
|
D | nsleep-lat.c | 41 #define CLOCK_BOOTTIME 7 macro 67 case CLOCK_BOOTTIME: in clockstring() 68 return "CLOCK_BOOTTIME"; in clockstring()
|
D | inconsistency-check.c | 43 #define CLOCK_BOOTTIME 7 macro 67 case CLOCK_BOOTTIME: in clockstring() 68 return "CLOCK_BOOTTIME"; in clockstring()
|
D | set-timer-lat.c | 40 #define CLOCK_BOOTTIME 7 macro 75 case CLOCK_BOOTTIME: in clockstring() 76 return "CLOCK_BOOTTIME"; in clockstring()
|
/linux-6.8/include/linux/ |
D | timekeeper_internal.h | 60 * @monotonic_to_boot: CLOCK_MONOTONIC to CLOCK_BOOTTIME offset 90 * accelerate the VDSO update for CLOCK_BOOTTIME.
|
/linux-6.8/include/uapi/linux/ |
D | time.h | 56 #define CLOCK_BOOTTIME 7 macro
|
/linux-6.8/include/trace/events/ |
D | timer.h | 169 { CLOCK_BOOTTIME, "CLOCK_BOOTTIME" }, \
|