Home
last modified time | relevance | path

Searched refs:rmtp (Results 1 – 7 of 7) sorted by relevance

/DragonOS-0.1.5/kernel/src/time/
Dsleep.c27 int nanosleep(const struct timespec *rqtp, struct timespec *rmtp) in nanosleep() argument
41 if (rmtp != NULL) in nanosleep()
43 rmtp->tv_nsec = 0; in nanosleep()
44 rmtp->tv_sec = 0; in nanosleep()
63 if (rmtp != NULL) in nanosleep()
65 rmtp->tv_nsec = 0; in nanosleep()
66 rmtp->tv_sec = 0; in nanosleep()
Dsleep.h15 int nanosleep(const struct timespec *rqtp, struct timespec *rmtp);
/DragonOS-0.1.5/docs/userland/libc/apis/api-list/
Dtime.md24 ``int nanosleep(const struct timespec *rdtp,struct timespec *rmtp)``
30 rmtp : 返回剩余时间
/DragonOS-0.1.5/user/libs/libc/src/
Dtime.c13 int nanosleep(const struct timespec *rqtp, struct timespec *rmtp) in nanosleep() argument
15 return syscall_invoke(SYS_NANOSLEEP, (uint64_t)rqtp, (uint64_t)rmtp, 0, 0, 0, 0, 0, 0); in nanosleep()
/DragonOS-0.1.5/user/libs/libc/src/include/export/
Dtime.h42 int nanosleep(const struct timespec *rqtp, struct timespec *rmtp);
/DragonOS-0.1.5/kernel/src/common/
Dtime.h38 extern int nanosleep(const struct timespec *rqtp, struct timespec *rmtp);
/DragonOS-0.1.5/kernel/src/syscall/
Dsyscall.c391 struct timespec *rmtp = (struct timespec *)regs->r9; in sys_nanosleep() local
393 return nanosleep(rqtp, rmtp); in sys_nanosleep()