Lines Matching refs:expires
213 hrtimer_set_expires(&alarm->timer, alarm->node.expires); in alarmtimer_fired()
227 return ktime_sub(alarm->node.expires, base->get_ktime()); in alarm_expires_remaining()
243 ktime_t min, now, expires; in alarmtimer_suspend() local
251 expires = freezer_expires; in alarmtimer_suspend()
272 delta = ktime_sub(next->expires, base->get_ktime()); in alarmtimer_suspend()
274 expires = next->expires; in alarmtimer_suspend()
287 trace_alarmtimer_suspend(expires, type); in alarmtimer_suspend()
361 alarm->node.expires = start; in alarm_start()
363 hrtimer_start(&alarm->timer, alarm->node.expires, HRTIMER_MODE_ABS); in alarm_start()
390 hrtimer_set_expires(&alarm->timer, alarm->node.expires); in alarm_restart()
445 delta = ktime_sub(now, alarm->node.expires); in alarm_forward()
455 alarm->node.expires = ktime_add_ns(alarm->node.expires, in alarm_forward()
458 if (alarm->node.expires > now) in alarm_forward()
467 alarm->node.expires = ktime_add_safe(alarm->node.expires, interval); in alarm_forward()
599 alarm_start(alarm, alarm->node.expires); in alarm_timer_rearm()
623 return ktime_sub(alarm->node.expires, now); in alarm_timer_remaining()
655 static void alarm_timer_arm(struct k_itimer *timr, ktime_t expires, in alarm_timer_arm() argument
662 expires = ktime_add_safe(expires, base->get_ktime()); in alarm_timer_arm()
664 alarm->node.expires = expires; in alarm_timer_arm()
666 alarm_start(&timr->it.alarm.alarmtimer, expires); in alarm_timer_arm()
827 ktime_t exp = restart->nanosleep.expires; in alarm_timer_nsleep_restart()
882 restart->nanosleep.expires = exp; in alarm_timer_nsleep()