• Home
  • Raw
  • Download

Lines Matching refs:restart

1136 	       bool restart, bool keep_local)  in remove_hrtimer()  argument
1160 if (!restart) in remove_hrtimer()
1649 int restart; in __run_hrtimer() local
1685 restart = fn(timer); in __run_hrtimer()
1700 if (restart != HRTIMER_NORESTART && in __run_hrtimer()
2016 int nanosleep_copyout(struct restart_block *restart, struct timespec64 *ts) in nanosleep_copyout() argument
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()
2037 struct restart_block *restart; in do_nanosleep() local
2056 restart = &current->restart_block; in do_nanosleep()
2057 if (restart->nanosleep.type != TT_NONE) { in do_nanosleep()
2065 return nanosleep_copyout(restart, &rmt); in do_nanosleep()
2070 static long __sched hrtimer_nanosleep_restart(struct restart_block *restart) in hrtimer_nanosleep_restart() argument
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()
2086 struct restart_block *restart; in hrtimer_nanosleep() local
2107 restart = &current->restart_block; in hrtimer_nanosleep()
2108 restart->nanosleep.clockid = t.timer.base->clockid; in hrtimer_nanosleep()
2109 restart->nanosleep.expires = hrtimer_get_expires_tv64(&t.timer); in hrtimer_nanosleep()
2110 set_restart_fn(restart, hrtimer_nanosleep_restart); in hrtimer_nanosleep()