Lines Matching refs:new_base

189 hrtimer_check_target(struct hrtimer *timer, struct hrtimer_clock_base *new_base)  in hrtimer_check_target()  argument
193 expires = ktime_sub(hrtimer_get_expires(timer), new_base->offset); in hrtimer_check_target()
194 return expires < new_base->cpu_base->expires_next; in hrtimer_check_target()
225 struct hrtimer_clock_base *new_base; in switch_hrtimer_base() local
231 new_base = &new_cpu_base->clock_base[basenum]; in switch_hrtimer_base()
233 if (base != new_base) { in switch_hrtimer_base()
249 raw_spin_lock(&new_base->cpu_base->lock); in switch_hrtimer_base()
252 hrtimer_check_target(timer, new_base)) { in switch_hrtimer_base()
253 raw_spin_unlock(&new_base->cpu_base->lock); in switch_hrtimer_base()
259 WRITE_ONCE(timer->base, new_base); in switch_hrtimer_base()
262 hrtimer_check_target(timer, new_base)) { in switch_hrtimer_base()
267 return new_base; in switch_hrtimer_base()
1085 struct hrtimer_clock_base *new_base; in __hrtimer_start_range_ns() local
1098 new_base = switch_hrtimer_base(timer, base, mode & HRTIMER_MODE_PINNED); in __hrtimer_start_range_ns()
1100 return enqueue_hrtimer(timer, new_base, mode); in __hrtimer_start_range_ns()
2010 struct hrtimer_clock_base *new_base) in migrate_hrtimer_list() argument
2026 timer->base = new_base; in migrate_hrtimer_list()
2035 enqueue_hrtimer(timer, new_base, HRTIMER_MODE_ABS); in migrate_hrtimer_list()
2041 struct hrtimer_cpu_base *old_base, *new_base; in hrtimers_dead_cpu() local
2055 new_base = this_cpu_ptr(&hrtimer_bases); in hrtimers_dead_cpu()
2060 raw_spin_lock(&new_base->lock); in hrtimers_dead_cpu()
2065 &new_base->clock_base[i]); in hrtimers_dead_cpu()
2072 hrtimer_update_softirq_timer(new_base, false); in hrtimers_dead_cpu()
2075 raw_spin_unlock(&new_base->lock); in hrtimers_dead_cpu()