Lines Matching refs:restart
1141 bool restart, bool keep_local) in remove_hrtimer() argument
1165 if (!restart) in remove_hrtimer()
1725 int restart; in __run_hrtimer() local
1761 restart = fn(timer); in __run_hrtimer()
1776 if (restart != HRTIMER_NORESTART && in __run_hrtimer()
2072 int nanosleep_copyout(struct restart_block *restart, struct timespec64 *ts) in nanosleep_copyout() argument
2074 switch(restart->nanosleep.type) { in nanosleep_copyout()
2077 if (put_old_timespec32(ts, restart->nanosleep.compat_rmtp)) in nanosleep_copyout()
2082 if (put_timespec64(ts, restart->nanosleep.rmtp)) in nanosleep_copyout()
2093 struct restart_block *restart; in do_nanosleep() local
2112 restart = ¤t->restart_block; in do_nanosleep()
2113 if (restart->nanosleep.type != TT_NONE) { in do_nanosleep()
2121 return nanosleep_copyout(restart, &rmt); in do_nanosleep()
2126 static long __sched hrtimer_nanosleep_restart(struct restart_block *restart) in hrtimer_nanosleep_restart() argument
2131 hrtimer_setup_sleeper_on_stack(&t, restart->nanosleep.clockid, HRTIMER_MODE_ABS); in hrtimer_nanosleep_restart()
2132 hrtimer_set_expires_tv64(&t.timer, restart->nanosleep.expires); in hrtimer_nanosleep_restart()
2141 struct restart_block *restart; in hrtimer_nanosleep() local
2157 restart = ¤t->restart_block; in hrtimer_nanosleep()
2158 restart->nanosleep.clockid = t.timer.base->clockid; in hrtimer_nanosleep()
2159 restart->nanosleep.expires = hrtimer_get_expires_tv64(&t.timer); in hrtimer_nanosleep()
2160 set_restart_fn(restart, hrtimer_nanosleep_restart); in hrtimer_nanosleep()