| /linux/tools/testing/selftests/proc/ |
| H A 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()
|
| H A 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()
|
| H A 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/kernel/time/ |
| H A 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()
|
| H A D | namespace.c | 33 case CLOCK_BOOTTIME: in do_timens_ktime_to_host() 190 offset[CLOCK_BOOTTIME] = boottime; in timens_setup_vdso_clock_data() 355 case CLOCK_BOOTTIME: in show_offset() 379 show_offset(m, CLOCK_BOOTTIME, &time_ns->offsets.boottime); in proc_timens_show_offsets() 408 case CLOCK_BOOTTIME: in proc_timens_set_offset() 447 case CLOCK_BOOTTIME: in proc_timens_set_offset()
|
| H A D | vsyscall.c | 56 /* CLOCK_BOOTTIME */ in update_vdso_time_data() 57 vdso_ts = &vc[CS_HRES_COARSE].basetime[CLOCK_BOOTTIME]; in update_vdso_time_data()
|
| H A D | posix-timers.c | 364 * Handles CLOCK_REALTIME, CLOCK_MONOTONIC, CLOCK_BOOTTIME and CLOCK_TAI in posix_timer_queue_signal() 1198 * For CLOCK_REALTIME, CLOCK_MONOTONIC, CLOCK_BOOTTIME, CLOCK_TAI, 1351 * sys_clock_nanosleep() for CLOCK_MONOTONIC and CLOCK_BOOTTIME in common_nsleep() 1492 static const struct k_clock clock_boottime = { 1517 [CLOCK_BOOTTIME] = &clock_boottime, 1499 static const struct k_clock clock_boottime = { global() variable
|
| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | timer.c | 11 #define CLOCK_BOOTTIME 7 266 if (bpf_timer_init(&val->timer, &hmap, CLOCK_BOOTTIME) != 0) in BPF_PROG2() 273 if (bpf_timer_init(&val->timer, &hmap_malloc, CLOCK_BOOTTIME) != 0) in BPF_PROG2() 291 bpf_timer_init(&val->timer, &hmap, CLOCK_BOOTTIME); in BPF_PROG2() 298 bpf_timer_init(&val->timer, &hmap_malloc, CLOCK_BOOTTIME); in BPF_PROG2() 309 bpf_timer_init(&val->timer, &hmap, CLOCK_BOOTTIME); in timer_cb3() 314 bpf_timer_init(&val->timer, &hmap, CLOCK_BOOTTIME); in timer_cb3() 321 bpf_timer_init(&val->timer, &hmap_malloc, CLOCK_BOOTTIME); in BPF_PROG2() 326 bpf_timer_init(&val->timer, &hmap_malloc, CLOCK_BOOTTIME); in BPF_PROG2() 358 if (bpf_timer_init(timer, &abs_timer, CLOCK_BOOTTIME) ! in test_pinned_timer() [all...] |
| 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/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/tools/testing/selftests/timens/ |
| H A D | timerfd.c | 21 clockid = CLOCK_BOOTTIME; in tclock_gettime() 94 clock_gettime(CLOCK_BOOTTIME, &btime_now); in main() 101 CLOCK_BOOTTIME, 9 * 24 * 3600); in main() 118 ret |= run_test(CLOCK_BOOTTIME, btime_now); in main()
|
| H A D | gettime_perf.c | 79 test(CLOCK_BOOTTIME, "boottime", false); in main() 92 if (_settime(CLOCK_BOOTTIME, offset)) in main() 101 test(CLOCK_BOOTTIME, "boottime", true); in main()
|
| H A D | timer.c | 87 clock_gettime(CLOCK_BOOTTIME, &btime_now); in main() 94 CLOCK_BOOTTIME, 9 * 24 * 3600); in main() 111 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 | 131 if (_settime(CLOCK_BOOTTIME, 9 * 24 * 3600)) in main()
|
| /linux/tools/testing/selftests/vDSO/ |
| H A D | vdso_test_abi.c | 50 [CLOCK_BOOTTIME] = "CLOCK_BOOTTIME", 287 vdso_test_clock(CLOCK_BOOTTIME);
|
| /linux/tools/testing/selftests/timers/ |
| H A D | alarmtimer-suspend.c | 60 case CLOCK_BOOTTIME: in clockstring() 61 return "CLOCK_BOOTTIME"; in clockstring()
|
| H A D | nsleep-lat.c | 54 case CLOCK_BOOTTIME: in clockstring() 55 return "CLOCK_BOOTTIME"; in clockstring()
|
| H A D | inconsistency-check.c | 56 case CLOCK_BOOTTIME: in clockstring() 57 return "CLOCK_BOOTTIME"; in clockstring()
|
| H A D | nanosleep.c | 55 case CLOCK_BOOTTIME: in clockstring() 56 return "CLOCK_BOOTTIME"; in clockstring()
|
| H A D | set-timer-lat.c | 63 case CLOCK_BOOTTIME: in clockstring() 64 return "CLOCK_BOOTTIME"; in clockstring()
|
| /linux/include/linux/ |
| H A D | timekeeper_internal.h | 78 * @monotonic_to_boot: CLOCK_MONOTONIC to CLOCK_BOOTTIME offset 116 * accelerate the VDSO update for CLOCK_BOOTTIME.
|
| /linux/include/uapi/linux/ |
| H A D | time.h | 56 #define CLOCK_BOOTTIME 7 macro
|
| /linux/include/trace/events/ |
| H A D | timer.h | 169 { CLOCK_BOOTTIME, "CLOCK_BOOTTIME" }, \
|