Home
last modified time | relevance | path

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

12

/linux-6.6.21/kernel/time/
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()
Dhrtimer.c2022 switch(restart->nanosleep.type) { in nanosleep_copyout()
2025 if (put_old_timespec32(ts, restart->nanosleep.compat_rmtp)) in nanosleep_copyout()
2030 if (put_timespec64(ts, restart->nanosleep.rmtp)) in nanosleep_copyout()
2061 if (restart->nanosleep.type != TT_NONE) { in do_nanosleep()
2079 hrtimer_init_sleeper_on_stack(&t, restart->nanosleep.clockid, in hrtimer_nanosleep_restart()
2081 hrtimer_set_expires_tv64(&t.timer, restart->nanosleep.expires); in hrtimer_nanosleep_restart()
2112 restart->nanosleep.clockid = t.timer.base->clockid; in hrtimer_nanosleep()
2113 restart->nanosleep.expires = hrtimer_get_expires_tv64(&t.timer); in hrtimer_nanosleep()
2122 SYSCALL_DEFINE2(nanosleep, struct __kernel_timespec __user *, rqtp, in SYSCALL_DEFINE2() argument
2134 current->restart_block.nanosleep.type = rmtp ? TT_NATIVE : TT_NONE; in SYSCALL_DEFINE2()
[all …]
Dalarmtimer.c794 if (restart->nanosleep.type != TT_NONE) { in alarmtimer_do_nsleep()
826 enum alarmtimer_type type = restart->nanosleep.clockid; in alarm_timer_nsleep_restart()
827 ktime_t exp = restart->nanosleep.expires; in alarm_timer_nsleep_restart()
881 restart->nanosleep.clockid = type; in alarm_timer_nsleep()
882 restart->nanosleep.expires = exp; in alarm_timer_nsleep()
Dposix-cpu-timers.c1582 restart->nanosleep.expires = expires; in do_cpu_nanosleep()
1583 if (restart->nanosleep.type != TT_NONE) in do_cpu_nanosleep()
1613 restart_block->nanosleep.clockid = which_clock; in posix_cpu_nsleep()
1621 clockid_t which_clock = restart_block->nanosleep.clockid; in posix_cpu_nsleep_restart()
1624 t = ns_to_timespec64(restart_block->nanosleep.expires); in posix_cpu_nsleep_restart()
Dposix-timers.c1393 current->restart_block.nanosleep.type = rmtp ? TT_NATIVE : TT_NONE; in SYSCALL_DEFINE4()
1394 current->restart_block.nanosleep.rmtp = rmtp; in SYSCALL_DEFINE4()
1421 current->restart_block.nanosleep.type = rmtp ? TT_COMPAT : TT_NONE; in SYSCALL_DEFINE4()
1422 current->restart_block.nanosleep.compat_rmtp = rmtp; in SYSCALL_DEFINE4()
/linux-6.6.21/tools/testing/selftests/timers/
D.gitignore9 nanosleep
DMakefile7 TEST_GEN_PROGS = posix_timers nanosleep nsleep-lat set-timer-lat mqueue-lat \
/linux-6.6.21/include/linux/
Drestart_block.h47 } nanosleep; member
/linux-6.6.21/tools/testing/selftests/bpf/progs/
Dlru_bug.c31 int nanosleep(void *ctx) in nanosleep() function
/linux-6.6.21/Documentation/timers/
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-6.6.21/tools/testing/selftests/bpf/prog_tests/
Dget_stack_raw_tp.c136 nanosleep(&tv, NULL); in test_get_stack_raw_tp()
/linux-6.6.21/tools/testing/selftests/kvm/x86_64/
Dnx_huge_pages_test.c105 nanosleep(&ts, NULL); in wait_for_reclaim()
/linux-6.6.21/tools/testing/selftests/net/mptcp/
Dmptcp_inq.c229 nanosleep(&req, NULL); in wait_for_ack()
369 nanosleep(&req, NULL); in process_one_client()
/linux-6.6.21/tools/perf/arch/powerpc/entry/syscalls/
Dsyscall.tbl211 162 32 nanosleep sys_nanosleep_time32
212 162 64 nanosleep sys_nanosleep
213 162 spu nanosleep sys_nanosleep
/linux-6.6.21/arch/powerpc/kernel/syscalls/
Dsyscall.tbl211 162 32 nanosleep sys_nanosleep_time32
212 162 64 nanosleep sys_nanosleep
213 162 spu nanosleep sys_nanosleep
/linux-6.6.21/tools/testing/selftests/netfilter/
Dnf-queue.c267 nanosleep(&ts, NULL); in sleep_ms()
/linux-6.6.21/arch/parisc/kernel/syscalls/
Dsyscall.tbl180 162 32 nanosleep sys_nanosleep_time32
181 162 64 nanosleep sys_nanosleep
/linux-6.6.21/tools/perf/bench/
Depoll-ctl.c198 nanosleep(&ts, NULL); in workerfn()
Depoll-wait.c411 nanosleep(&ts, NULL); in writerfn()
/linux-6.6.21/arch/sparc/kernel/syscalls/
Dsyscall.tbl299 249 32 nanosleep sys_nanosleep_time32
300 249 64 nanosleep sys_nanosleep
/linux-6.6.21/tools/testing/selftests/seccomp/
Dseccomp_bpf.c2971 nanosleep(&delay, NULL); in TEST_F()
2996 nanosleep(&delay, NULL); in TEST_F()
3077 EXPECT_EQ(0, nanosleep(&timeout, NULL)) { in TEST()
4153 nanosleep(&delay, NULL); in TEST()
4179 nanosleep(&delay, NULL); in TEST()
4494 nanosleep(&delay, NULL); in TEST()
4596 nanosleep(&delay, NULL); in TEST()
4670 nanosleep(&delay, NULL); in TEST()
4719 nanosleep(&delay, NULL); in TEST()
/linux-6.6.21/tools/perf/tests/
Dswitch-tracking.c56 err = nanosleep(&ts, NULL); in spin_sleep()
/linux-6.6.21/tools/testing/selftests/rtc/
Drtctest.c79 while (nanosleep(&req, &rem) != 0) { in nanosleep_with_retries()
/linux-6.6.21/tools/testing/selftests/cgroup/
Dtest_cpu.c155 ret = nanosleep(&ts_remaining, NULL); in hog_cpus_timed()
/linux-6.6.21/tools/perf/tests/shell/
Dtest_intel_pt.sh75 nanosleep(&tm, NULL);

12