Lines Matching refs:expires
181 ktime_t expires; in hrtimer_check_target() local
186 expires = ktime_sub(hrtimer_get_expires(timer), new_base->offset); in hrtimer_check_target()
187 return expires.tv64 <= new_base->cpu_base->expires_next.tv64; in hrtimer_check_target()
449 ktime_t expires, expires_next = { .tv64 = KTIME_MAX }; in __hrtimer_get_next_event() local
461 expires = ktime_sub(hrtimer_get_expires(timer), base->offset); in __hrtimer_get_next_event()
462 if (expires.tv64 < expires_next.tv64) in __hrtimer_get_next_event()
463 expires_next = expires; in __hrtimer_get_next_event()
570 ktime_t expires = ktime_sub(hrtimer_get_expires(timer), base->offset); in hrtimer_reprogram() local
591 if (expires.tv64 < 0) in hrtimer_reprogram()
594 if (expires.tv64 >= cpu_base->expires_next.tv64) in hrtimer_reprogram()
618 res = tick_program_event(expires, 0); in hrtimer_reprogram()
620 cpu_base->expires_next = expires; in hrtimer_reprogram()
888 ktime_t expires; in __remove_hrtimer() local
890 expires = ktime_sub(hrtimer_get_expires(timer), in __remove_hrtimer()
892 if (base->cpu_base->expires_next.tv64 == expires.tv64) in __remove_hrtimer()
1540 hrtimer_set_expires_tv64(&t.timer, restart->nanosleep.expires); in hrtimer_nanosleep_restart()
1592 restart->nanosleep.expires = hrtimer_get_expires_tv64(&t.timer); in hrtimer_nanosleep()
1747 schedule_hrtimeout_range_clock(ktime_t *expires, unsigned long delta, in schedule_hrtimeout_range_clock() argument
1756 if (expires && !expires->tv64) { in schedule_hrtimeout_range_clock()
1764 if (!expires) { in schedule_hrtimeout_range_clock()
1770 hrtimer_set_expires_range_ns(&t.timer, *expires, delta); in schedule_hrtimeout_range_clock()
1817 int __sched schedule_hrtimeout_range(ktime_t *expires, unsigned long delta, in schedule_hrtimeout_range() argument
1820 return schedule_hrtimeout_range_clock(expires, delta, mode, in schedule_hrtimeout_range()
1847 int __sched schedule_hrtimeout(ktime_t *expires, in schedule_hrtimeout() argument
1850 return schedule_hrtimeout_range(expires, 0, mode); in schedule_hrtimeout()