Lines Matching refs:nanosleep
2018 switch(restart->nanosleep.type) { in nanosleep_copyout()
2021 if (put_old_timespec32(ts, restart->nanosleep.compat_rmtp)) in nanosleep_copyout()
2026 if (put_timespec64(ts, restart->nanosleep.rmtp)) in nanosleep_copyout()
2057 if (restart->nanosleep.type != TT_NONE) { in do_nanosleep()
2075 hrtimer_init_sleeper_on_stack(&t, restart->nanosleep.clockid, in hrtimer_nanosleep_restart()
2077 hrtimer_set_expires_tv64(&t.timer, restart->nanosleep.expires); in hrtimer_nanosleep_restart()
2108 restart->nanosleep.clockid = t.timer.base->clockid; in hrtimer_nanosleep()
2109 restart->nanosleep.expires = hrtimer_get_expires_tv64(&t.timer); in hrtimer_nanosleep()
2118 SYSCALL_DEFINE2(nanosleep, struct __kernel_timespec __user *, rqtp, in SYSCALL_DEFINE2() argument
2129 current->restart_block.nanosleep.type = rmtp ? TT_NATIVE : TT_NONE; in SYSCALL_DEFINE2()
2130 current->restart_block.nanosleep.rmtp = rmtp; in SYSCALL_DEFINE2()
2150 current->restart_block.nanosleep.type = rmtp ? TT_COMPAT : TT_NONE; in SYSCALL_DEFINE2()
2151 current->restart_block.nanosleep.compat_rmtp = rmtp; in SYSCALL_DEFINE2()