Searched refs:new_base (Results 1 – 3 of 3) sorted by relevance
/kernel/time/ |
D | hrtimer.c | 193 hrtimer_check_target(struct hrtimer *timer, struct hrtimer_clock_base *new_base) in hrtimer_check_target() argument 197 expires = ktime_sub(hrtimer_get_expires(timer), new_base->offset); in hrtimer_check_target() 198 return expires < new_base->cpu_base->expires_next; in hrtimer_check_target() 229 struct hrtimer_clock_base *new_base; in switch_hrtimer_base() local 235 new_base = &new_cpu_base->clock_base[basenum]; in switch_hrtimer_base() 237 if (base != new_base) { in switch_hrtimer_base() 253 raw_spin_lock(&new_base->cpu_base->lock); in switch_hrtimer_base() 256 hrtimer_check_target(timer, new_base)) { in switch_hrtimer_base() 257 raw_spin_unlock(&new_base->cpu_base->lock); in switch_hrtimer_base() 263 WRITE_ONCE(timer->base, new_base); in switch_hrtimer_base() [all …]
|
D | timer.c | 969 struct timer_base *base, *new_base; in __mod_timer() local 1033 new_base = get_target_base(base, timer->flags); in __mod_timer() 1035 if (base != new_base) { in __mod_timer() 1048 base = new_base; in __mod_timer() 1163 struct timer_base *new_base, *base; in add_timer_on() local 1168 new_base = get_timer_cpu_base(timer->flags, cpu); in add_timer_on() 1176 if (base != new_base) { in add_timer_on() 1180 base = new_base; in add_timer_on() 1940 static void migrate_timer_list(struct timer_base *new_base, struct hlist_head *head) in migrate_timer_list() argument 1943 int cpu = new_base->cpu; in migrate_timer_list() [all …]
|
D | ntp.c | 262 u64 new_base; in ntp_update_frequency() local 271 new_base = div_u64(second_length, NTP_INTERVAL_FREQ); in ntp_update_frequency() 277 tick_length += new_base - tick_length_base; in ntp_update_frequency() 278 tick_length_base = new_base; in ntp_update_frequency()
|