Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/kernel/time/
Dposix-stubs.c129 struct __kernel_timespec __user *, rmtp) in SYSCALL_DEFINE4() argument
148 rmtp = NULL; in SYSCALL_DEFINE4()
149 current->restart_block.nanosleep.type = rmtp ? TT_NATIVE : TT_NONE; in SYSCALL_DEFINE4()
150 current->restart_block.nanosleep.rmtp = rmtp; in SYSCALL_DEFINE4()
222 struct old_timespec32 __user *, rmtp) in SYSCALL_DEFINE4() argument
241 rmtp = NULL; in SYSCALL_DEFINE4()
242 current->restart_block.nanosleep.type = rmtp ? TT_COMPAT : TT_NONE; in SYSCALL_DEFINE4()
243 current->restart_block.nanosleep.compat_rmtp = rmtp; in SYSCALL_DEFINE4()
Dposix-timers.c1247 struct __kernel_timespec __user *, rmtp) in SYSCALL_DEFINE4() argument
1263 rmtp = NULL; in SYSCALL_DEFINE4()
1264 current->restart_block.nanosleep.type = rmtp ? TT_NATIVE : TT_NONE; in SYSCALL_DEFINE4()
1265 current->restart_block.nanosleep.rmtp = rmtp; in SYSCALL_DEFINE4()
1274 struct old_timespec32 __user *, rmtp) in SYSCALL_DEFINE4() argument
1290 rmtp = NULL; in SYSCALL_DEFINE4()
1291 current->restart_block.nanosleep.type = rmtp ? TT_COMPAT : TT_NONE; in SYSCALL_DEFINE4()
1292 current->restart_block.nanosleep.compat_rmtp = rmtp; in SYSCALL_DEFINE4()
Dhrtimer.c1950 if (put_timespec64(ts, restart->nanosleep.rmtp)) in nanosleep_copyout()
2043 struct __kernel_timespec __user *, rmtp) in SYSCALL_DEFINE2() argument
2053 current->restart_block.nanosleep.type = rmtp ? TT_NATIVE : TT_NONE; in SYSCALL_DEFINE2()
2054 current->restart_block.nanosleep.rmtp = rmtp; in SYSCALL_DEFINE2()
2064 struct old_timespec32 __user *, rmtp) in SYSCALL_DEFINE2() argument
2074 current->restart_block.nanosleep.type = rmtp ? TT_COMPAT : TT_NONE; in SYSCALL_DEFINE2()
2075 current->restart_block.nanosleep.compat_rmtp = rmtp; in SYSCALL_DEFINE2()
/kernel/liteos_a/syscall/
Dtime_syscall.c355 int SysNanoSleep(const struct timespec *rqtp, struct timespec *rmtp) in SysNanoSleep() argument
366 if (rmtp && LOS_ArchCopyFromUser(&srmtp, rmtp, sizeof(struct timespec))) { in SysNanoSleep()
371 ret = nanosleep(&srqtp, rmtp ? &srmtp : NULL); in SysNanoSleep()
376 if (rmtp && LOS_ArchCopyToUser(rmtp, &srmtp, sizeof(struct timespec))) { in SysNanoSleep()
Dlos_syscall.h183 extern int SysNanoSleep(const struct timespec *rqtp, struct timespec *rmtp);
/kernel/linux/linux-5.10/include/linux/
Drestart_block.h42 struct __kernel_timespec __user *rmtp; member
Dsyscalls.h618 struct __kernel_timespec __user *rmtp);
620 struct old_timespec32 __user *rmtp);
658 struct __kernel_timespec __user *rmtp);
672 struct old_timespec32 __user *rmtp);
/kernel/liteos_m/kal/posix/src/
Dtime.c97 int nanosleep(const struct timespec *rqtp, struct timespec *rmtp) in nanosleep() argument
121 if (rmtp) { in nanosleep()
122 rmtp->tv_sec = rmtp->tv_nsec = 0; in nanosleep()
/kernel/liteos_a/compat/posix/src/
Dtime.c1038 int nanosleep(const struct timespec *rqtp, struct timespec *rmtp) in nanosleep() argument
1043 (VOID)rmtp; in nanosleep()