Lines Matching defs:restart
1996 int restart;
2032 restart = fn(timer);
2047 if (restart == HRTIMER_RESTART && !timer->is_queued)
2371 int nanosleep_copyout(struct restart_block *restart, struct timespec64 *ts)
2373 switch(restart->nanosleep.type) {
2376 if (put_old_timespec32(ts, restart->nanosleep.compat_rmtp))
2381 if (put_timespec64(ts, restart->nanosleep.rmtp))
2392 struct restart_block *restart;
2411 restart = ¤t->restart_block;
2412 if (restart->nanosleep.type != TT_NONE) {
2420 return nanosleep_copyout(restart, &rmt);
2425 static long __sched hrtimer_nanosleep_restart(struct restart_block *restart)
2430 hrtimer_setup_sleeper_on_stack(&t, restart->nanosleep.clockid, HRTIMER_MODE_ABS);
2431 hrtimer_set_expires(&t.timer, restart->nanosleep.expires);
2439 struct restart_block *restart;
2449 /* Absolute timers do not update the rmtp value and restart: */
2455 restart = ¤t->restart_block;
2456 restart->nanosleep.clockid = t.timer.base->clockid;
2457 restart->nanosleep.expires = hrtimer_get_expires(&t.timer);
2458 set_restart_fn(restart, hrtimer_nanosleep_restart);