Lines Matching refs:clockid_t

53 static const struct k_clock *clockid_to_kclock(const clockid_t id);
131 static int posix_get_realtime_timespec(clockid_t which_clock, struct timespec64 *tp) in posix_get_realtime_timespec()
137 static ktime_t posix_get_realtime_ktime(clockid_t which_clock) in posix_get_realtime_ktime()
142 static int posix_clock_realtime_set(const clockid_t which_clock, in posix_clock_realtime_set()
148 static int posix_clock_realtime_adj(const clockid_t which_clock, in posix_clock_realtime_adj()
154 static int posix_get_monotonic_timespec(clockid_t which_clock, struct timespec64 *tp) in posix_get_monotonic_timespec()
161 static ktime_t posix_get_monotonic_ktime(clockid_t which_clock) in posix_get_monotonic_ktime()
166 static int posix_get_monotonic_raw(clockid_t which_clock, struct timespec64 *tp) in posix_get_monotonic_raw()
173 static int posix_get_realtime_coarse(clockid_t which_clock, struct timespec64 *tp) in posix_get_realtime_coarse()
179 static int posix_get_monotonic_coarse(clockid_t which_clock, in posix_get_monotonic_coarse()
187 static int posix_get_coarse_res(const clockid_t which_clock, struct timespec64 *tp) in posix_get_coarse_res()
193 static int posix_get_boottime_timespec(const clockid_t which_clock, struct timespec64 *tp) in posix_get_boottime_timespec()
200 static ktime_t posix_get_boottime_ktime(const clockid_t which_clock) in posix_get_boottime_ktime()
205 static int posix_get_tai_timespec(clockid_t which_clock, struct timespec64 *tp) in posix_get_tai_timespec()
211 static ktime_t posix_get_tai_ktime(clockid_t which_clock) in posix_get_tai_ktime()
216 static int posix_get_hrtimer_res(clockid_t which_clock, struct timespec64 *tp) in posix_get_hrtimer_res()
444 static int do_timer_create(clockid_t which_clock, struct sigevent *event, in do_timer_create()
530 SYSCALL_DEFINE3(timer_create, const clockid_t, which_clock, in SYSCALL_DEFINE3() argument
545 COMPAT_SYSCALL_DEFINE3(timer_create, clockid_t, which_clock, in COMPAT_SYSCALL_DEFINE3() argument
1113 SYSCALL_DEFINE2(clock_settime, const clockid_t, which_clock, in SYSCALL_DEFINE2() argument
1132 SYSCALL_DEFINE2(clock_gettime, const clockid_t, which_clock, in SYSCALL_DEFINE2() argument
1150 int do_clock_adjtime(const clockid_t which_clock, struct __kernel_timex * ktx) in do_clock_adjtime()
1162 SYSCALL_DEFINE2(clock_adjtime, const clockid_t, which_clock, in SYSCALL_DEFINE2() argument
1252 SYSCALL_DEFINE2(clock_getres, const clockid_t, which_clock, in SYSCALL_DEFINE2() argument
1272 SYSCALL_DEFINE2(clock_settime32, clockid_t, which_clock, in SYSCALL_DEFINE2() argument
1287 SYSCALL_DEFINE2(clock_gettime32, clockid_t, which_clock, in SYSCALL_DEFINE2() argument
1305 SYSCALL_DEFINE2(clock_adjtime32, clockid_t, which_clock, in SYSCALL_DEFINE2() argument
1323 SYSCALL_DEFINE2(clock_getres_time32, clockid_t, which_clock, in SYSCALL_DEFINE2() argument
1345 static int common_nsleep(const clockid_t which_clock, int flags, in common_nsleep()
1360 static int common_nsleep_timens(const clockid_t which_clock, int flags, in common_nsleep_timens()
1373 SYSCALL_DEFINE4(clock_nanosleep, const clockid_t, which_clock, int, flags, in SYSCALL_DEFINE4() argument
1401 SYSCALL_DEFINE4(clock_nanosleep_time32, clockid_t, which_clock, int, flags, in SYSCALL_DEFINE4() argument
1528 static const struct k_clock *clockid_to_kclock(const clockid_t id) in clockid_to_kclock()
1530 clockid_t idx = id; in clockid_to_kclock()