Lines Matching refs:nanosleep
1845 switch(restart->nanosleep.type) { in nanosleep_copyout()
1848 if (put_old_timespec32(ts, restart->nanosleep.compat_rmtp)) in nanosleep_copyout()
1853 if (put_timespec64(ts, restart->nanosleep.rmtp)) in nanosleep_copyout()
1884 if (restart->nanosleep.type != TT_NONE) { in do_nanosleep()
1902 hrtimer_init_sleeper_on_stack(&t, restart->nanosleep.clockid, in hrtimer_nanosleep_restart()
1904 hrtimer_set_expires_tv64(&t.timer, restart->nanosleep.expires); in hrtimer_nanosleep_restart()
1936 restart->nanosleep.clockid = t.timer.base->clockid; in hrtimer_nanosleep()
1937 restart->nanosleep.expires = hrtimer_get_expires_tv64(&t.timer); in hrtimer_nanosleep()
1945 SYSCALL_DEFINE2(nanosleep, struct __kernel_timespec __user *, rqtp, in SYSCALL_DEFINE2() argument
1956 current->restart_block.nanosleep.type = rmtp ? TT_NATIVE : TT_NONE; in SYSCALL_DEFINE2()
1957 current->restart_block.nanosleep.rmtp = rmtp; in SYSCALL_DEFINE2()
1976 current->restart_block.nanosleep.type = rmtp ? TT_COMPAT : TT_NONE; in SYSCALL_DEFINE2()
1977 current->restart_block.nanosleep.compat_rmtp = rmtp; in SYSCALL_DEFINE2()