Home
last modified time | relevance | path

Searched refs:CLOCK_BOOTTIME (Results 1 – 25 of 40) sorted by relevance

12

/linux/tools/testing/selftests/bpf/progs/
H A Dtimer.c235 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 Dtimer_lockup.c65 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 Dtimer_failure.c62 bpf_timer_init(timer, &timer_map, CLOCK_BOOTTIME); in __flag()
/linux/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),
/linux/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()
H A Dtimens.h42 case CLOCK_BOOTTIME: in check_skip()
H A Dprocfs.c62 if (_settime(CLOCK_BOOTTIME, TEN_DAYS_IN_SEC)) in init_namespaces()
H A Dclock_nanosleep.c129 if (_settime(CLOCK_BOOTTIME, 9 * 24 * 3600)) in main()
H A Dtimens.c38 ct(CLOCK_BOOTTIME, -1),
/linux/kernel/time/
H A Dposix-stubs.c49 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()
H A Dhrtimer.c88 .clockid = CLOCK_BOOTTIME,
108 .clockid = CLOCK_BOOTTIME,
126 [CLOCK_BOOTTIME] = HRTIMER_BASE_BOOTTIME,
H A Dalarmtimer.c888 alarm_bases[ALARM_BOOTTIME].base_clockid = CLOCK_BOOTTIME; in alarmtimer_init()
/linux/tools/testing/selftests/vDSO/
H A Dvdso_test_clock_getres.c95 #ifdef CLOCK_BOOTTIME in main()
96 ret += vdso_test_clock(CLOCK_BOOTTIME); in main()
H A Dvdso_test_abi.c207 #ifdef CLOCK_BOOTTIME in main()
208 vdso_test_clock(CLOCK_BOOTTIME); in main()
/linux/include/uapi/linux/
H A Dtime.h56 #define CLOCK_BOOTTIME 7 macro
/linux/tools/testing/selftests/proc/
H A Dproc-uptime.h31 err = clock_gettime(CLOCK_BOOTTIME, &ts); in clock_boottime()
/linux/drivers/iio/common/cros_ec_sensors/
H A Dcros_ec_sensors_core.c206 if (iio_device_get_clock(indio_dev) != CLOCK_BOOTTIME) in cros_ec_sensors_push_data()
343 ret = iio_device_set_clock(indio_dev, CLOCK_BOOTTIME); in cros_ec_sensors_core_init()
/linux/include/trace/events/
H A Dtimer.h169 { CLOCK_BOOTTIME, "CLOCK_BOOTTIME" }, \
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dbpf_obj_id.c111 err = clock_gettime(CLOCK_BOOTTIME, &boot_time_ts); in serial_test_bpf_obj_id()
/linux/net/sched/
H A Dsch_etf.c401 case CLOCK_BOOTTIME: in etf_init()
/linux/Documentation/core-api/
H A Dtimekeeping.rst25 CLOCK_BOOTTIME
/linux/fs/
H A Dtimerfd.c409 clockid != CLOCK_BOOTTIME && in SYSCALL_DEFINE2()

12