Searched refs:rqtp (Results 1 – 6 of 6) 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 30 if (rqtp->tv_nsec < 0 || rqtp->tv_nsec >= 1000000000) in nanosleep() 35 if (rqtp->tv_nsec < 500000) in nanosleep() 37 uint64_t expired_tsc = rdtsc() + (((uint64_t)rqtp->tv_nsec) * Cpu_tsc_freq) / 1000000000; in nanosleep() 53 timer_func_init_us(sleep_task, &nanosleep_handler, (void *)current_pcb, rqtp->tv_nsec / 1000); in nanosleep()
|
D | sleep.h | 15 int nanosleep(const struct timespec *rqtp, struct timespec *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 | 546 const struct timespec *rqtp = (const struct timespec *)regs->r8; in sys_nanosleep() local 549 return nanosleep(rqtp, rmtp); in sys_nanosleep()
|