/linux-6.12.1/kernel/time/ |
D | posix-stubs.c | 117 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()
|
D | hrtimer.c | 2006 switch(restart->nanosleep.type) { in nanosleep_copyout() 2009 if (put_old_timespec32(ts, restart->nanosleep.compat_rmtp)) in nanosleep_copyout() 2014 if (put_timespec64(ts, restart->nanosleep.rmtp)) in nanosleep_copyout() 2045 if (restart->nanosleep.type != TT_NONE) { in do_nanosleep() 2063 hrtimer_init_sleeper_on_stack(&t, restart->nanosleep.clockid, in hrtimer_nanosleep_restart() 2065 hrtimer_set_expires_tv64(&t.timer, restart->nanosleep.expires); in hrtimer_nanosleep_restart() 2091 restart->nanosleep.clockid = t.timer.base->clockid; in hrtimer_nanosleep() 2092 restart->nanosleep.expires = hrtimer_get_expires_tv64(&t.timer); in hrtimer_nanosleep() 2101 SYSCALL_DEFINE2(nanosleep, struct __kernel_timespec __user *, rqtp, in SYSCALL_DEFINE2() argument 2113 current->restart_block.nanosleep.type = rmtp ? TT_NATIVE : TT_NONE; in SYSCALL_DEFINE2() [all …]
|
D | alarmtimer.c | 800 if (restart->nanosleep.type != TT_NONE) { in alarmtimer_do_nsleep() 832 enum alarmtimer_type type = restart->nanosleep.clockid; in alarm_timer_nsleep_restart() 833 ktime_t exp = restart->nanosleep.expires; in alarm_timer_nsleep_restart() 887 restart->nanosleep.clockid = type; in alarm_timer_nsleep() 888 restart->nanosleep.expires = exp; in alarm_timer_nsleep()
|
D | posix-cpu-timers.c | 1545 restart->nanosleep.expires = expires; in do_cpu_nanosleep() 1546 if (restart->nanosleep.type != TT_NONE) in do_cpu_nanosleep() 1576 restart_block->nanosleep.clockid = which_clock; in posix_cpu_nsleep() 1584 clockid_t which_clock = restart_block->nanosleep.clockid; in posix_cpu_nsleep_restart() 1587 t = ns_to_timespec64(restart_block->nanosleep.expires); in posix_cpu_nsleep_restart()
|
D | posix-timers.c | 1408 current->restart_block.nanosleep.type = rmtp ? TT_NATIVE : TT_NONE; in SYSCALL_DEFINE4() 1409 current->restart_block.nanosleep.rmtp = rmtp; in SYSCALL_DEFINE4() 1436 current->restart_block.nanosleep.type = rmtp ? TT_COMPAT : TT_NONE; in SYSCALL_DEFINE4() 1437 current->restart_block.nanosleep.compat_rmtp = rmtp; in SYSCALL_DEFINE4()
|
/linux-6.12.1/tools/testing/selftests/timers/ |
D | .gitignore | 9 nanosleep
|
D | Makefile | 7 TEST_GEN_PROGS = posix_timers nanosleep nsleep-lat set-timer-lat mqueue-lat \
|
/linux-6.12.1/include/linux/ |
D | restart_block.h | 47 } nanosleep; member
|
/linux-6.12.1/tools/testing/selftests/bpf/progs/ |
D | lru_bug.c | 31 int nanosleep(void *ctx) in nanosleep() function
|
/linux-6.12.1/Documentation/timers/ |
D | hrtimers.rst | 59 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.12.1/tools/testing/selftests/bpf/prog_tests/ |
D | get_stack_raw_tp.c | 136 nanosleep(&tv, NULL); in test_get_stack_raw_tp()
|
/linux-6.12.1/tools/testing/selftests/net/mptcp/ |
D | mptcp_inq.c | 229 nanosleep(&req, NULL); in wait_for_ack() 369 nanosleep(&req, NULL); in process_one_client()
|
/linux-6.12.1/tools/testing/selftests/kvm/x86_64/ |
D | nx_huge_pages_test.c | 102 nanosleep(&ts, NULL); in wait_for_reclaim()
|
/linux-6.12.1/tools/sched_ext/ |
D | scx_flatcg.c | 223 nanosleep(&intv_ts, NULL); in main()
|
/linux-6.12.1/arch/powerpc/kernel/syscalls/ |
D | syscall.tbl | 211 162 32 nanosleep sys_nanosleep_time32 212 162 64 nanosleep sys_nanosleep 213 162 spu nanosleep sys_nanosleep
|
/linux-6.12.1/tools/perf/arch/powerpc/entry/syscalls/ |
D | syscall.tbl | 211 162 32 nanosleep sys_nanosleep_time32 212 162 64 nanosleep sys_nanosleep 213 162 spu nanosleep sys_nanosleep
|
/linux-6.12.1/arch/arm64/tools/ |
D | syscall_64.tbl | 129 101 time32 nanosleep sys_nanosleep_time32 130 101 64 nanosleep sys_nanosleep
|
/linux-6.12.1/scripts/ |
D | syscall.tbl | 129 101 time32 nanosleep sys_nanosleep_time32 130 101 64 nanosleep sys_nanosleep
|
/linux-6.12.1/arch/parisc/kernel/syscalls/ |
D | syscall.tbl | 180 162 32 nanosleep sys_nanosleep_time32 181 162 64 nanosleep sys_nanosleep
|
/linux-6.12.1/tools/testing/selftests/net/netfilter/ |
D | nf_queue.c | 267 nanosleep(&ts, NULL); in sleep_ms()
|
/linux-6.12.1/arch/sparc/kernel/syscalls/ |
D | syscall.tbl | 299 249 32 nanosleep sys_nanosleep_time32 300 249 64 nanosleep sys_nanosleep
|
/linux-6.12.1/tools/perf/bench/ |
D | epoll-ctl.c | 198 nanosleep(&ts, NULL); in workerfn()
|
D | epoll-wait.c | 411 nanosleep(&ts, NULL); in writerfn()
|
/linux-6.12.1/tools/testing/selftests/seccomp/ |
D | seccomp_bpf.c | 2973 nanosleep(&delay, NULL); in TEST_F() 2998 nanosleep(&delay, NULL); in TEST_F() 3079 EXPECT_EQ(0, nanosleep(&timeout, NULL)) { in TEST() 4228 nanosleep(&delay, NULL); in TEST() 4255 nanosleep(&delay, NULL); in TEST() 4570 nanosleep(&delay, NULL); in TEST() 4672 nanosleep(&delay, NULL); in TEST() 4746 nanosleep(&delay, NULL); in TEST() 4795 nanosleep(&delay, NULL); in TEST()
|
/linux-6.12.1/tools/perf/tests/ |
D | switch-tracking.c | 56 err = nanosleep(&ts, NULL); in spin_sleep()
|