/kernel/linux/linux-6.6/kernel/time/ |
H A D | posix-stubs.c | 95 const struct __kernel_timespec __user *, rqtp, in SYSCALL_DEFINE4() 110 if (get_timespec64(&t, rqtp)) in SYSCALL_DEFINE4() 178 struct old_timespec32 __user *, rqtp, in SYSCALL_DEFINE4() 193 if (get_old_timespec32(&t, rqtp)) in SYSCALL_DEFINE4()
|
H A D | posix-timers.c | 1346 const struct timespec64 *rqtp) in common_nsleep() 1348 ktime_t texp = timespec64_to_ktime(*rqtp); in common_nsleep() 1361 const struct timespec64 *rqtp) in common_nsleep_timens() 1363 ktime_t texp = timespec64_to_ktime(*rqtp); in common_nsleep_timens() 1374 const struct __kernel_timespec __user *, rqtp, in SYSCALL_DEFINE4() 1385 if (get_timespec64(&t, rqtp)) in SYSCALL_DEFINE4() 1402 struct old_timespec32 __user *, rqtp, in SYSCALL_DEFINE4() 1413 if (get_old_timespec32(&t, rqtp)) in SYSCALL_DEFINE4() 1345 common_nsleep(const clockid_t which_clock, int flags, const struct timespec64 *rqtp) common_nsleep() argument 1360 common_nsleep_timens(const clockid_t which_clock, int flags, const struct timespec64 *rqtp) common_nsleep_timens() argument
|
H A D | posix-cpu-timers.c | 1502 const struct timespec64 *rqtp) in do_cpu_nanosleep() 1524 it.it_value = *rqtp; in do_cpu_nanosleep() 1593 const struct timespec64 *rqtp) in posix_cpu_nsleep() 1606 error = do_cpu_nanosleep(which_clock, flags, rqtp); in posix_cpu_nsleep() 1648 const struct timespec64 *rqtp) in process_cpu_nsleep() 1650 return posix_cpu_nsleep(PROCESS_CLOCK, flags, rqtp); in process_cpu_nsleep() 1501 do_cpu_nanosleep(const clockid_t which_clock, int flags, const struct timespec64 *rqtp) do_cpu_nanosleep() argument 1592 posix_cpu_nsleep(const clockid_t which_clock, int flags, const struct timespec64 *rqtp) posix_cpu_nsleep() argument 1647 process_cpu_nsleep(const clockid_t which_clock, int flags, const struct timespec64 *rqtp) process_cpu_nsleep() argument
|
H A D | hrtimer.c | 2087 long hrtimer_nanosleep(ktime_t rqtp, const enum hrtimer_mode mode, in hrtimer_nanosleep() argument 2100 hrtimer_set_expires_range_ns(&t.timer, rqtp, slack); in hrtimer_nanosleep() 2122 SYSCALL_DEFINE2(nanosleep, struct __kernel_timespec __user *, rqtp, in SYSCALL_DEFINE2() 2127 if (get_timespec64(&tu, rqtp)) in SYSCALL_DEFINE2() 2144 SYSCALL_DEFINE2(nanosleep_time32, struct old_timespec32 __user *, rqtp, in SYSCALL_DEFINE2() 2149 if (get_old_timespec32(&tu, rqtp)) in SYSCALL_DEFINE2()
|
/kernel/linux/linux-5.10/kernel/time/ |
H A D | posix-stubs.c | 128 const struct __kernel_timespec __user *, rqtp, in SYSCALL_DEFINE4() 143 if (get_timespec64(&t, rqtp)) in SYSCALL_DEFINE4() 222 struct old_timespec32 __user *, rqtp, in SYSCALL_DEFINE4() 237 if (get_old_timespec32(&t, rqtp)) in SYSCALL_DEFINE4()
|
H A D | posix-timers.c | 1268 const struct timespec64 *rqtp) in common_nsleep() 1270 ktime_t texp = timespec64_to_ktime(*rqtp); in common_nsleep() 1278 const struct timespec64 *rqtp) in common_nsleep_timens() 1280 ktime_t texp = timespec64_to_ktime(*rqtp); in common_nsleep_timens() 1291 const struct __kernel_timespec __user *, rqtp, in SYSCALL_DEFINE4() 1302 if (get_timespec64(&t, rqtp)) in SYSCALL_DEFINE4() 1319 struct old_timespec32 __user *, rqtp, in SYSCALL_DEFINE4() 1330 if (get_old_timespec32(&t, rqtp)) in SYSCALL_DEFINE4() 1267 common_nsleep(const clockid_t which_clock, int flags, const struct timespec64 *rqtp) common_nsleep() argument 1277 common_nsleep_timens(const clockid_t which_clock, int flags, const struct timespec64 *rqtp) common_nsleep_timens() argument
|
H A D | posix-cpu-timers.c | 1439 const struct timespec64 *rqtp) in do_cpu_nanosleep() 1461 it.it_value = *rqtp; in do_cpu_nanosleep() 1530 const struct timespec64 *rqtp) in posix_cpu_nsleep() 1543 error = do_cpu_nanosleep(which_clock, flags, rqtp); in posix_cpu_nsleep() 1585 const struct timespec64 *rqtp) in process_cpu_nsleep() 1587 return posix_cpu_nsleep(PROCESS_CLOCK, flags, rqtp); in process_cpu_nsleep() 1438 do_cpu_nanosleep(const clockid_t which_clock, int flags, const struct timespec64 *rqtp) do_cpu_nanosleep() argument 1529 posix_cpu_nsleep(const clockid_t which_clock, int flags, const struct timespec64 *rqtp) posix_cpu_nsleep() argument 1584 process_cpu_nsleep(const clockid_t which_clock, int flags, const struct timespec64 *rqtp) process_cpu_nsleep() argument
|
H A D | hrtimer.c | 2008 long hrtimer_nanosleep(ktime_t rqtp, const enum hrtimer_mode mode, in hrtimer_nanosleep() argument 2021 hrtimer_set_expires_range_ns(&t.timer, rqtp, slack); in hrtimer_nanosleep() 2043 SYSCALL_DEFINE2(nanosleep, struct __kernel_timespec __user *, rqtp, in SYSCALL_DEFINE2() 2048 if (get_timespec64(&tu, rqtp)) in SYSCALL_DEFINE2() 2065 SYSCALL_DEFINE2(nanosleep_time32, struct old_timespec32 __user *, rqtp, in SYSCALL_DEFINE2() 2070 if (get_old_timespec32(&tu, rqtp)) in SYSCALL_DEFINE2()
|
/kernel/linux/linux-5.10/tools/perf/examples/bpf/ |
H A D | 5sec.c | 20 int probe(hrtimer_nanosleep, rqtp->tv_sec rqtp->tv_nsec)(void *ctx, int err, long sec, long nsec) 22 I.e. add where it comes from (rqtp->tv_nsec) and where it will be 46 int probe(hrtimer_nanosleep, rqtp)(void *ctx, int err, long long sec) in probe()
|
/kernel/liteos_m/kal/posix/src/ |
H A 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/syscall/ |
H A 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()
|
H A D | los_syscall.h | 189 extern int SysNanoSleep(const struct timespec *rqtp, struct timespec *rmtp);
|
/kernel/liteos_a/compat/posix/src/ |
H A 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/ |
H A D | hrtimer.h | 518 extern long hrtimer_nanosleep(ktime_t rqtp, const enum hrtimer_mode mode,
|
H A D | syscalls.h | 618 asmlinkage long sys_nanosleep(struct __kernel_timespec __user *rqtp, 620 asmlinkage long sys_nanosleep_time32(struct old_timespec32 __user *rqtp, 658 const struct __kernel_timespec __user *rqtp, 672 struct old_timespec32 __user *rqtp,
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | hrtimer.h | 514 extern long hrtimer_nanosleep(ktime_t rqtp, const enum hrtimer_mode mode,
|
H A D | syscalls.h | 553 asmlinkage long sys_nanosleep(struct __kernel_timespec __user *rqtp, 555 asmlinkage long sys_nanosleep_time32(struct old_timespec32 __user *rqtp, 585 const struct __kernel_timespec __user *rqtp, 599 struct old_timespec32 __user *rqtp,
|