Lines Matching defs:restart
693 struct restart_block *restart;
715 restart = ¤t->restart_block;
716 if (restart->nanosleep.type != TT_NONE) {
726 return nanosleep_copyout(restart, &rmt);
742 * @restart: ptr to restart block
746 static long __sched alarm_timer_nsleep_restart(struct restart_block *restart)
748 enum alarmtimer_type type = restart->nanosleep.clockid;
749 ktime_t exp = restart->nanosleep.expires;
769 struct restart_block *restart = ¤t->restart_block;
799 /* abs timers don't set remaining time or restart */
803 restart->nanosleep.clockid = type;
804 restart->nanosleep.expires = exp;
805 set_restart_fn(restart, alarm_timer_nsleep_restart);