Home
last modified time | relevance | path

Searched refs:sleep_time (Results 1 – 4 of 4) sorted by relevance

/trusty/user/base/lib/libc-trusty/
Dtime.c24 int trusty_nanosleep(clockid_t clock_id, uint32_t flags, uint64_t sleep_time) { in trusty_nanosleep() argument
28 return _trusty_nanosleep(clock_id, flags, sleep_time); in trusty_nanosleep()
31 int trusty_nanodelay(clockid_t clock_id, uint32_t flags, uint64_t sleep_time) { in trusty_nanodelay() argument
42 target = time + sleep_time; in trusty_nanodelay()
71 uint64_t sleep_time; in clock_nanosleep() local
77 &sleep_time)) { in clock_nanosleep()
81 if (__builtin_add_overflow(sleep_time, req->tv_nsec, &sleep_time)) { in clock_nanosleep()
86 int ret = trusty_nanosleep(clock_id, flags, sleep_time); in clock_nanosleep()
/trusty/user/base/lib/libc-trusty/include/trusty/
Dtime.h31 int trusty_nanosleep(clockid_t clock_id, uint32_t flags, uint64_t sleep_time);
40 int trusty_nanodelay(clockid_t clock_id, uint32_t flags, uint64_t sleep_time);
/trusty/kernel/lib/trusty/
Dsyscall.c231 uint64_t sleep_time = sleep_time_l + ((uint64_t)sleep_time_h << 32); in sys_nanosleep() local
232 thread_sleep_ns(sleep_time); in sys_nanosleep()
237 long sys_nanosleep(uint32_t clock_id, uint32_t flags, uint64_t sleep_time) { in sys_nanosleep() argument
238 thread_sleep_ns(sleep_time); in sys_nanosleep()
/trusty/kernel/lib/trusty/include/
Dsyscall_table.h38 DEF_SYSCALL(0x6, nanosleep, long, 3, uint32_t clock_id, uint32_t flags, uint64_t sleep_time)