Lines Matching refs:nanosleep
2022 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()
2135 current->restart_block.nanosleep.rmtp = rmtp; in SYSCALL_DEFINE2()
2156 current->restart_block.nanosleep.type = rmtp ? TT_COMPAT : TT_NONE; in SYSCALL_DEFINE2()
2157 current->restart_block.nanosleep.compat_rmtp = rmtp; in SYSCALL_DEFINE2()