Lines Matching refs:restart
1034 bool restart, bool keep_local) in remove_hrtimer() argument
1058 if (!restart) in remove_hrtimer()
1547 int restart; in __run_hrtimer() local
1583 restart = fn(timer); in __run_hrtimer()
1598 if (restart != HRTIMER_NORESTART && in __run_hrtimer()
1914 int nanosleep_copyout(struct restart_block *restart, struct timespec64 *ts) in nanosleep_copyout() argument
1916 switch(restart->nanosleep.type) { in nanosleep_copyout()
1919 if (put_old_timespec32(ts, restart->nanosleep.compat_rmtp)) in nanosleep_copyout()
1924 if (put_timespec64(ts, restart->nanosleep.rmtp)) in nanosleep_copyout()
1935 struct restart_block *restart; in do_nanosleep() local
1954 restart = ¤t->restart_block; in do_nanosleep()
1955 if (restart->nanosleep.type != TT_NONE) { in do_nanosleep()
1963 return nanosleep_copyout(restart, &rmt); in do_nanosleep()
1968 static long __sched hrtimer_nanosleep_restart(struct restart_block *restart) in hrtimer_nanosleep_restart() argument
1973 hrtimer_init_sleeper_on_stack(&t, restart->nanosleep.clockid, in hrtimer_nanosleep_restart()
1975 hrtimer_set_expires_tv64(&t.timer, restart->nanosleep.expires); in hrtimer_nanosleep_restart()
1984 struct restart_block *restart; in hrtimer_nanosleep() local
2005 restart = ¤t->restart_block; in hrtimer_nanosleep()
2006 restart->nanosleep.clockid = t.timer.base->clockid; in hrtimer_nanosleep()
2007 restart->nanosleep.expires = hrtimer_get_expires_tv64(&t.timer); in hrtimer_nanosleep()
2008 set_restart_fn(restart, hrtimer_nanosleep_restart); in hrtimer_nanosleep()