Lines Matching refs:expires
901 u64 basemono, next_tick, delta, expires; in tick_nohz_next_event() local
967 expires = basemono + delta; in tick_nohz_next_event()
969 expires = KTIME_MAX; in tick_nohz_next_event()
971 ts->timer_expires = min_t(u64, expires, next_tick); in tick_nohz_next_event()
984 u64 expires; in tick_nohz_stop_tick() local
993 expires = timer_base_try_to_set_idle(basejiff, basemono, &timer_idle); in tick_nohz_stop_tick()
994 if (expires > ts->timer_expires) { in tick_nohz_stop_tick()
1006 expires = ts->timer_expires; in tick_nohz_stop_tick()
1030 if (tick_sched_flag_test(ts, TS_FLAG_STOPPED) && (expires == ts->next_tick)) { in tick_nohz_stop_tick()
1032 if (expires == KTIME_MAX || ts->next_tick == hrtimer_get_expires(&ts->sched_timer)) in tick_nohz_stop_tick()
1057 ts->next_tick = expires; in tick_nohz_stop_tick()
1063 if (unlikely(expires == KTIME_MAX)) { in tick_nohz_stop_tick()
1069 hrtimer_start(&ts->sched_timer, expires, in tick_nohz_stop_tick()
1072 hrtimer_set_expires(&ts->sched_timer, expires); in tick_nohz_stop_tick()
1073 tick_program_event(expires, 1); in tick_nohz_stop_tick()
1214 ktime_t expires; in tick_nohz_idle_stop_tick() local
1221 expires = ts->timer_expires; in tick_nohz_idle_stop_tick()
1223 expires = tick_nohz_next_event(ts, cpu); in tick_nohz_idle_stop_tick()
1229 if (expires > 0LL) { in tick_nohz_idle_stop_tick()
1235 ts->idle_expires = expires; in tick_nohz_idle_stop_tick()