/openbmc/linux/kernel/time/ |
H A 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()
|
H A D | hrtimer.c | 2025 switch(restart->nanosleep.type) { in nanosleep_copyout() 2028 if (put_old_timespec32(ts, restart->nanosleep.compat_rmtp)) in nanosleep_copyout() 2033 if (put_timespec64(ts, restart->nanosleep.rmtp)) in nanosleep_copyout() 2064 if (restart->nanosleep.type != TT_NONE) { in do_nanosleep() 2082 hrtimer_init_sleeper_on_stack(&t, restart->nanosleep.clockid, in hrtimer_nanosleep_restart() 2084 hrtimer_set_expires_tv64(&t.timer, restart->nanosleep.expires); in hrtimer_nanosleep_restart() 2115 restart->nanosleep.clockid = t.timer.base->clockid; in hrtimer_nanosleep() 2116 restart->nanosleep.expires = hrtimer_get_expires_tv64(&t.timer); in hrtimer_nanosleep() 2125 SYSCALL_DEFINE2(nanosleep, struct __kernel_timespec __user *, rqtp, in SYSCALL_DEFINE2() argument 2138 current->restart_block.nanosleep.rmtp = rmtp; in SYSCALL_DEFINE2() [all …]
|
H A D | alarmtimer.c | 794 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()
|
H A D | posix-cpu-timers.c | 1582 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()
|
H A D | posix-timers.c | 1393 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()
|
/openbmc/linux/tools/testing/selftests/timers/ |
H A D | .gitignore | 9 nanosleep
|
H A D | Makefile | 7 TEST_GEN_PROGS = posix_timers nanosleep nsleep-lat set-timer-lat mqueue-lat \
|
/openbmc/linux/include/linux/ |
H A D | restart_block.h | 47 } nanosleep; member
|
/openbmc/linux/tools/testing/selftests/bpf/progs/ |
H A D | lru_bug.c | 31 int nanosleep(void *ctx) in nanosleep() function
|
/openbmc/openbmc/poky/meta/recipes-support/gnutls/gnutls/ |
H A D | arm_eabi.patch | 22 ADD_SYSCALL(nanosleep, 0);
|
/openbmc/linux/Documentation/timers/ |
H A 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.
|
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | get_stack_raw_tp.c | 136 nanosleep(&tv, NULL); in test_get_stack_raw_tp()
|
/openbmc/openpower-hw-diags/attn/ |
H A D | attn_common.cpp | 231 while (-1 == nanosleep(&requested, &remaining)) in sleepSeconds()
|
/openbmc/linux/tools/testing/selftests/kvm/x86_64/ |
H A D | nx_huge_pages_test.c | 105 nanosleep(&ts, NULL); in wait_for_reclaim()
|
/openbmc/linux/tools/testing/selftests/net/mptcp/ |
H A D | mptcp_inq.c | 229 nanosleep(&req, NULL); in wait_for_ack() 369 nanosleep(&req, NULL); in process_one_client()
|
/openbmc/qemu/linux-user/ppc/ |
H A D | syscall.tbl | 211 162 32 nanosleep sys_nanosleep_time32 212 162 64 nanosleep sys_nanosleep 213 162 spu nanosleep sys_nanosleep
|
/openbmc/linux/tools/perf/arch/powerpc/entry/syscalls/ |
H A D | syscall.tbl | 211 162 32 nanosleep sys_nanosleep_time32 212 162 64 nanosleep sys_nanosleep 213 162 spu nanosleep sys_nanosleep
|
/openbmc/linux/arch/powerpc/kernel/syscalls/ |
H A D | syscall.tbl | 211 162 32 nanosleep sys_nanosleep_time32 212 162 64 nanosleep sys_nanosleep 213 162 spu nanosleep sys_nanosleep
|
/openbmc/qemu/linux-user/mips/ |
H A D | syscall-args-o32.c.inc | 167 [ 166] = 2, /* nanosleep */
|
/openbmc/linux/tools/testing/selftests/netfilter/ |
H A D | nf-queue.c | 267 nanosleep(&ts, NULL); in sleep_ms()
|
/openbmc/qemu/linux-user/hppa/ |
H A D | syscall.tbl | 180 162 32 nanosleep sys_nanosleep_time32 181 162 64 nanosleep sys_nanosleep
|
/openbmc/linux/arch/parisc/kernel/syscalls/ |
H A D | syscall.tbl | 180 162 32 nanosleep sys_nanosleep_time32 181 162 64 nanosleep sys_nanosleep
|
/openbmc/linux/tools/perf/bench/ |
H A D | epoll-ctl.c | 198 nanosleep(&ts, NULL); in workerfn()
|
/openbmc/qemu/linux-user/sparc/ |
H A D | syscall.tbl | 299 249 32 nanosleep sys_nanosleep_time32 300 249 64 nanosleep sys_nanosleep
|
/openbmc/linux/arch/sparc/kernel/syscalls/ |
H A D | syscall.tbl | 299 249 32 nanosleep sys_nanosleep_time32 300 249 64 nanosleep sys_nanosleep
|