Lines Matching refs:new_base
188 static bool hrtimer_suitable_target(struct hrtimer *timer, struct hrtimer_clock_base *new_base,
210 expires = ktime_sub(hrtimer_get_expires(timer), new_base->offset);
212 return expires >= new_base->cpu_base->expires_next;
247 struct hrtimer_clock_base *new_base;
253 new_base = &new_cpu_base->clock_base[basenum];
255 if (base != new_base) {
257 * We are trying to move timer to new_base.
271 raw_spin_lock(&new_base->cpu_base->lock);
273 if (!hrtimer_suitable_target(timer, new_base, new_cpu_base,
275 raw_spin_unlock(&new_base->cpu_base->lock);
281 WRITE_ONCE(timer->base, new_base);
283 if (!hrtimer_suitable_target(timer, new_base, new_cpu_base, this_cpu_base)) {
288 return new_base;
1215 struct hrtimer_clock_base *new_base;
1257 new_base = switch_hrtimer_base(timer, base,
1260 new_base = base;
1263 first = enqueue_hrtimer(timer, new_base, mode);
1279 struct hrtimer_cpu_base *new_cpu_base = new_base->cpu_base;
1291 hrtimer_force_reprogram(new_base->cpu_base, 1);
2265 struct hrtimer_clock_base *new_base)
2281 timer->base = new_base;
2290 enqueue_hrtimer(timer, new_base, HRTIMER_MODE_ABS);
2297 struct hrtimer_cpu_base *old_base, *new_base;
2300 new_base = &per_cpu(hrtimer_bases, ncpu);
2307 raw_spin_lock_nested(&new_base->lock, SINGLE_DEPTH_NESTING);
2311 &new_base->clock_base[i]);
2317 raw_spin_unlock(&new_base->lock);