Lines Matching defs: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)
137 static ktime_t posix_get_realtime_ktime(clockid_t which_clock)
142 static int posix_clock_realtime_set(const clockid_t which_clock,
148 static int posix_clock_realtime_adj(const clockid_t which_clock,
154 static int posix_get_monotonic_timespec(clockid_t which_clock, struct timespec64 *tp)
161 static ktime_t posix_get_monotonic_ktime(clockid_t which_clock)
166 static int posix_get_monotonic_raw(clockid_t which_clock, struct timespec64 *tp)
173 static int posix_get_realtime_coarse(clockid_t which_clock, struct timespec64 *tp)
179 static int posix_get_monotonic_coarse(clockid_t which_clock,
187 static int posix_get_coarse_res(const clockid_t which_clock, struct timespec64 *tp)
193 static int posix_get_boottime_timespec(const clockid_t which_clock, struct timespec64 *tp)
200 static ktime_t posix_get_boottime_ktime(const clockid_t which_clock)
205 static int posix_get_tai_timespec(clockid_t which_clock, struct timespec64 *tp)
211 static ktime_t posix_get_tai_ktime(clockid_t which_clock)
216 static int posix_get_hrtimer_res(clockid_t which_clock, struct timespec64 *tp)
389 static int do_timer_create(clockid_t which_clock, struct sigevent *event,
480 SYSCALL_DEFINE3(timer_create, const clockid_t, which_clock,
495 COMPAT_SYSCALL_DEFINE3(timer_create, clockid_t, which_clock,
1119 SYSCALL_DEFINE2(clock_settime, const clockid_t, which_clock,
1138 SYSCALL_DEFINE2(clock_gettime, const clockid_t, which_clock,
1156 int do_clock_adjtime(const clockid_t which_clock, struct __kernel_timex * ktx)
1168 SYSCALL_DEFINE2(clock_adjtime, const clockid_t, which_clock,
1258 SYSCALL_DEFINE2(clock_getres, const clockid_t, which_clock,
1278 SYSCALL_DEFINE2(clock_settime32, clockid_t, which_clock,
1293 SYSCALL_DEFINE2(clock_gettime32, clockid_t, which_clock,
1311 SYSCALL_DEFINE2(clock_adjtime32, clockid_t, which_clock,
1329 SYSCALL_DEFINE2(clock_getres_time32, clockid_t, which_clock,
1351 static int common_nsleep(const clockid_t which_clock, int flags,
1366 static int common_nsleep_timens(const clockid_t which_clock, int flags,
1379 SYSCALL_DEFINE4(clock_nanosleep, const clockid_t, which_clock, int, flags,
1407 SYSCALL_DEFINE4(clock_nanosleep_time32, clockid_t, which_clock, int, flags,
1534 static const struct k_clock *clockid_to_kclock(const clockid_t id)
1536 clockid_t idx = id;