| /linux/kernel/time/ |
| H A D | posix-stubs.c | 117 current->restart_block.nanosleep.type = rmtp ? TT_NATIVE : TT_NONE; in SYSCALL_DEFINE4() 118 current->restart_block.nanosleep.rmtp = rmtp; in SYSCALL_DEFINE4() 200 current->restart_block.nanosleep.type = rmtp ? TT_COMPAT : TT_NONE; in SYSCALL_DEFINE4() 201 current->restart_block.nanosleep.compat_rmtp = rmtp; in SYSCALL_DEFINE4()
|
| H A D | hrtimer.c | 2410 switch(restart->nanosleep.type) { in nanosleep_copyout() 2413 if (put_old_timespec32(ts, restart->nanosleep.compat_rmtp)) in nanosleep_copyout() 2418 if (put_timespec64(ts, restart->nanosleep.rmtp)) in nanosleep_copyout() 2449 if (restart->nanosleep.type != TT_NONE) { in do_nanosleep() 2467 hrtimer_setup_sleeper_on_stack(&t, restart->nanosleep.clockid, HRTIMER_MODE_ABS); in hrtimer_nanosleep_restart() 2468 hrtimer_set_expires(&t.timer, restart->nanosleep.expires); in hrtimer_nanosleep_restart() 2493 restart->nanosleep.clockid = t.timer.base->clockid; in hrtimer_nanosleep() 2494 restart->nanosleep.expires = hrtimer_get_expires(&t.timer); in hrtimer_nanosleep() 2503 SYSCALL_DEFINE2(nanosleep, struct __kernel_timespec __user *, rqtp, in SYSCALL_DEFINE2() argument 2515 current->restart_block.nanosleep.type = rmtp ? TT_NATIVE : TT_NONE; in SYSCALL_DEFINE2() [all …]
|
| H A D | posix-cpu-timers.c | 694 if (unlikely(ctmr->nanosleep)) { in cpu_timer_fire() 1561 timer.it.cpu.nanosleep = true; in do_cpu_nanosleep() 1627 restart->nanosleep.expires = ns_to_ktime(expires); in do_cpu_nanosleep() 1628 if (restart->nanosleep.type != TT_NONE) in do_cpu_nanosleep() 1658 restart_block->nanosleep.clockid = which_clock; in posix_cpu_nsleep() 1666 clockid_t which_clock = restart_block->nanosleep.clockid; in posix_cpu_nsleep_restart() 1669 t = ktime_to_timespec64(restart_block->nanosleep.expires); in posix_cpu_nsleep_restart()
|
| /linux/tools/perf/tests/shell/ |
| H A D | trace_record_replay.sh | 32 perf trace -i "${file}" 2>&1 | grep -q nanosleep 44 echo "Failed: cannot find *nanosleep syscall"
|
| H A D | test_intel_pt.sh | |
| /linux/tools/testing/selftests/futex/functional/ |
| H A D | futex_numa.c | 124 nanosleep(&ts, NULL); in threadfn() 135 nanosleep(&ts, NULL); in threadfn()
|
| /linux/tools/testing/selftests/timers/ |
| H A D | .gitignore | 9 nanosleep
|
| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | lru_bug.c | 31 int nanosleep(void *ctx) in nanosleep() function
|
| /linux/tools/testing/selftests/powerpc/pmu/ebb/ |
| H A D | lost_exception_test.c | 70 nanosleep(&ts, NULL); in test_body()
|
| /linux/Documentation/timers/ |
| H A D | hrtimers.rst | 59 utilize nanosleep, posix-timers and itimer interfaces. Also, in-kernel 154 - nanosleep 158 The conversion of nanosleep and posix-timers enabled the unification of 159 nanosleep and clock_nanosleep.
|
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | get_stack_raw_tp.c | 136 nanosleep(&tv, NULL); in test_get_stack_raw_tp()
|
| /linux/tools/testing/selftests/kvm/x86/ |
| H A D | nx_huge_pages_test.c | 102 nanosleep(&ts, NULL); in wait_for_reclaim()
|
| /linux/tools/testing/selftests/net/mptcp/ |
| H A D | mptcp_inq.c | 239 nanosleep(&req, NULL); in wait_for_ack() 379 nanosleep(&req, NULL); in process_one_client()
|
| /linux/tools/include/nolibc/ |
| H A D | time.h | 117 int nanosleep(const struct timespec *rqtp, struct timespec *rmtp) in sys_clock_nanosleep() 139 int nanosleep(const struct timespec *rqtp, struct timespec *rmtp) nanosleep() function
|
| /linux/tools/sched_ext/ |
| H A D | scx_flatcg.c | 229 nanosleep(&intv_ts, NULL); in main()
|
| /linux/tools/perf/arch/powerpc/entry/syscalls/ |
| H A D | syscall.tbl | 211 162 32 nanosleep sys_nanosleep_time32 212 162 64 nanosleep sys_nanosleep 213 162 spu nanosleep sys_nanosleep
|
| /linux/scripts/ |
| H A D | syscall.tbl | 129 101 time32 nanosleep sys_nanosleep_time32 130 101 64 nanosleep sys_nanosleep
|
| /linux/tools/scripts/ |
| H A D | syscall.tbl | 129 101 time32 nanosleep sys_nanosleep_time32 130 101 64 nanosleep sys_nanosleep
|
| /linux/tools/perf/arch/sparc/entry/syscalls/ |
| H A D | syscall.tbl | 299 249 32 nanosleep sys_nanosleep_time32 300 249 64 nanosleep sys_nanosleep
|
| /linux/tools/perf/bench/ |
| H A D | epoll-ctl.c | 198 nanosleep(&ts, NULL); in workerfn()
|
| /linux/tools/testing/selftests/net/netfilter/ |
| H A D | nf_queue.c | 272 nanosleep(&ts, NULL); in sleep_ms()
|
| /linux/tools/testing/selftests/seccomp/ |
| H A D | seccomp_bpf.c | 2993 nanosleep(&delay, NULL); in TEST_F() 3018 nanosleep(&delay, NULL); in TEST_F() 3099 EXPECT_EQ(0, nanosleep(&timeout, NULL)) { in TEST() 4255 nanosleep(&delay, NULL); in TEST() 4282 nanosleep(&delay, NULL); in TEST() 4597 nanosleep(&delay, NULL); in TEST() 4699 nanosleep(&delay, NULL); in TEST() 4773 nanosleep(&delay, NULL); in TEST() 4822 nanosleep(&delay, NULL); in TEST()
|
| /linux/tools/perf/tests/ |
| H A D | switch-tracking.c | 56 err = nanosleep(&ts, NULL); in spin_sleep()
|
| /linux/tools/testing/selftests/rtc/ |
| H A D | rtctest.c | 86 while (nanosleep(&req, &rem) != 0) { in nanosleep_with_retries()
|
| /linux/tools/perf/arch/mips/entry/syscalls/ |
| H A D | syscall_n64.tbl | 44 34 n64 nanosleep sys_nanosleep
|