Searched refs:rmtp (Results 1 – 7 of 7) sorted by relevance
/DragonOS-0.1.2/kernel/src/time/ |
D | sleep.c | 27 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()
|
D | sleep.h | 15 int nanosleep(const struct timespec *rqtp, struct timespec *rmtp);
|
/DragonOS-0.1.2/docs/userland/libc/apis/api-list/ |
D | time.md | 24 ``int nanosleep(const struct timespec *rdtp,struct timespec *rmtp)`` 30 rmtp : 返回剩余时间
|
/DragonOS-0.1.2/user/libs/libc/src/ |
D | time.c | 13 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()
|
D | time.h | 38 int nanosleep(const struct timespec *rqtp, struct timespec *rmtp);
|
/DragonOS-0.1.2/kernel/src/common/ |
D | time.h | 38 extern int nanosleep(const struct timespec *rqtp, struct timespec *rmtp);
|
/DragonOS-0.1.2/kernel/src/syscall/ |
D | syscall.c | 547 struct timespec *rmtp = (struct timespec *)regs->r9; in sys_nanosleep() local 549 return nanosleep(rqtp, rmtp); in sys_nanosleep()
|