Home
last modified time | relevance | path

Searched refs:rqtp (Results 1 – 6 of 6) sorted by relevance

/DragonOS-0.1.2/kernel/src/time/
Dsleep.c27 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()
Dsleep.h15 int nanosleep(const struct timespec *rqtp, struct timespec *rmtp);
/DragonOS-0.1.2/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()
Dtime.h38 int nanosleep(const struct timespec *rqtp, struct timespec *rmtp);
/DragonOS-0.1.2/kernel/src/common/
Dtime.h38 extern int nanosleep(const struct timespec *rqtp, struct timespec *rmtp);
/DragonOS-0.1.2/kernel/src/syscall/
Dsyscall.c546 const struct timespec *rqtp = (const struct timespec *)regs->r8; in sys_nanosleep() local
549 return nanosleep(rqtp, rmtp); in sys_nanosleep()