| /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 | 2267 switch(restart->nanosleep.type) { in nanosleep_copyout() 2270 if (put_old_timespec32(ts, restart->nanosleep.compat_rmtp)) in nanosleep_copyout() 2275 if (put_timespec64(ts, restart->nanosleep.rmtp)) in nanosleep_copyout() 2306 if (restart->nanosleep.type != TT_NONE) { in do_nanosleep() 2324 hrtimer_setup_sleeper_on_stack(&t, restart->nanosleep.clockid, HRTIMER_MODE_ABS); in hrtimer_nanosleep_restart() 2325 hrtimer_set_expires(&t.timer, restart->nanosleep.expires); in hrtimer_nanosleep_restart() 2350 restart->nanosleep.clockid = t.timer.base->clockid; in hrtimer_nanosleep() 2351 restart->nanosleep.expires = hrtimer_get_expires(&t.timer); in hrtimer_nanosleep() 2360 SYSCALL_DEFINE2(nanosleep, struct __kernel_timespec __user *, rqtp, in SYSCALL_DEFINE2() argument 2372 current->restart_block.nanosleep.type = rmtp ? TT_NATIVE : TT_NONE; in SYSCALL_DEFINE2() [all …]
|
| H A D | alarmtimer.c | 726 if (restart->nanosleep.type != TT_NONE) { in alarmtimer_do_nsleep() 758 enum alarmtimer_type type = restart->nanosleep.clockid; in alarm_timer_nsleep_restart() 759 ktime_t exp = restart->nanosleep.expires; in alarm_timer_nsleep_restart() 813 restart->nanosleep.clockid = type; in alarm_timer_nsleep() 814 restart->nanosleep.expires = exp; in alarm_timer_nsleep()
|
| /linux/tools/perf/tests/shell/ |
| H A D | trace_record_replay.sh | 16 if ! perf trace -i ${file} 2>&1 | grep nanosleep; then
|
| H A D | test_intel_pt.sh | 76 nanosleep(&tm, NULL);
|
| /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/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/include/linux/ |
| H A D | posix-timers.h | 65 bool nanosleep; member
|
| /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 | 233 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); 3052 /* The nanosleep jump target. */ in TEST() 3096 /* Start nanosleep to be interrupted. */ in TEST() 3099 EXPECT_EQ(0, nanosleep(&timeout, NULL)) { in TEST() 3100 TH_LOG("Call to nanosleep() failed (errno %d: %s)", in TEST() 3125 /* Wait for nanosleep() to start. */ in TEST() 3144 /* Interrupt nanosleep with SIGSTOP (which we'll need to handle). */ in TEST() 3159 /* Restart nanosleep with SIGCONT, which triggers restart_syscall. */ in TEST() 4255 nanosleep( in TEST() [all...] |
| /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/testing/selftests/cgroup/ |
| H A D | test_cpu.c | 157 ret = nanosleep(&ts_remaining, NULL); in hog_cpus_timed()
|