Lines Matching refs:new_base
195 hrtimer_check_target(struct hrtimer *timer, struct hrtimer_clock_base *new_base) in hrtimer_check_target() argument
199 expires = ktime_sub(hrtimer_get_expires(timer), new_base->offset); in hrtimer_check_target()
200 return expires < new_base->cpu_base->expires_next; in hrtimer_check_target()
231 struct hrtimer_clock_base *new_base; in switch_hrtimer_base() local
237 new_base = &new_cpu_base->clock_base[basenum]; in switch_hrtimer_base()
239 if (base != new_base) { in switch_hrtimer_base()
255 raw_spin_lock(&new_base->cpu_base->lock); in switch_hrtimer_base()
258 hrtimer_check_target(timer, new_base)) { in switch_hrtimer_base()
259 raw_spin_unlock(&new_base->cpu_base->lock); in switch_hrtimer_base()
265 WRITE_ONCE(timer->base, new_base); in switch_hrtimer_base()
268 hrtimer_check_target(timer, new_base)) { in switch_hrtimer_base()
273 return new_base; in switch_hrtimer_base()
1218 struct hrtimer_clock_base *new_base; in __hrtimer_start_range_ns() local
1254 new_base = switch_hrtimer_base(timer, base, in __hrtimer_start_range_ns()
1257 new_base = base; in __hrtimer_start_range_ns()
1260 first = enqueue_hrtimer(timer, new_base, mode); in __hrtimer_start_range_ns()
1269 hrtimer_force_reprogram(new_base->cpu_base, 1); in __hrtimer_start_range_ns()
2174 struct hrtimer_clock_base *new_base) in migrate_hrtimer_list() argument
2190 timer->base = new_base; in migrate_hrtimer_list()
2199 enqueue_hrtimer(timer, new_base, HRTIMER_MODE_ABS); in migrate_hrtimer_list()
2206 struct hrtimer_cpu_base *old_base, *new_base; in hrtimers_cpu_dying() local
2209 new_base = &per_cpu(hrtimer_bases, ncpu); in hrtimers_cpu_dying()
2216 raw_spin_lock_nested(&new_base->lock, SINGLE_DEPTH_NESTING); in hrtimers_cpu_dying()
2220 &new_base->clock_base[i]); in hrtimers_cpu_dying()
2227 __hrtimer_get_next_event(new_base, HRTIMER_ACTIVE_SOFT); in hrtimers_cpu_dying()
2231 raw_spin_unlock(&new_base->lock); in hrtimers_cpu_dying()