Lines Matching refs:timespec
25 static struct timespec rt_clock_base;
33 int z_impl___posix_clock_get_base(clockid_t clock_id, struct timespec *base) in z_impl___posix_clock_get_base()
56 int z_vrfy___posix_clock_get_base(clockid_t clock_id, struct timespec *ts) in z_vrfy___posix_clock_get_base()
64 int clock_gettime(clockid_t clock_id, struct timespec *ts) in clock_gettime()
66 struct timespec base; in clock_gettime()
101 int clock_getres(clockid_t clock_id, struct timespec *res) in clock_getres()
114 *res = (struct timespec){ in clock_getres()
131 int clock_settime(clockid_t clock_id, const struct timespec *tp) in clock_settime()
133 struct timespec base; in clock_settime()
195 static int __z_clock_nanosleep(clockid_t clock_id, int flags, const struct timespec *rqtp, in __z_clock_nanosleep()
196 struct timespec *rmtp) in __z_clock_nanosleep()
256 int nanosleep(const struct timespec *rqtp, struct timespec *rmtp) in nanosleep()
261 int clock_nanosleep(clockid_t clock_id, int flags, const struct timespec *rqtp, in clock_nanosleep()
262 struct timespec *rmtp) in clock_nanosleep()
274 struct timespec ts; in gettimeofday()
305 rt_clock_base = (struct timespec){0}; in reset_clock_base()