Lines Matching refs:expires
196 ktime_t expires; in hrtimer_check_target() local
198 expires = ktime_sub(hrtimer_get_expires(timer), new_base->offset); in hrtimer_check_target()
199 return expires < new_base->cpu_base->expires_next; in hrtimer_check_target()
510 ktime_t expires; in __hrtimer_next_event_base() local
526 expires = ktime_sub(hrtimer_get_expires(timer), base->offset); in __hrtimer_next_event_base()
527 if (expires < expires_next) { in __hrtimer_next_event_base()
528 expires_next = expires; in __hrtimer_next_event_base()
814 ktime_t expires = ktime_sub(hrtimer_get_expires(timer), base->offset); in hrtimer_reprogram() local
822 if (expires < 0) in hrtimer_reprogram()
823 expires = 0; in hrtimer_reprogram()
838 if (!ktime_before(expires, timer_cpu_base->softirq_expires_next)) in hrtimer_reprogram()
842 timer_cpu_base->softirq_expires_next = expires; in hrtimer_reprogram()
844 if (!ktime_before(expires, timer_cpu_base->expires_next) || in hrtimer_reprogram()
856 if (expires >= cpu_base->expires_next) in hrtimer_reprogram()
868 __hrtimer_reprogram(cpu_base, timer, expires); in hrtimer_reprogram()
876 ktime_t expires; in update_needs_ipi() local
918 expires = ktime_sub(next->expires, base->offset); in update_needs_ipi()
919 if (expires < cpu_base->expires_next) in update_needs_ipi()
927 if (expires < cpu_base->softirq_expires_next) in update_needs_ipi()
1194 ktime_t expires; in hrtimer_update_softirq_timer() local
1199 expires = __hrtimer_get_next_event(cpu_base, HRTIMER_ACTIVE_SOFT); in hrtimer_update_softirq_timer()
1206 if (expires == KTIME_MAX) in hrtimer_update_softirq_timer()
1486 u64 expires = KTIME_MAX; in hrtimer_get_next_event() local
1492 expires = __hrtimer_get_next_event(cpu_base, HRTIMER_ACTIVE_ALL); in hrtimer_get_next_event()
1496 return expires; in hrtimer_get_next_event()
1509 u64 expires = KTIME_MAX; in hrtimer_next_event_without() local
1519 expires = __hrtimer_next_event_base(cpu_base, exclude, in hrtimer_next_event_without()
1523 expires = __hrtimer_next_event_base(cpu_base, exclude, active, in hrtimer_next_event_without()
1524 expires); in hrtimer_next_event_without()
1529 return expires; in hrtimer_next_event_without()
2081 hrtimer_set_expires_tv64(&t.timer, restart->nanosleep.expires); in hrtimer_nanosleep_restart()
2113 restart->nanosleep.expires = hrtimer_get_expires_tv64(&t.timer); in hrtimer_nanosleep()
2277 schedule_hrtimeout_range_clock(ktime_t *expires, u64 delta, in schedule_hrtimeout_range_clock() argument
2286 if (expires && *expires == 0) { in schedule_hrtimeout_range_clock()
2294 if (!expires) { in schedule_hrtimeout_range_clock()
2307 hrtimer_set_expires_range_ns(&t.timer, *expires, delta); in schedule_hrtimeout_range_clock()
2355 int __sched schedule_hrtimeout_range(ktime_t *expires, u64 delta, in schedule_hrtimeout_range() argument
2358 return schedule_hrtimeout_range_clock(expires, delta, mode, in schedule_hrtimeout_range()
2389 int __sched schedule_hrtimeout(ktime_t *expires, in schedule_hrtimeout() argument
2392 return schedule_hrtimeout_range(expires, 0, mode); in schedule_hrtimeout()