Searched refs:nanosleep (Results 1 – 18 of 18) sorted by relevance
| /linux-4.4.14/kernel/time/ |
| D | alarmtimer.c | 705 enum alarmtimer_type type = restart->nanosleep.clockid; in alarm_timer_nsleep_restart() 711 exp.tv64 = restart->nanosleep.expires; in alarm_timer_nsleep_restart() 720 rmtp = restart->nanosleep.rmtp; in alarm_timer_nsleep_restart() 790 restart->nanosleep.clockid = type; in alarm_timer_nsleep() 791 restart->nanosleep.expires = exp.tv64; in alarm_timer_nsleep() 792 restart->nanosleep.rmtp = rmtp; in alarm_timer_nsleep()
|
| D | hrtimer.c | 1524 hrtimer_init_on_stack(&t.timer, restart->nanosleep.clockid, in hrtimer_nanosleep_restart() 1526 hrtimer_set_expires_tv64(&t.timer, restart->nanosleep.expires); in hrtimer_nanosleep_restart() 1531 rmtp = restart->nanosleep.rmtp; in hrtimer_nanosleep_restart() 1576 restart->nanosleep.clockid = t.timer.base->clockid; in hrtimer_nanosleep() 1577 restart->nanosleep.rmtp = rmtp; in hrtimer_nanosleep() 1578 restart->nanosleep.expires = hrtimer_get_expires_tv64(&t.timer); in hrtimer_nanosleep() 1586 SYSCALL_DEFINE2(nanosleep, struct timespec __user *, rqtp, in SYSCALL_DEFINE2() argument
|
| D | posix-cpu-timers.c | 1410 restart_block->nanosleep.clockid = which_clock; in posix_cpu_nsleep() 1411 restart_block->nanosleep.rmtp = rmtp; in posix_cpu_nsleep() 1412 restart_block->nanosleep.expires = timespec_to_ns(rqtp); in posix_cpu_nsleep() 1419 clockid_t which_clock = restart_block->nanosleep.clockid; in posix_cpu_nsleep_restart() 1424 t = ns_to_timespec(restart_block->nanosleep.expires); in posix_cpu_nsleep_restart() 1429 struct timespec __user *rmtp = restart_block->nanosleep.rmtp; in posix_cpu_nsleep_restart() 1436 restart_block->nanosleep.expires = timespec_to_ns(&t); in posix_cpu_nsleep_restart()
|
| D | posix-timers.c | 1124 clockid_t which_clock = restart_block->nanosleep.clockid; in clock_nanosleep_restart()
|
| /linux-4.4.14/tools/testing/selftests/timers/ |
| D | .gitignore | 8 nanosleep
|
| D | Makefile | 8 TEST_PROGS = posix_timers nanosleep nsleep-lat set-timer-lat mqueue-lat \
|
| /linux-4.4.14/kernel/ |
| D | compat.c | 223 restart->nanosleep.rmtp = (struct timespec __user *) &rmt; in compat_nanosleep_restart() 230 rmtp = restart->nanosleep.compat_rmtp; in compat_nanosleep_restart() 239 COMPAT_SYSCALL_DEFINE2(nanosleep, struct compat_timespec __user *, rqtp, in COMPAT_SYSCALL_DEFINE2() argument 282 restart->nanosleep.compat_rmtp = rmtp; in COMPAT_SYSCALL_DEFINE2() 819 struct compat_timespec __user *rmtp = restart->nanosleep.compat_rmtp; in compat_clock_nanosleep_restart() 821 restart->nanosleep.rmtp = (struct timespec __user *) &tu; in compat_clock_nanosleep_restart() 833 restart->nanosleep.compat_rmtp = rmtp; in compat_clock_nanosleep_restart() 864 restart->nanosleep.compat_rmtp = rmtp; in COMPAT_SYSCALL_DEFINE4()
|
| /linux-4.4.14/include/linux/ |
| D | thread_info.h | 39 } nanosleep; member
|
| /linux-4.4.14/Documentation/timers/ |
| D | hrtimers.txt | 59 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.
|
| D | highres.txt | 177 used by nanosleep. The advantage of executing the handler in the interrupt
|
| /linux-4.4.14/arch/parisc/kernel/ |
| D | syscall_table.S | 251 ENTRY_COMP(nanosleep)
|
| /linux-4.4.14/tools/perf/tests/ |
| D | switch-tracking.c | 44 err = nanosleep(&ts, NULL); in spin_sleep()
|
| /linux-4.4.14/arch/powerpc/include/asm/ |
| D | systbl.h | 169 COMPAT_SYS_SPU(nanosleep)
|
| /linux-4.4.14/tools/perf/ |
| D | builtin-stat.c | 359 nanosleep(&ts, NULL); in __run_perf_stat() 376 nanosleep(&ts, NULL); in __run_perf_stat()
|
| D | builtin-sched.c | 203 nanosleep(&ts, NULL); in sleep_nsecs()
|
| /linux-4.4.14/arch/x86/entry/syscalls/ |
| D | syscall_64.tbl | 44 35 common nanosleep sys_nanosleep
|
| D | syscall_32.tbl | 171 162 i386 nanosleep sys_nanosleep compat_sys_nanosleep
|
| /linux-4.4.14/tools/testing/selftests/seccomp/ |
| D | seccomp_bpf.c | 2104 EXPECT_EQ(0, nanosleep(&timeout, NULL)) { in TEST()
|