/Linux-v5.10/kernel/time/ |
D | posix-stubs.c | 149 current->restart_block.nanosleep.type = rmtp ? TT_NATIVE : TT_NONE; in SYSCALL_DEFINE4() 150 current->restart_block.nanosleep.rmtp = rmtp; 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()
|
D | hrtimer.c | 1852 switch(restart->nanosleep.type) { in nanosleep_copyout() 1855 if (put_old_timespec32(ts, restart->nanosleep.compat_rmtp)) in nanosleep_copyout() 1860 if (put_timespec64(ts, restart->nanosleep.rmtp)) in nanosleep_copyout() 1891 if (restart->nanosleep.type != TT_NONE) { in do_nanosleep() 1909 hrtimer_init_sleeper_on_stack(&t, restart->nanosleep.clockid, in hrtimer_nanosleep_restart() 1911 hrtimer_set_expires_tv64(&t.timer, restart->nanosleep.expires); in hrtimer_nanosleep_restart() 1943 restart->nanosleep.clockid = t.timer.base->clockid; in hrtimer_nanosleep() 1944 restart->nanosleep.expires = hrtimer_get_expires_tv64(&t.timer); in hrtimer_nanosleep() 1952 SYSCALL_DEFINE2(nanosleep, struct __kernel_timespec __user *, rqtp, in SYSCALL_DEFINE2() argument 1963 current->restart_block.nanosleep.type = rmtp ? TT_NATIVE : TT_NONE; in SYSCALL_DEFINE2() [all …]
|
D | alarmtimer.c | 763 if (restart->nanosleep.type != TT_NONE) { in alarmtimer_do_nsleep() 795 enum alarmtimer_type type = restart->nanosleep.clockid; in alarm_timer_nsleep_restart() 796 ktime_t exp = restart->nanosleep.expires; in alarm_timer_nsleep_restart() 852 restart->nanosleep.clockid = type; in alarm_timer_nsleep() 853 restart->nanosleep.expires = exp; in alarm_timer_nsleep()
|
D | posix-cpu-timers.c | 1452 restart->nanosleep.expires = expires; in do_cpu_nanosleep() 1453 if (restart->nanosleep.type != TT_NONE) in do_cpu_nanosleep() 1484 restart_block->nanosleep.clockid = which_clock; in posix_cpu_nsleep() 1491 clockid_t which_clock = restart_block->nanosleep.clockid; in posix_cpu_nsleep_restart() 1494 t = ns_to_timespec64(restart_block->nanosleep.expires); in posix_cpu_nsleep_restart()
|
D | posix-timers.c | 1264 current->restart_block.nanosleep.type = rmtp ? TT_NATIVE : TT_NONE; in SYSCALL_DEFINE4() 1265 current->restart_block.nanosleep.rmtp = rmtp; 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()
|
/Linux-v5.10/tools/testing/selftests/timers/ |
D | .gitignore | 9 nanosleep
|
D | Makefile | 7 TEST_GEN_PROGS = posix_timers nanosleep nsleep-lat set-timer-lat mqueue-lat \
|
/Linux-v5.10/include/linux/ |
D | restart_block.h | 46 } nanosleep; member
|
/Linux-v5.10/Documentation/timers/ |
D | hrtimers.rst | 59 utilize nanosleep, posix-timers and itimer interfaces. Also, in-kernel 159 - nanosleep 163 The conversion of nanosleep and posix-timers enabled the unification of 164 nanosleep and clock_nanosleep.
|
/Linux-v5.10/tools/testing/selftests/bpf/prog_tests/ |
D | get_stack_raw_tp.c | 134 nanosleep(&tv, NULL); in test_get_stack_raw_tp()
|
/Linux-v5.10/arch/powerpc/kernel/syscalls/ |
D | syscall.tbl | 215 162 32 nanosleep sys_nanosleep_time32 216 162 64 nanosleep sys_nanosleep 217 162 spu nanosleep sys_nanosleep
|
/Linux-v5.10/tools/perf/arch/powerpc/entry/syscalls/ |
D | syscall.tbl | 211 162 32 nanosleep sys_nanosleep_time32 212 162 64 nanosleep sys_nanosleep 213 162 spu nanosleep sys_nanosleep
|
/Linux-v5.10/tools/testing/selftests/netfilter/ |
D | nf-queue.c | 267 nanosleep(&ts, NULL); in sleep_ms()
|
/Linux-v5.10/arch/parisc/kernel/syscalls/ |
D | syscall.tbl | 180 162 32 nanosleep sys_nanosleep_time32 181 162 64 nanosleep sys_nanosleep
|
/Linux-v5.10/tools/perf/bench/ |
D | epoll-ctl.c | 198 nanosleep(&ts, NULL); in workerfn()
|
D | epoll-wait.c | 398 nanosleep(&ts, NULL); in writerfn()
|
/Linux-v5.10/arch/sparc/kernel/syscalls/ |
D | syscall.tbl | 299 249 32 nanosleep sys_nanosleep_time32 300 249 64 nanosleep sys_nanosleep
|
/Linux-v5.10/tools/perf/tests/ |
D | switch-tracking.c | 53 err = nanosleep(&ts, NULL); in spin_sleep()
|
/Linux-v5.10/arch/ia64/kernel/syscalls/ |
D | syscall.tbl | 156 144 common nanosleep sys_nanosleep
|
/Linux-v5.10/arch/mips/kernel/syscalls/ |
D | syscall_n32.tbl | 44 34 n32 nanosleep sys_nanosleep_time32
|
D | syscall_n64.tbl | 44 34 n64 nanosleep sys_nanosleep
|
D | syscall_o32.tbl | 180 166 o32 nanosleep sys_nanosleep_time32
|
/Linux-v5.10/arch/xtensa/kernel/syscalls/ |
D | syscall.tbl | 213 195 common nanosleep sys_nanosleep_time32
|
/Linux-v5.10/arch/x86/entry/syscalls/ |
D | syscall_64.tbl | 46 35 common nanosleep sys_nanosleep
|
/Linux-v5.10/tools/perf/arch/x86/entry/syscalls/ |
D | syscall_64.tbl | 46 35 common nanosleep sys_nanosleep
|