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 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()
1074 struct hrtimer_clock_base *new_base; in __hrtimer_start_range_ns() local
1087 new_base = switch_hrtimer_base(timer, base, mode & HRTIMER_MODE_PINNED); in __hrtimer_start_range_ns()
1089 return enqueue_hrtimer(timer, new_base, mode); in __hrtimer_start_range_ns()
1827 struct hrtimer_clock_base *new_base) in migrate_hrtimer_list() argument
1843 timer->base = new_base; in migrate_hrtimer_list()
1852 enqueue_hrtimer(timer, new_base, HRTIMER_MODE_ABS); in migrate_hrtimer_list()
1858 struct hrtimer_cpu_base *old_base, *new_base; in hrtimers_dead_cpu() local
1872 new_base = this_cpu_ptr(&hrtimer_bases); in hrtimers_dead_cpu()
1877 raw_spin_lock(&new_base->lock); in hrtimers_dead_cpu()
1882 &new_base->clock_base[i]); in hrtimers_dead_cpu()
1889 hrtimer_update_softirq_timer(new_base, false); in hrtimers_dead_cpu()
1892 raw_spin_unlock(&new_base->lock); in hrtimers_dead_cpu()