Home
last modified time | relevance | path

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

/Linux-v4.19/kernel/time/
Dposix-stubs.c147 current->restart_block.nanosleep.type = rmtp ? TT_NATIVE : TT_NONE; in SYSCALL_DEFINE4()
148 current->restart_block.nanosleep.rmtp = rmtp; in SYSCALL_DEFINE4()
233 current->restart_block.nanosleep.type = rmtp ? TT_COMPAT : TT_NONE; in COMPAT_SYSCALL_DEFINE4()
234 current->restart_block.nanosleep.compat_rmtp = rmtp; in COMPAT_SYSCALL_DEFINE4()
Dhrtimer.c1660 switch(restart->nanosleep.type) { in nanosleep_copyout()
1663 if (compat_put_timespec64(ts, restart->nanosleep.compat_rmtp)) in nanosleep_copyout()
1668 if (put_timespec64(ts, restart->nanosleep.rmtp)) in nanosleep_copyout()
1701 if (restart->nanosleep.type != TT_NONE) { in do_nanosleep()
1719 hrtimer_init_on_stack(&t.timer, restart->nanosleep.clockid, in hrtimer_nanosleep_restart()
1721 hrtimer_set_expires_tv64(&t.timer, restart->nanosleep.expires); in hrtimer_nanosleep_restart()
1754 restart->nanosleep.clockid = t.timer.base->clockid; in hrtimer_nanosleep()
1755 restart->nanosleep.expires = hrtimer_get_expires_tv64(&t.timer); in hrtimer_nanosleep()
1763 SYSCALL_DEFINE2(nanosleep, struct __kernel_timespec __user *, rqtp, in SYSCALL_DEFINE2() argument
1774 current->restart_block.nanosleep.type = rmtp ? TT_NATIVE : TT_NONE; in SYSCALL_DEFINE2()
[all …]
Dalarmtimer.c737 if (restart->nanosleep.type != TT_NONE) { in alarmtimer_do_nsleep()
769 enum alarmtimer_type type = restart->nanosleep.clockid; in alarm_timer_nsleep_restart()
770 ktime_t exp = restart->nanosleep.expires; in alarm_timer_nsleep_restart()
824 restart->nanosleep.clockid = type; in alarm_timer_nsleep()
825 restart->nanosleep.expires = exp; in alarm_timer_nsleep()
Dposix-cpu-timers.c1336 restart->nanosleep.expires = expires; in do_cpu_nanosleep()
1337 if (restart->nanosleep.type != TT_NONE) in do_cpu_nanosleep()
1368 restart_block->nanosleep.clockid = which_clock; in posix_cpu_nsleep()
1375 clockid_t which_clock = restart_block->nanosleep.clockid; in posix_cpu_nsleep_restart()
1378 t = ns_to_timespec64(restart_block->nanosleep.expires); in posix_cpu_nsleep_restart()
Dposix-timers.c1231 current->restart_block.nanosleep.type = rmtp ? TT_NATIVE : TT_NONE; in SYSCALL_DEFINE4()
1232 current->restart_block.nanosleep.rmtp = rmtp; in SYSCALL_DEFINE4()
1258 current->restart_block.nanosleep.type = rmtp ? TT_COMPAT : TT_NONE; in COMPAT_SYSCALL_DEFINE4()
1259 current->restart_block.nanosleep.compat_rmtp = rmtp; in COMPAT_SYSCALL_DEFINE4()
/Linux-v4.19/tools/testing/selftests/timers/
D.gitignore8 nanosleep
DMakefile7 TEST_GEN_PROGS = posix_timers nanosleep nsleep-lat set-timer-lat mqueue-lat \
/Linux-v4.19/include/linux/
Drestart_block.h46 } nanosleep; member
/Linux-v4.19/Documentation/timers/
Dhrtimers.txt59 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.
Dhighres.txt177 used by nanosleep. The advantage of executing the handler in the interrupt
/Linux-v4.19/tools/perf/tests/
Dswitch-tracking.c46 err = nanosleep(&ts, NULL); in spin_sleep()
/Linux-v4.19/arch/powerpc/include/asm/
Dsystbl.h170 COMPAT_SYS_SPU(nanosleep)
/Linux-v4.19/arch/parisc/kernel/
Dsyscall_table.S251 ENTRY_COMP(nanosleep)
/Linux-v4.19/arch/x86/entry/syscalls/
Dsyscall_64.tbl46 35 common nanosleep __x64_sys_nanosleep
Dsyscall_32.tbl176 162 i386 nanosleep sys_nanosleep __ia32_compat_sys_nanosleep
/Linux-v4.19/tools/perf/arch/x86/entry/syscalls/
Dsyscall_64.tbl46 35 common nanosleep __x64_sys_nanosleep
/Linux-v4.19/arch/arm/tools/
Dsyscall.tbl178 162 common nanosleep sys_nanosleep
/Linux-v4.19/tools/perf/arch/s390/entry/syscalls/
Dsyscall.tbl154 162 common nanosleep sys_nanosleep compat_sys_nanosleep
/Linux-v4.19/arch/s390/kernel/syscalls/
Dsyscall.tbl154 162 common nanosleep sys_nanosleep compat_sys_nanosleep
/Linux-v4.19/tools/perf/
Dbuiltin-stat.c719 nanosleep(&ts, NULL); in __run_perf_stat()
740 nanosleep(&ts, NULL); in __run_perf_stat()
Dbuiltin-sched.c309 nanosleep(&ts, NULL); in sleep_nsecs()
/Linux-v4.19/tools/power/x86/turbostat/
Dturbostat.c2906 nanosleep(&one_msec, NULL); in signal_handler()
2933 nanosleep(&interval_ts, NULL); in do_sleep()
2947 nanosleep(&one_msec, NULL); in do_sleep()
/Linux-v4.19/tools/testing/selftests/bpf/
Dtest_progs.c1532 nanosleep(&tv, NULL); in test_get_stack_raw_tp()
/Linux-v4.19/tools/testing/selftests/seccomp/
Dseccomp_bpf.c2684 EXPECT_EQ(0, nanosleep(&timeout, NULL)) { in TEST()
/Linux-v4.19/Documentation/trace/
Dhistogram.rst2050 -n : sleep with nanosleep