Home
last modified time | relevance | path

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

/linux-3.4.99/kernel/
Dhrtimer.c177 hrtimer_check_target(struct hrtimer *timer, struct hrtimer_clock_base *new_base) in hrtimer_check_target() argument
182 if (!new_base->cpu_base->hres_active) in hrtimer_check_target()
185 expires = ktime_sub(hrtimer_get_expires(timer), new_base->offset); in hrtimer_check_target()
186 return expires.tv64 <= new_base->cpu_base->expires_next.tv64; in hrtimer_check_target()
199 struct hrtimer_clock_base *new_base; in switch_hrtimer_base() local
207 new_base = &new_cpu_base->clock_base[basenum]; in switch_hrtimer_base()
209 if (base != new_base) { in switch_hrtimer_base()
225 raw_spin_lock(&new_base->cpu_base->lock); in switch_hrtimer_base()
227 if (cpu != this_cpu && hrtimer_check_target(timer, new_base)) { in switch_hrtimer_base()
229 raw_spin_unlock(&new_base->cpu_base->lock); in switch_hrtimer_base()
[all …]
Dtimer.c109 timer_set_base(struct timer_list *timer, struct tvec_base *new_base) in timer_set_base() argument
111 timer->base = (struct tvec_base *)((unsigned long)(new_base) | in timer_set_base()
710 struct tvec_base *base, *new_base; in __mod_timer() local
738 new_base = per_cpu(tvec_bases, cpu); in __mod_timer()
740 if (base != new_base) { in __mod_timer()
752 base = new_base; in __mod_timer()
1707 static void migrate_timer_list(struct tvec_base *new_base, struct list_head *head) in migrate_timer_list() argument
1714 timer_set_base(timer, new_base); in migrate_timer_list()
1715 if (time_before(timer->expires, new_base->next_timer) && in migrate_timer_list()
1717 new_base->next_timer = timer->expires; in migrate_timer_list()
[all …]
/linux-3.4.99/kernel/time/
Dntp.c259 u64 new_base; in ntp_update_frequency() local
268 new_base = div_u64(second_length, NTP_INTERVAL_FREQ); in ntp_update_frequency()
274 tick_length += new_base - tick_length_base; in ntp_update_frequency()
275 tick_length_base = new_base; in ntp_update_frequency()
/linux-3.4.99/drivers/net/tokenring/
Dibmtr.c664 __u32 new_base, rrr_32, chk_base, rbm; in ibmtr_probe1() local
668 new_base = (ibmtr_mem_base + (~rbm)) & rbm;/* up to boundary */ in ibmtr_probe1()
669 chk_base = new_base + (ti->mapped_ram_size << 9); in ibmtr_probe1()
677 ti->sram_base = new_base >> 12; in ibmtr_probe1()
/linux-3.4.99/arch/sparc/mm/
Dinit_64.c119 unsigned long new_base = PAGE_ALIGN(base); in read_obp_memory() local
121 size -= new_base - base; in read_obp_memory()
124 base = new_base; in read_obp_memory()