Lines Matching refs:restart
1014 remove_hrtimer(struct hrtimer *timer, struct hrtimer_clock_base *base, bool restart) in remove_hrtimer() argument
1031 if (!restart) in remove_hrtimer()
1480 int restart; in __run_hrtimer() local
1514 restart = fn(timer); in __run_hrtimer()
1527 if (restart != HRTIMER_NORESTART && in __run_hrtimer()
1843 int nanosleep_copyout(struct restart_block *restart, struct timespec64 *ts) in nanosleep_copyout() argument
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()
1864 struct restart_block *restart; in do_nanosleep() local
1883 restart = ¤t->restart_block; in do_nanosleep()
1884 if (restart->nanosleep.type != TT_NONE) { in do_nanosleep()
1892 return nanosleep_copyout(restart, &rmt); in do_nanosleep()
1897 static long __sched hrtimer_nanosleep_restart(struct restart_block *restart) in hrtimer_nanosleep_restart() argument
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()
1913 struct restart_block *restart; in hrtimer_nanosleep() local
1934 restart = ¤t->restart_block; in hrtimer_nanosleep()
1935 restart->fn = hrtimer_nanosleep_restart; in hrtimer_nanosleep()
1936 restart->nanosleep.clockid = t.timer.base->clockid; in hrtimer_nanosleep()
1937 restart->nanosleep.expires = hrtimer_get_expires_tv64(&t.timer); in hrtimer_nanosleep()