Searched refs:nanosleep (Results 1 – 5 of 5) sorted by relevance
151 current->restart_block.nanosleep.type = rmtp ? TT_NATIVE : TT_NONE; in SYSCALL_DEFINE4()152 current->restart_block.nanosleep.rmtp = rmtp; in SYSCALL_DEFINE4()245 current->restart_block.nanosleep.type = rmtp ? TT_COMPAT : TT_NONE; in SYSCALL_DEFINE4()246 current->restart_block.nanosleep.compat_rmtp = rmtp; in SYSCALL_DEFINE4()
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() argument2130 current->restart_block.nanosleep.type = rmtp ? TT_NATIVE : TT_NONE; in SYSCALL_DEFINE2()[all …]
795 if (restart->nanosleep.type != TT_NONE) { in alarmtimer_do_nsleep()827 enum alarmtimer_type type = restart->nanosleep.clockid; in alarm_timer_nsleep_restart()828 ktime_t exp = restart->nanosleep.expires; in alarm_timer_nsleep_restart()882 restart->nanosleep.clockid = type; in alarm_timer_nsleep()883 restart->nanosleep.expires = exp; in alarm_timer_nsleep()
1583 restart->nanosleep.expires = expires; in do_cpu_nanosleep()1584 if (restart->nanosleep.type != TT_NONE) in do_cpu_nanosleep()1614 restart_block->nanosleep.clockid = which_clock; in posix_cpu_nsleep()1622 clockid_t which_clock = restart_block->nanosleep.clockid; in posix_cpu_nsleep_restart()1625 t = ns_to_timespec64(restart_block->nanosleep.expires); in posix_cpu_nsleep_restart()
1305 current->restart_block.nanosleep.type = rmtp ? TT_NATIVE : TT_NONE; in SYSCALL_DEFINE4()1306 current->restart_block.nanosleep.rmtp = rmtp; in SYSCALL_DEFINE4()1333 current->restart_block.nanosleep.type = rmtp ? TT_COMPAT : TT_NONE; in SYSCALL_DEFINE4()1334 current->restart_block.nanosleep.compat_rmtp = rmtp; in SYSCALL_DEFINE4()