Home
last modified time | relevance | path

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

123

/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 Dalarmtimer.c722 if (restart->nanosleep.type != TT_NONE) { in alarmtimer_do_nsleep()
754 enum alarmtimer_type type = restart->nanosleep.clockid; in alarm_timer_nsleep_restart()
755 ktime_t exp = restart->nanosleep.expires; in alarm_timer_nsleep_restart()
809 restart->nanosleep.clockid = type; in alarm_timer_nsleep()
810 restart->nanosleep.expires = exp; in alarm_timer_nsleep()
H A Dposix-timers.c1395 current->restart_block.nanosleep.type = rmtp ? TT_NATIVE : TT_NONE; in SYSCALL_DEFINE4()
1396 current->restart_block.nanosleep.rmtp = rmtp; in SYSCALL_DEFINE4()
1423 current->restart_block.nanosleep.type = rmtp ? TT_COMPAT : TT_NONE; in SYSCALL_DEFINE4()
1424 current->restart_block.nanosleep.compat_rmtp = rmtp; in SYSCALL_DEFINE4()
/linux/tools/perf/tests/shell/
H A Dtrace_record_replay.sh16 if ! perf trace -i ${file} 2>&1 | grep nanosleep; then
/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/include/linux/
H A Drestart_block.h47 } nanosleep; member
H A Dposix-timers.h65 bool nanosleep; member
/linux/tools/testing/selftests/bpf/progs/
H A Dlru_bug.c31 int nanosleep(void *ctx) in nanosleep() function
/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/net/mptcp/
H A Dmptcp_inq.c238 nanosleep(&req, NULL); in wait_for_ack()
378 nanosleep(&req, NULL); in process_one_client()
/linux/tools/sched_ext/
H A Dscx_flatcg.c226 nanosleep(&intv_ts, NULL); in main()
/linux/tools/include/nolibc/
H A Dtime.h139 int nanosleep(const struct timespec *rqtp, struct timespec *rmtp) in nanosleep() function
/linux/arch/powerpc/kernel/syscalls/
H A Dsyscall.tbl211 162 32 nanosleep sys_nanosleep_time32
212 162 64 nanosleep sys_nanosleep
213 162 spu nanosleep sys_nanosleep
/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/arch/parisc/kernel/syscalls/
H A Dsyscall.tbl180 162 32 nanosleep sys_nanosleep_time32
181 162 64 nanosleep sys_nanosleep
/linux/tools/testing/selftests/net/netfilter/
H A Dnf_queue.c267 nanosleep(&ts, NULL); in sleep_ms()
/linux/arch/sparc/kernel/syscalls/
H A Dsyscall.tbl299 249 32 nanosleep sys_nanosleep_time32
300 249 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/seccomp/
H A Dseccomp_bpf.c2987 nanosleep(&delay, NULL); in TEST_F()
3012 nanosleep(&delay, NULL); in TEST_F()
3093 EXPECT_EQ(0, nanosleep(&timeout, NULL)) { in TEST()
4249 nanosleep(&delay, NULL); in TEST()
4276 nanosleep(&delay, NULL); in TEST()
4591 nanosleep(&delay, NULL); in TEST()
4693 nanosleep(&delay, NULL); in TEST()
4767 nanosleep(&delay, NULL); in TEST()
4816 nanosleep(&delay, NULL); in TEST()
/linux/tools/perf/tests/
H A Dswitch-tracking.c56 err = nanosleep(&ts, NULL); in spin_sleep()

123