Home
last modified time | relevance | path

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

12

/linux/kernel/time/
A Dposix-stubs.c149 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()
A Dhrtimer.c2018 switch(restart->nanosleep.type) { in nanosleep_copyout()
2021 if (put_old_timespec32(ts, restart->nanosleep.compat_rmtp)) in nanosleep_copyout()
2026 if (put_timespec64(ts, restart->nanosleep.rmtp)) in nanosleep_copyout()
2057 if (restart->nanosleep.type != TT_NONE) { in do_nanosleep()
2075 hrtimer_init_sleeper_on_stack(&t, restart->nanosleep.clockid, in hrtimer_nanosleep_restart()
2077 hrtimer_set_expires_tv64(&t.timer, restart->nanosleep.expires); in hrtimer_nanosleep_restart()
2108 restart->nanosleep.clockid = t.timer.base->clockid; in hrtimer_nanosleep()
2109 restart->nanosleep.expires = hrtimer_get_expires_tv64(&t.timer); in hrtimer_nanosleep()
2118 SYSCALL_DEFINE2(nanosleep, struct __kernel_timespec __user *, rqtp, in SYSCALL_DEFINE2() argument
2130 current->restart_block.nanosleep.rmtp = rmtp; in SYSCALL_DEFINE2()
[all …]
A Dalarmtimer.c770 if (restart->nanosleep.type != TT_NONE) { in alarmtimer_do_nsleep()
802 enum alarmtimer_type type = restart->nanosleep.clockid; in alarm_timer_nsleep_restart()
803 ktime_t exp = restart->nanosleep.expires; in alarm_timer_nsleep_restart()
857 restart->nanosleep.clockid = type; in alarm_timer_nsleep()
858 restart->nanosleep.expires = exp; in alarm_timer_nsleep()
A Dposix-cpu-timers.c1524 restart->nanosleep.expires = expires; in do_cpu_nanosleep()
1525 if (restart->nanosleep.type != TT_NONE) in do_cpu_nanosleep()
1555 restart_block->nanosleep.clockid = which_clock; in posix_cpu_nsleep()
1563 clockid_t which_clock = restart_block->nanosleep.clockid; in posix_cpu_nsleep_restart()
1566 t = ns_to_timespec64(restart_block->nanosleep.expires); in posix_cpu_nsleep_restart()
A Dposix-timers.c1264 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/tools/testing/selftests/timers/
A D.gitignore9 nanosleep
A DMakefile7 TEST_GEN_PROGS = posix_timers nanosleep nsleep-lat set-timer-lat mqueue-lat \
/linux/include/linux/
A Drestart_block.h47 } nanosleep; member
/linux/Documentation/timers/
A Dhrtimers.rst59 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/tools/testing/selftests/bpf/prog_tests/
A Dget_stack_raw_tp.c134 nanosleep(&tv, NULL); in test_get_stack_raw_tp()
/linux/tools/perf/arch/powerpc/entry/syscalls/
A Dsyscall.tbl211 162 32 nanosleep sys_nanosleep_time32
212 162 64 nanosleep sys_nanosleep
213 162 spu nanosleep sys_nanosleep
/linux/arch/powerpc/kernel/syscalls/
A Dsyscall.tbl211 162 32 nanosleep sys_nanosleep_time32
212 162 64 nanosleep sys_nanosleep
213 162 spu nanosleep sys_nanosleep
/linux/arch/parisc/kernel/syscalls/
A Dsyscall.tbl180 162 32 nanosleep sys_nanosleep_time32
181 162 64 nanosleep sys_nanosleep
/linux/tools/testing/selftests/netfilter/
A Dnf-queue.c267 nanosleep(&ts, NULL); in sleep_ms()
/linux/arch/sparc/kernel/syscalls/
A Dsyscall.tbl299 249 32 nanosleep sys_nanosleep_time32
300 249 64 nanosleep sys_nanosleep
/linux/tools/perf/bench/
A Depoll-ctl.c197 nanosleep(&ts, NULL); in workerfn()
A Depoll-wait.c397 nanosleep(&ts, NULL); in writerfn()
/linux/tools/perf/tests/
A Dswitch-tracking.c54 err = nanosleep(&ts, NULL); in spin_sleep()
/linux/arch/mips/kernel/syscalls/
A Dsyscall_n64.tbl44 34 n64 nanosleep sys_nanosleep
/linux/arch/ia64/kernel/syscalls/
A Dsyscall.tbl156 144 common nanosleep sys_nanosleep
/linux/tools/perf/arch/mips/entry/syscalls/
A Dsyscall_n64.tbl44 34 n64 nanosleep sys_nanosleep
/linux/tools/testing/selftests/seccomp/
A Dseccomp_bpf.c2903 nanosleep(&delay, NULL); in TEST_F()
2928 nanosleep(&delay, NULL); in TEST_F()
3009 EXPECT_EQ(0, nanosleep(&timeout, NULL)) { in TEST()
4075 nanosleep(&delay, NULL); in TEST()
4101 nanosleep(&delay, NULL); in TEST()
/linux/arch/xtensa/kernel/syscalls/
A Dsyscall.tbl213 195 common nanosleep sys_nanosleep_time32
/linux/arch/x86/entry/syscalls/
A Dsyscall_64.tbl46 35 common nanosleep sys_nanosleep
/linux/tools/perf/arch/x86/entry/syscalls/
A Dsyscall_64.tbl46 35 common nanosleep sys_nanosleep

Completed in 80 milliseconds

12