Home
last modified time | relevance | path

Searched refs:new_base (Results 1 – 4 of 4) sorted by relevance

/linux-4.1.27/kernel/time/
Dhrtimer.c178 hrtimer_check_target(struct hrtimer *timer, struct hrtimer_clock_base *new_base) in hrtimer_check_target() argument
183 if (!new_base->cpu_base->hres_active) in hrtimer_check_target()
186 expires = ktime_sub(hrtimer_get_expires(timer), new_base->offset); in hrtimer_check_target()
187 return expires.tv64 <= new_base->cpu_base->expires_next.tv64; in hrtimer_check_target()
200 struct hrtimer_clock_base *new_base; in switch_hrtimer_base() local
208 new_base = &new_cpu_base->clock_base[basenum]; in switch_hrtimer_base()
210 if (base != new_base) { in switch_hrtimer_base()
226 raw_spin_lock(&new_base->cpu_base->lock); in switch_hrtimer_base()
228 if (cpu != this_cpu && hrtimer_check_target(timer, new_base)) { in switch_hrtimer_base()
230 raw_spin_unlock(&new_base->cpu_base->lock); in switch_hrtimer_base()
[all …]
Dtimer.c124 timer_set_base(struct timer_list *timer, struct tvec_base *new_base) in timer_set_base() argument
128 timer->base = (struct tvec_base *)((unsigned long)(new_base) | flags); in timer_set_base()
775 struct tvec_base *base, *new_base; in __mod_timer() local
791 new_base = per_cpu(tvec_bases, cpu); in __mod_timer()
793 if (base != new_base) { in __mod_timer()
805 base = new_base; in __mod_timer()
1548 static void migrate_timer_list(struct tvec_base *new_base, struct list_head *head) in migrate_timer_list() argument
1556 timer_set_base(timer, new_base); in migrate_timer_list()
1557 internal_add_timer(new_base, timer); in migrate_timer_list()
1564 struct tvec_base *new_base; in migrate_timers() local
[all …]
Dntp.c253 u64 new_base; in ntp_update_frequency() local
262 new_base = div_u64(second_length, NTP_INTERVAL_FREQ); in ntp_update_frequency()
268 tick_length += new_base - tick_length_base; in ntp_update_frequency()
269 tick_length_base = new_base; in ntp_update_frequency()
/linux-4.1.27/arch/sparc/mm/
Dinit_64.c141 unsigned long new_base = PAGE_ALIGN(base); in read_obp_memory() local
143 size -= new_base - base; in read_obp_memory()
146 base = new_base; in read_obp_memory()