Lines Matching refs:gettime
45 ktime_t (*gettime)(void); member
210 restart = alarm->function(alarm, base->gettime()); in alarmtimer_fired()
220 trace_alarmtimer_fired(alarm, base->gettime()); in alarmtimer_fired()
228 return ktime_sub(alarm->node.expires, base->gettime()); in alarm_expires_remaining()
273 delta = ktime_sub(next->expires, base->gettime()); in alarmtimer_suspend()
367 trace_alarmtimer_start(alarm, base->gettime()); in alarm_start()
380 start = ktime_add_safe(start, base->gettime()); in alarm_start_relative()
417 trace_alarmtimer_cancel(alarm, base->gettime()); in alarm_try_to_cancel()
477 return alarm_forward(alarm, base->gettime(), interval); in alarm_forward_now()
503 delta = ktime_sub(absexp, base->gettime()); in alarmtimer_freezerset()
635 expires = ktime_add_safe(expires, base->gettime()); in alarm_timer_arm()
673 *tp = ktime_to_timespec64(base->gettime()); in alarm_clock_get()
750 rem = ktime_sub(absexp, alarm_bases[type].gettime()); in alarmtimer_do_nsleep()
819 ktime_t now = alarm_bases[type].gettime(); in alarm_timer_nsleep()
885 alarm_bases[ALARM_REALTIME].gettime = &ktime_get_real; in alarmtimer_init()
887 alarm_bases[ALARM_BOOTTIME].gettime = &ktime_get_boottime; in alarmtimer_init()