Lines Matching refs:clockid_t
56 static const struct k_clock *clockid_to_kclock(const clockid_t id);
170 static int posix_get_realtime_timespec(clockid_t which_clock, struct timespec64 *tp) in posix_get_realtime_timespec()
176 static ktime_t posix_get_realtime_ktime(clockid_t which_clock) in posix_get_realtime_ktime()
182 static int posix_clock_realtime_set(const clockid_t which_clock, in posix_clock_realtime_set()
188 static int posix_clock_realtime_adj(const clockid_t which_clock, in posix_clock_realtime_adj()
197 static int posix_get_monotonic_timespec(clockid_t which_clock, struct timespec64 *tp) in posix_get_monotonic_timespec()
204 static ktime_t posix_get_monotonic_ktime(clockid_t which_clock) in posix_get_monotonic_ktime()
212 static int posix_get_monotonic_raw(clockid_t which_clock, struct timespec64 *tp) in posix_get_monotonic_raw()
220 static int posix_get_realtime_coarse(clockid_t which_clock, struct timespec64 *tp) in posix_get_realtime_coarse()
226 static int posix_get_monotonic_coarse(clockid_t which_clock, in posix_get_monotonic_coarse()
234 static int posix_get_coarse_res(const clockid_t which_clock, struct timespec64 *tp) in posix_get_coarse_res()
240 static int posix_get_boottime_timespec(const clockid_t which_clock, struct timespec64 *tp) in posix_get_boottime_timespec()
247 static ktime_t posix_get_boottime_ktime(const clockid_t which_clock) in posix_get_boottime_ktime()
252 static int posix_get_tai_timespec(clockid_t which_clock, struct timespec64 *tp) in posix_get_tai_timespec()
258 static ktime_t posix_get_tai_ktime(clockid_t which_clock) in posix_get_tai_ktime()
263 static int posix_get_hrtimer_res(clockid_t which_clock, struct timespec64 *tp) in posix_get_hrtimer_res()
498 static int do_timer_create(clockid_t which_clock, struct sigevent *event, in do_timer_create()
577 SYSCALL_DEFINE3(timer_create, const clockid_t, which_clock, in SYSCALL_DEFINE3() argument
592 COMPAT_SYSCALL_DEFINE3(timer_create, clockid_t, which_clock, in COMPAT_SYSCALL_DEFINE3() argument
1076 SYSCALL_DEFINE2(clock_settime, const clockid_t, which_clock, in SYSCALL_DEFINE2() argument
1091 SYSCALL_DEFINE2(clock_gettime, const clockid_t, which_clock, in SYSCALL_DEFINE2() argument
1109 int do_clock_adjtime(const clockid_t which_clock, struct __kernel_timex * ktx) in do_clock_adjtime()
1121 SYSCALL_DEFINE2(clock_adjtime, const clockid_t, which_clock, in SYSCALL_DEFINE2() argument
1138 SYSCALL_DEFINE2(clock_getres, const clockid_t, which_clock, in SYSCALL_DEFINE2() argument
1158 SYSCALL_DEFINE2(clock_settime32, clockid_t, which_clock, in SYSCALL_DEFINE2() argument
1173 SYSCALL_DEFINE2(clock_gettime32, clockid_t, which_clock, in SYSCALL_DEFINE2() argument
1191 SYSCALL_DEFINE2(clock_adjtime32, clockid_t, which_clock, in SYSCALL_DEFINE2() argument
1209 SYSCALL_DEFINE2(clock_getres_time32, clockid_t, which_clock, in SYSCALL_DEFINE2() argument
1231 static int common_nsleep(const clockid_t which_clock, int flags, in common_nsleep()
1241 static int common_nsleep_timens(const clockid_t which_clock, int flags, in common_nsleep_timens()
1254 SYSCALL_DEFINE4(clock_nanosleep, const clockid_t, which_clock, int, flags, in SYSCALL_DEFINE4() argument
1281 SYSCALL_DEFINE4(clock_nanosleep_time32, clockid_t, which_clock, int, flags, in SYSCALL_DEFINE4() argument
1407 static const struct k_clock *clockid_to_kclock(const clockid_t id) in clockid_to_kclock()
1409 clockid_t idx = id; in clockid_to_kclock()