Lines Matching refs:expires

195 	ktime_t expires;  in hrtimer_check_target()  local
197 expires = ktime_sub(hrtimer_get_expires(timer), new_base->offset); in hrtimer_check_target()
198 return expires < new_base->cpu_base->expires_next; in hrtimer_check_target()
508 ktime_t expires; in __hrtimer_next_event_base() local
524 expires = ktime_sub(hrtimer_get_expires(timer), base->offset); in __hrtimer_next_event_base()
525 if (expires < expires_next) { in __hrtimer_next_event_base()
526 expires_next = expires; in __hrtimer_next_event_base()
812 ktime_t expires = ktime_sub(hrtimer_get_expires(timer), base->offset); in hrtimer_reprogram() local
820 if (expires < 0) in hrtimer_reprogram()
821 expires = 0; in hrtimer_reprogram()
836 if (!ktime_before(expires, timer_cpu_base->softirq_expires_next)) in hrtimer_reprogram()
840 timer_cpu_base->softirq_expires_next = expires; in hrtimer_reprogram()
842 if (!ktime_before(expires, timer_cpu_base->expires_next) || in hrtimer_reprogram()
854 if (expires >= cpu_base->expires_next) in hrtimer_reprogram()
866 __hrtimer_reprogram(cpu_base, timer, expires); in hrtimer_reprogram()
874 ktime_t expires; in update_needs_ipi() local
916 expires = ktime_sub(next->expires, base->offset); in update_needs_ipi()
917 if (expires < cpu_base->expires_next) in update_needs_ipi()
925 if (expires < cpu_base->softirq_expires_next) in update_needs_ipi()
1190 ktime_t expires; in hrtimer_update_softirq_timer() local
1195 expires = __hrtimer_get_next_event(cpu_base, HRTIMER_ACTIVE_SOFT); in hrtimer_update_softirq_timer()
1202 if (expires == KTIME_MAX) in hrtimer_update_softirq_timer()
1482 u64 expires = KTIME_MAX; in hrtimer_get_next_event() local
1488 expires = __hrtimer_get_next_event(cpu_base, HRTIMER_ACTIVE_ALL); in hrtimer_get_next_event()
1492 return expires; in hrtimer_get_next_event()
1505 u64 expires = KTIME_MAX; in hrtimer_next_event_without() local
1515 expires = __hrtimer_next_event_base(cpu_base, exclude, in hrtimer_next_event_without()
1519 expires = __hrtimer_next_event_base(cpu_base, exclude, active, in hrtimer_next_event_without()
1520 expires); in hrtimer_next_event_without()
1525 return expires; in hrtimer_next_event_without()
2077 hrtimer_set_expires_tv64(&t.timer, restart->nanosleep.expires); in hrtimer_nanosleep_restart()
2109 restart->nanosleep.expires = hrtimer_get_expires_tv64(&t.timer); in hrtimer_nanosleep()
2278 schedule_hrtimeout_range_clock(ktime_t *expires, u64 delta, in schedule_hrtimeout_range_clock() argument
2287 if (expires && *expires == 0) { in schedule_hrtimeout_range_clock()
2295 if (!expires) { in schedule_hrtimeout_range_clock()
2301 hrtimer_set_expires_range_ns(&t.timer, *expires, delta); in schedule_hrtimeout_range_clock()
2348 int __sched schedule_hrtimeout_range(ktime_t *expires, u64 delta, in schedule_hrtimeout_range() argument
2351 return schedule_hrtimeout_range_clock(expires, delta, mode, in schedule_hrtimeout_range()
2382 int __sched schedule_hrtimeout(ktime_t *expires, in schedule_hrtimeout() argument
2385 return schedule_hrtimeout_range(expires, 0, mode); in schedule_hrtimeout()