Lines Matching refs:new_base
193 hrtimer_check_target(struct hrtimer *timer, struct hrtimer_clock_base *new_base) in hrtimer_check_target() argument
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()
229 struct hrtimer_clock_base *new_base; in switch_hrtimer_base() local
235 new_base = &new_cpu_base->clock_base[basenum]; in switch_hrtimer_base()
237 if (base != new_base) { in switch_hrtimer_base()
253 raw_spin_lock(&new_base->cpu_base->lock); in switch_hrtimer_base()
256 hrtimer_check_target(timer, new_base)) { in switch_hrtimer_base()
257 raw_spin_unlock(&new_base->cpu_base->lock); in switch_hrtimer_base()
263 WRITE_ONCE(timer->base, new_base); in switch_hrtimer_base()
266 hrtimer_check_target(timer, new_base)) { in switch_hrtimer_base()
271 return new_base; in switch_hrtimer_base()
1087 struct hrtimer_clock_base *new_base; in __hrtimer_start_range_ns() local
1100 new_base = switch_hrtimer_base(timer, base, mode & HRTIMER_MODE_PINNED); in __hrtimer_start_range_ns()
1102 return enqueue_hrtimer(timer, new_base, mode); in __hrtimer_start_range_ns()
2022 struct hrtimer_clock_base *new_base) in migrate_hrtimer_list() argument
2038 timer->base = new_base; in migrate_hrtimer_list()
2047 enqueue_hrtimer(timer, new_base, HRTIMER_MODE_ABS); in migrate_hrtimer_list()
2053 struct hrtimer_cpu_base *old_base, *new_base; in hrtimers_dead_cpu() local
2067 new_base = this_cpu_ptr(&hrtimer_bases); in hrtimers_dead_cpu()
2072 raw_spin_lock(&new_base->lock); in hrtimers_dead_cpu()
2077 &new_base->clock_base[i]); in hrtimers_dead_cpu()
2084 hrtimer_update_softirq_timer(new_base, false); in hrtimers_dead_cpu()
2087 raw_spin_unlock(&new_base->lock); in hrtimers_dead_cpu()