/kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/ |
H A D | timer.c | 231 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()
|
/kernel/linux/linux-5.10/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),
|
/kernel/linux/linux-6.6/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),
|
/kernel/linux/linux-6.6/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 | 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()
|
/kernel/linux/linux-5.10/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 | 69 test(CLOCK_BOOTTIME, "boottime", false); in main() 82 if (_settime(CLOCK_BOOTTIME, offset)) in main() 91 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()
|
/kernel/linux/linux-6.6/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()
|
/kernel/linux/linux-5.10/kernel/time/ |
H A D | posix-stubs.c | 56 * as it is easy to remain compatible with little code. CLOCK_BOOTTIME 83 case CLOCK_BOOTTIME: in do_clock_gettime() 118 case CLOCK_BOOTTIME: in SYSCALL_DEFINE2() 137 case CLOCK_BOOTTIME: in SYSCALL_DEFINE4() 212 case CLOCK_BOOTTIME: in SYSCALL_DEFINE2() 231 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_data() 339 case CLOCK_BOOTTIME: in show_offset() 363 show_offset(m, CLOCK_BOOTTIME, &time_ns->offsets.boottime); in proc_timens_show_offsets() 392 case CLOCK_BOOTTIME: in proc_timens_set_offset() 431 case CLOCK_BOOTTIME: in proc_timens_set_offset()
|
/kernel/liteos_m/kal/libc/newlib/porting/include/ |
H A D | time.h | 52 #ifndef CLOCK_BOOTTIME 53 #define CLOCK_BOOTTIME 7 macro
|
/kernel/linux/linux-6.6/tools/testing/selftests/vDSO/ |
H A 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()
|
H A D | vdso_test_abi.c | 154 "CLOCK_BOOTTIME", 203 #ifdef CLOCK_BOOTTIME in main() 204 vdso_test_clock(CLOCK_BOOTTIME); in main()
|
/kernel/linux/linux-5.10/tools/testing/selftests/timers/ |
H A D | alarmtimer-suspend.c | 40 #define CLOCK_BOOTTIME 7 macro 74 case CLOCK_BOOTTIME: in clockstring() 75 return "CLOCK_BOOTTIME"; in clockstring()
|
H A D | inconsistency-check.c | 43 #define CLOCK_BOOTTIME 7 macro 67 case CLOCK_BOOTTIME: in clockstring() 68 return "CLOCK_BOOTTIME"; in clockstring()
|
H A D | nsleep-lat.c | 41 #define CLOCK_BOOTTIME 7 macro 67 case CLOCK_BOOTTIME: in clockstring() 68 return "CLOCK_BOOTTIME"; in clockstring()
|
H A D | nanosleep.c | 41 #define CLOCK_BOOTTIME 7 macro 67 case CLOCK_BOOTTIME: in clockstring() 68 return "CLOCK_BOOTTIME"; in clockstring()
|
/kernel/linux/linux-6.6/tools/testing/selftests/timers/ |
H A D | inconsistency-check.c | 43 #define CLOCK_BOOTTIME 7 macro 67 case CLOCK_BOOTTIME: in clockstring() 68 return "CLOCK_BOOTTIME"; in clockstring()
|
H A D | nsleep-lat.c | 41 #define CLOCK_BOOTTIME 7 macro 67 case CLOCK_BOOTTIME: in clockstring() 68 return "CLOCK_BOOTTIME"; in clockstring()
|
H A D | nanosleep.c | 41 #define CLOCK_BOOTTIME 7 macro 67 case CLOCK_BOOTTIME: in clockstring() 68 return "CLOCK_BOOTTIME"; in clockstring()
|
H A D | alarmtimer-suspend.c | 40 #define CLOCK_BOOTTIME 7 macro 74 case CLOCK_BOOTTIME: in clockstring() 75 return "CLOCK_BOOTTIME"; in clockstring()
|
/kernel/linux/linux-5.10/include/uapi/linux/ |
H A D | time.h | 56 #define CLOCK_BOOTTIME 7 macro
|