Lines Matching refs:nanosleep
2021 switch(restart->nanosleep.type) { in nanosleep_copyout()
2024 if (put_old_timespec32(ts, restart->nanosleep.compat_rmtp)) in nanosleep_copyout()
2029 if (put_timespec64(ts, restart->nanosleep.rmtp)) in nanosleep_copyout()
2060 if (restart->nanosleep.type != TT_NONE) { in do_nanosleep()
2078 hrtimer_init_sleeper_on_stack(&t, restart->nanosleep.clockid, in hrtimer_nanosleep_restart()
2080 hrtimer_set_expires_tv64(&t.timer, restart->nanosleep.expires); in hrtimer_nanosleep_restart()
2111 restart->nanosleep.clockid = t.timer.base->clockid; in hrtimer_nanosleep()
2112 restart->nanosleep.expires = hrtimer_get_expires_tv64(&t.timer); in hrtimer_nanosleep()
2121 SYSCALL_DEFINE2(nanosleep, struct __kernel_timespec __user *, rqtp, in SYSCALL_DEFINE2() argument
2133 current->restart_block.nanosleep.type = rmtp ? TT_NATIVE : TT_NONE; in SYSCALL_DEFINE2()
2134 current->restart_block.nanosleep.rmtp = rmtp; in SYSCALL_DEFINE2()
2155 current->restart_block.nanosleep.type = rmtp ? TT_COMPAT : TT_NONE; in SYSCALL_DEFINE2()
2156 current->restart_block.nanosleep.compat_rmtp = rmtp; in SYSCALL_DEFINE2()