/kernel/linux/linux-5.10/kernel/time/ |
D | posix-stubs.c | 128 const struct __kernel_timespec __user *, rqtp, in SYSCALL_DEFINE4() argument 143 if (get_timespec64(&t, rqtp)) in SYSCALL_DEFINE4() 222 struct old_timespec32 __user *, rqtp, in SYSCALL_DEFINE4() argument 237 if (get_old_timespec32(&t, rqtp)) in SYSCALL_DEFINE4()
|
D | posix-timers.c | 1236 const struct timespec64 *rqtp) in common_nsleep() argument 1238 ktime_t texp = timespec64_to_ktime(*rqtp); in common_nsleep() 1246 const struct timespec64 *rqtp) in common_nsleep_timens() argument 1248 ktime_t texp = timespec64_to_ktime(*rqtp); in common_nsleep_timens() 1259 const struct __kernel_timespec __user *, rqtp, in SYSCALL_DEFINE4() argument 1270 if (get_timespec64(&t, rqtp)) in SYSCALL_DEFINE4() 1287 struct old_timespec32 __user *, rqtp, in SYSCALL_DEFINE4() argument 1298 if (get_old_timespec32(&t, rqtp)) in SYSCALL_DEFINE4()
|
D | posix-cpu-timers.c | 1439 const struct timespec64 *rqtp) in do_cpu_nanosleep() argument 1461 it.it_value = *rqtp; in do_cpu_nanosleep() 1530 const struct timespec64 *rqtp) in posix_cpu_nsleep() argument 1543 error = do_cpu_nanosleep(which_clock, flags, rqtp); in posix_cpu_nsleep() 1585 const struct timespec64 *rqtp) in process_cpu_nsleep() argument 1587 return posix_cpu_nsleep(PROCESS_CLOCK, flags, rqtp); in process_cpu_nsleep()
|
D | hrtimer.c | 2007 long hrtimer_nanosleep(ktime_t rqtp, const enum hrtimer_mode mode, in hrtimer_nanosleep() argument 2020 hrtimer_set_expires_range_ns(&t.timer, rqtp, slack); in hrtimer_nanosleep() 2042 SYSCALL_DEFINE2(nanosleep, struct __kernel_timespec __user *, rqtp, in SYSCALL_DEFINE2() argument 2047 if (get_timespec64(&tu, rqtp)) in SYSCALL_DEFINE2() 2064 SYSCALL_DEFINE2(nanosleep_time32, struct old_timespec32 __user *, rqtp, in SYSCALL_DEFINE2() argument 2069 if (get_old_timespec32(&tu, rqtp)) in SYSCALL_DEFINE2()
|
/kernel/linux/linux-5.10/tools/perf/examples/bpf/ |
D | 5sec.c | 46 int probe(hrtimer_nanosleep, rqtp)(void *ctx, int err, long long sec) in probe() argument
|
/kernel/liteos_a/syscall/ |
D | time_syscall.c | 355 int SysNanoSleep(const struct timespec *rqtp, struct timespec *rmtp) in SysNanoSleep() argument 361 if (!rqtp || LOS_ArchCopyFromUser(&srqtp, rqtp, sizeof(struct timespec))) { in SysNanoSleep()
|
D | los_syscall.h | 189 extern int SysNanoSleep(const struct timespec *rqtp, struct timespec *rmtp);
|
/kernel/liteos_m/kal/posix/src/ |
D | time.c | 94 int nanosleep(const struct timespec *rqtp, struct timespec *rmtp) in nanosleep() argument 101 if (!ValidTimeSpec(rqtp)) { in nanosleep() 106 nseconds = (UINT64)rqtp->tv_sec * OS_SYS_NS_PER_SECOND + rqtp->tv_nsec; in nanosleep()
|
/kernel/liteos_a/compat/posix/src/ |
D | time.c | 1047 int nanosleep(const struct timespec *rqtp, struct timespec *rmtp) in nanosleep() argument 1055 if (!ValidTimeSpec(rqtp)) { in nanosleep() 1060 nanoseconds = (UINT64)rqtp->tv_sec * OS_SYS_NS_PER_SECOND + rqtp->tv_nsec; in nanosleep()
|
/kernel/linux/linux-5.10/include/linux/ |
D | hrtimer.h | 516 extern long hrtimer_nanosleep(ktime_t rqtp, const enum hrtimer_mode mode,
|
D | syscalls.h | 617 asmlinkage long sys_nanosleep(struct __kernel_timespec __user *rqtp, 619 asmlinkage long sys_nanosleep_time32(struct old_timespec32 __user *rqtp, 657 const struct __kernel_timespec __user *rqtp, 671 struct old_timespec32 __user *rqtp,
|