Home
last modified time | relevance | path

Searched refs:CLOCK_BOOTTIME (Results 1 - 25 of 86) sorted by relevance

1234

/kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/
H A Dtimer.c231 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 Dclockid.c29 #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 Dclockid.c29 #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 Dposix-stubs.c22 * 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 Dnamespace.c32 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 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.c69 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 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()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/kernel/time/
H A Dposix-stubs.c56 * 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 Dnamespace.c32 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 Dtime.h52 #ifndef CLOCK_BOOTTIME
53 #define CLOCK_BOOTTIME 7 macro
/kernel/linux/linux-6.6/tools/testing/selftests/vDSO/
H A Dvdso_test_clock_getres.c47 "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 Dvdso_test_abi.c154 "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 Dalarmtimer-suspend.c40 #define CLOCK_BOOTTIME 7 macro
74 case CLOCK_BOOTTIME: in clockstring()
75 return "CLOCK_BOOTTIME"; in clockstring()
H A Dinconsistency-check.c43 #define CLOCK_BOOTTIME 7 macro
67 case CLOCK_BOOTTIME: in clockstring()
68 return "CLOCK_BOOTTIME"; in clockstring()
H A Dnsleep-lat.c41 #define CLOCK_BOOTTIME 7 macro
67 case CLOCK_BOOTTIME: in clockstring()
68 return "CLOCK_BOOTTIME"; in clockstring()
H A Dnanosleep.c41 #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 Dinconsistency-check.c43 #define CLOCK_BOOTTIME 7 macro
67 case CLOCK_BOOTTIME: in clockstring()
68 return "CLOCK_BOOTTIME"; in clockstring()
H A Dnsleep-lat.c41 #define CLOCK_BOOTTIME 7 macro
67 case CLOCK_BOOTTIME: in clockstring()
68 return "CLOCK_BOOTTIME"; in clockstring()
H A Dnanosleep.c41 #define CLOCK_BOOTTIME 7 macro
67 case CLOCK_BOOTTIME: in clockstring()
68 return "CLOCK_BOOTTIME"; in clockstring()
H A Dalarmtimer-suspend.c40 #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 Dtime.h56 #define CLOCK_BOOTTIME 7 macro

Completed in 8 milliseconds

1234