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()
1216 struct hrtimer_clock_base *new_base; in __hrtimer_start_range_ns() local
1252 new_base = switch_hrtimer_base(timer, base, in __hrtimer_start_range_ns()
1255 new_base = base; in __hrtimer_start_range_ns()
1258 first = enqueue_hrtimer(timer, new_base, mode); in __hrtimer_start_range_ns()
1267 hrtimer_force_reprogram(new_base->cpu_base, 1); in __hrtimer_start_range_ns()
2190 struct hrtimer_clock_base *new_base) in migrate_hrtimer_list() argument
2206 timer->base = new_base; in migrate_hrtimer_list()
2215 enqueue_hrtimer(timer, new_base, HRTIMER_MODE_ABS); in migrate_hrtimer_list()
2221 struct hrtimer_cpu_base *old_base, *new_base; in hrtimers_dead_cpu() local
2235 new_base = this_cpu_ptr(&hrtimer_bases); in hrtimers_dead_cpu()
2240 raw_spin_lock(&new_base->lock); in hrtimers_dead_cpu()
2245 &new_base->clock_base[i]); in hrtimers_dead_cpu()
2252 hrtimer_update_softirq_timer(new_base, false); in hrtimers_dead_cpu()
2255 raw_spin_unlock(&new_base->lock); in hrtimers_dead_cpu()