Home
last modified time | relevance | path

Searched defs:clockid (Results 1 – 25 of 47) sorted by relevance

12

/linux/tools/include/nolibc/
H A Dtime.h36 int sys_clock_getres(clockid_t clockid, struct timespec *res) in sys_clock_getres()
48 int clock_getres(clockid_t clockid, struct timespec *res) in clock_getres()
54 int sys_clock_gettime(clockid_t clockid, struct timespec *tp) in sys_clock_gettime()
66 int clock_gettime(clockid_t clockid, struct timespec *tp) in clock_gettime()
72 int sys_clock_settime(clockid_t clockid, struct timespec *tp) in sys_clock_settime()
84 int clock_settime(clockid_t clockid, struct timespec *tp) in clock_settime()
90 int sys_clock_nanosleep(clockid_t clockid, int flags, const struct timespec *rqtp, in sys_clock_nanosleep()
103 int clock_nanosleep(clockid_t clockid, int flags, const struct timespec *rqtp, in clock_nanosleep()
144 int sys_timer_create(clockid_t clockid, struct sigevent *evp, timer_t *timerid) in sys_timer_create()
150 int timer_create(clockid_t clockid, struct sigevent *evp, timer_t *timerid) in timer_create()
/linux/tools/testing/selftests/timers/
H A Dnanosleep.c38 char *clockstring(int clockid) in clockstring()
89 int nanosleep_test(int clockid, long long ns) in nanosleep_test()
124 static int nanosleep_test_remaining(int clockid) in nanosleep_test_remaining()
172 int clockid, ret; in main() local
H A Dnsleep-lat.c37 char *clockstring(int clockid) in clockstring()
85 int nanosleep_lat_test(int clockid, long long ns) in nanosleep_lat_test()
134 int clockid, ret; in main() local
H A Dinconsistency-check.c39 char *clockstring(int clockid) in clockstring()
142 int clockid, opt; in main() local
H A Dalarmtimer-suspend.c43 char *clockstring(int clockid) in clockstring()
H A Dset-timer-lat.c46 char *clockstring(int clockid) in clockstring()
/linux/tools/include/nolibc/sys/
H A Dtimerfd.h20 int sys_timerfd_create(int clockid, int flags) in sys_timerfd_create()
26 int timerfd_create(int clockid, int flags) in timerfd_create()
/linux/tools/testing/selftests/timens/
H A Dtimerfd.c18 static int tclock_gettime(clockid_t clockid, struct timespec *now) in tclock_gettime()
25 static int run_test(int clockid, struct timespec now) in run_test()
H A Dclock_nanosleep.c28 int clockid; member
41 static int run_test(int clockid, int abs) in run_test()
H A Dfutex.c20 static int run_test(int clockid) in run_test()
H A Dgettime_perf.c47 static void test(clock_t clockid, char *clockstr, bool in_ns) in test()
H A Dtimer.c18 static int run_test(int clockid, struct timespec now) in run_test()
H A Dtimens.h30 static inline bool check_skip(int clockid) in check_skip()
/linux/include/linux/
H A Dtime_namespace.h67 int clockid; member
105 static inline ktime_t timens_ktime_to_host(clockid_t clockid, ktime_t tim) in timens_ktime_to_host()
172 static inline ktime_t timens_ktime_to_host(clockid_t clockid, ktime_t tim) in timens_ktime_to_host()
H A Drestart_block.h41 clockid_t clockid; member
H A Dhrtimer_defs.h29 clockid_t clockid; member
/linux/tools/testing/selftests/futex/include/
H A Dfutex2test.h67 unsigned long flags, struct timespec *timo, clockid_t clockid) in futex_waitv()
85 struct timespec *timeout, clockid_t clockid) in futex2_wait()
/linux/net/sched/
H A Dact_gate.c310 s32 clockid, s32 old_clockid) in gate_timer_needs_cancel()
317 static int gate_clock_resolve(s32 clockid, enum tk_offsets *tko, in gate_clock_resolve()
339 static void gate_setup_timer(struct tcf_gate *gact, s32 clockid, in gate_setup_timer()
365 s32 clockid = CLOCK_TAI; in tcf_gate_init() local
/linux/fs/
H A Dtimerfd.c40 int clockid; member
192 int clockid = ctx->clockid; in timerfd_setup() local
394 SYSCALL_DEFINE2(timerfd_create, int, clockid, int, flags) in SYSCALL_DEFINE2() argument
/linux/kernel/time/
H A Dnamespace.c24 ktime_t do_timens_ktime_to_host(clockid_t clockid, ktime_t tim, in do_timens_ktime_to_host()
350 static void show_offset(struct seq_file *m, int clockid, struct timespec64 *ts) in show_offset()
H A Dhrtimer.c469 static inline void debug_setup(struct hrtimer *timer, clockid_t clockid, enum hrtimer_mode mode) in debug_setup()
475 static inline void debug_setup_on_stack(struct hrtimer *timer, clockid_t clockid, in debug_setup_on_stack()
2163 const clockid_t clockid) in hrtimer_nanosleep()
/linux/kernel/futex/
H A Dsyscalls.c256 clockid_t clockid, struct hrtimer_sleeper *to) in futex2_setup_timeout()
320 struct __kernel_timespec __user *, timeout, clockid_t, clockid) in SYSCALL_DEFINE5() argument
404 clockid_t, clockid) in SYSCALL_DEFINE6() argument
/linux/tools/perf/util/
H A Dclockid.c14 int clockid; member
/linux/tools/testing/selftests/futex/functional/
H A Dfutex_wait_timeout.c66 static int futex_get_abs_timeout(clockid_t clockid, struct timespec *to, in futex_get_abs_timeout()
/linux/include/uapi/linux/
H A Dnet_tstamp.h215 __kernel_clockid_t clockid;/* reference clockid */ member

12