Lines Matching refs:expires
214 hrtimer_set_expires(&alarm->timer, alarm->node.expires); in alarmtimer_fired()
228 return ktime_sub(alarm->node.expires, base->get_ktime()); in alarm_expires_remaining()
244 ktime_t min, now, expires; in alarmtimer_suspend() local
252 expires = freezer_expires; in alarmtimer_suspend()
273 delta = ktime_sub(next->expires, base->get_ktime()); in alarmtimer_suspend()
275 expires = next->expires; in alarmtimer_suspend()
288 trace_alarmtimer_suspend(expires, type); in alarmtimer_suspend()
362 alarm->node.expires = start; in alarm_start()
364 hrtimer_start(&alarm->timer, alarm->node.expires, HRTIMER_MODE_ABS); in alarm_start()
391 hrtimer_set_expires(&alarm->timer, alarm->node.expires); in alarm_restart()
446 delta = ktime_sub(now, alarm->node.expires); in alarm_forward()
456 alarm->node.expires = ktime_add_ns(alarm->node.expires, in alarm_forward()
459 if (alarm->node.expires > now) in alarm_forward()
468 alarm->node.expires = ktime_add_safe(alarm->node.expires, interval); in alarm_forward()
575 alarm_start(alarm, alarm->node.expires); in alarm_timer_rearm()
599 return ktime_sub(alarm->node.expires, now); in alarm_timer_remaining()
631 static void alarm_timer_arm(struct k_itimer *timr, ktime_t expires, in alarm_timer_arm() argument
638 expires = ktime_add_safe(expires, base->get_ktime()); in alarm_timer_arm()
640 alarm->node.expires = expires; in alarm_timer_arm()
642 alarm_start(&timr->it.alarm.alarmtimer, expires); in alarm_timer_arm()
803 ktime_t exp = restart->nanosleep.expires; in alarm_timer_nsleep_restart()
858 restart->nanosleep.expires = exp; in alarm_timer_nsleep()