Lines Matching refs:new_base

194 hrtimer_check_target(struct hrtimer *timer, struct hrtimer_clock_base *new_base)  in hrtimer_check_target()  argument
198 expires = ktime_sub(hrtimer_get_expires(timer), new_base->offset); in hrtimer_check_target()
199 return expires < new_base->cpu_base->expires_next; in hrtimer_check_target()
230 struct hrtimer_clock_base *new_base; in switch_hrtimer_base() local
236 new_base = &new_cpu_base->clock_base[basenum]; in switch_hrtimer_base()
238 if (base != new_base) { in switch_hrtimer_base()
254 raw_spin_lock(&new_base->cpu_base->lock); in switch_hrtimer_base()
257 hrtimer_check_target(timer, new_base)) { in switch_hrtimer_base()
258 raw_spin_unlock(&new_base->cpu_base->lock); in switch_hrtimer_base()
264 WRITE_ONCE(timer->base, new_base); in switch_hrtimer_base()
267 hrtimer_check_target(timer, new_base)) { in switch_hrtimer_base()
272 return new_base; in switch_hrtimer_base()
1220 struct hrtimer_clock_base *new_base; in __hrtimer_start_range_ns() local
1256 new_base = switch_hrtimer_base(timer, base, in __hrtimer_start_range_ns()
1259 new_base = base; in __hrtimer_start_range_ns()
1262 first = enqueue_hrtimer(timer, new_base, mode); in __hrtimer_start_range_ns()
1271 hrtimer_force_reprogram(new_base->cpu_base, 1); in __hrtimer_start_range_ns()
2195 struct hrtimer_clock_base *new_base) in migrate_hrtimer_list() argument
2211 timer->base = new_base; in migrate_hrtimer_list()
2220 enqueue_hrtimer(timer, new_base, HRTIMER_MODE_ABS); in migrate_hrtimer_list()
2226 struct hrtimer_cpu_base *old_base, *new_base; in hrtimers_cpu_dying() local
2232 new_base = &per_cpu(hrtimer_bases, ncpu); in hrtimers_cpu_dying()
2239 raw_spin_lock_nested(&new_base->lock, SINGLE_DEPTH_NESTING); in hrtimers_cpu_dying()
2243 &new_base->clock_base[i]); in hrtimers_cpu_dying()
2250 __hrtimer_get_next_event(new_base, HRTIMER_ACTIVE_SOFT); in hrtimers_cpu_dying()
2254 raw_spin_unlock(&new_base->lock); in hrtimers_cpu_dying()