Home
last modified time | relevance | path

Searched refs:nanosleep (Results 1 – 25 of 38) sorted by relevance

12

/linux/kernel/time/
H A Dposix-stubs.c117 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 Dhrtimer.c2410 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 Dposix-cpu-timers.c694 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 Dtrace_record_replay.sh32 perf trace -i "${file}" 2>&1 | grep -q nanosleep
44 echo "Failed: cannot find *nanosleep syscall"
H A Dtest_intel_pt.sh
/linux/tools/testing/selftests/futex/functional/
H A Dfutex_numa.c124 nanosleep(&ts, NULL); in threadfn()
135 nanosleep(&ts, NULL); in threadfn()
/linux/tools/testing/selftests/timers/
H A D.gitignore9 nanosleep
/linux/tools/testing/selftests/bpf/progs/
H A Dlru_bug.c31 int nanosleep(void *ctx) in nanosleep() function
/linux/tools/testing/selftests/powerpc/pmu/ebb/
H A Dlost_exception_test.c70 nanosleep(&ts, NULL); in test_body()
/linux/Documentation/timers/
H A Dhrtimers.rst59 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 Dget_stack_raw_tp.c136 nanosleep(&tv, NULL); in test_get_stack_raw_tp()
/linux/tools/testing/selftests/kvm/x86/
H A Dnx_huge_pages_test.c102 nanosleep(&ts, NULL); in wait_for_reclaim()
/linux/tools/testing/selftests/net/mptcp/
H A Dmptcp_inq.c239 nanosleep(&req, NULL); in wait_for_ack()
379 nanosleep(&req, NULL); in process_one_client()
/linux/tools/include/nolibc/
H A Dtime.h117 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 Dscx_flatcg.c229 nanosleep(&intv_ts, NULL); in main()
/linux/tools/perf/arch/powerpc/entry/syscalls/
H A Dsyscall.tbl211 162 32 nanosleep sys_nanosleep_time32
212 162 64 nanosleep sys_nanosleep
213 162 spu nanosleep sys_nanosleep
/linux/scripts/
H A Dsyscall.tbl129 101 time32 nanosleep sys_nanosleep_time32
130 101 64 nanosleep sys_nanosleep
/linux/tools/scripts/
H A Dsyscall.tbl129 101 time32 nanosleep sys_nanosleep_time32
130 101 64 nanosleep sys_nanosleep
/linux/tools/perf/arch/sparc/entry/syscalls/
H A Dsyscall.tbl299 249 32 nanosleep sys_nanosleep_time32
300 249 64 nanosleep sys_nanosleep
/linux/tools/perf/bench/
H A Depoll-ctl.c198 nanosleep(&ts, NULL); in workerfn()
/linux/tools/testing/selftests/net/netfilter/
H A Dnf_queue.c272 nanosleep(&ts, NULL); in sleep_ms()
/linux/tools/testing/selftests/seccomp/
H A Dseccomp_bpf.c2993 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 Dswitch-tracking.c56 err = nanosleep(&ts, NULL); in spin_sleep()
/linux/tools/testing/selftests/rtc/
H A Drtctest.c86 while (nanosleep(&req, &rem) != 0) { in nanosleep_with_retries()
/linux/tools/perf/arch/mips/entry/syscalls/
H A Dsyscall_n64.tbl44 34 n64 nanosleep sys_nanosleep

12