Lines Matching refs:restart
1015 remove_hrtimer(struct hrtimer *timer, struct hrtimer_clock_base *base, bool restart) in remove_hrtimer() argument
1033 if (!restart) in remove_hrtimer()
1483 int restart; in __run_hrtimer() local
1519 restart = fn(timer); in __run_hrtimer()
1534 if (restart != HRTIMER_NORESTART && in __run_hrtimer()
1850 int nanosleep_copyout(struct restart_block *restart, struct timespec64 *ts) in nanosleep_copyout() argument
1852 switch(restart->nanosleep.type) { in nanosleep_copyout()
1855 if (put_old_timespec32(ts, restart->nanosleep.compat_rmtp)) in nanosleep_copyout()
1860 if (put_timespec64(ts, restart->nanosleep.rmtp)) in nanosleep_copyout()
1871 struct restart_block *restart; in do_nanosleep() local
1890 restart = ¤t->restart_block; in do_nanosleep()
1891 if (restart->nanosleep.type != TT_NONE) { in do_nanosleep()
1899 return nanosleep_copyout(restart, &rmt); in do_nanosleep()
1904 static long __sched hrtimer_nanosleep_restart(struct restart_block *restart) in hrtimer_nanosleep_restart() argument
1909 hrtimer_init_sleeper_on_stack(&t, restart->nanosleep.clockid, in hrtimer_nanosleep_restart()
1911 hrtimer_set_expires_tv64(&t.timer, restart->nanosleep.expires); in hrtimer_nanosleep_restart()
1920 struct restart_block *restart; in hrtimer_nanosleep() local
1941 restart = ¤t->restart_block; in hrtimer_nanosleep()
1942 restart->fn = hrtimer_nanosleep_restart; in hrtimer_nanosleep()
1943 restart->nanosleep.clockid = t.timer.base->clockid; in hrtimer_nanosleep()
1944 restart->nanosleep.expires = hrtimer_get_expires_tv64(&t.timer); in hrtimer_nanosleep()