Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/kernel/time/
H A Dhrtimer.c193 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 …]
H A Dtimer.c969 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()
1933 static void migrate_timer_list(struct timer_base *new_base, struct hlist_head *head) in migrate_timer_list() argument
1936 int cpu = new_base->cpu; in migrate_timer_list()
[all …]
H A Dntp.c262 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()
/OK3568_Linux_fs/kernel/tools/testing/selftests/x86/
H A Dldt_gdt.c738 unsigned long new_base; in test_gdt_invalidation() local
828 syscall(SYS_arch_prctl, ARCH_GET_FS, &new_base); in test_gdt_invalidation()
848 if (sel == 0 && new_base != 0) { in test_gdt_invalidation()
850 printf("[FAIL]\tNew FSBASE was 0x%lx\n", new_base); in test_gdt_invalidation()
881 syscall(SYS_arch_prctl, ARCH_GET_GS, &new_base); in test_gdt_invalidation()
901 if (sel == 0 && new_base != 0) { in test_gdt_invalidation()
903 printf("[FAIL]\tNew GSBASE was 0x%lx\n", new_base); in test_gdt_invalidation()
/OK3568_Linux_fs/u-boot/arch/x86/include/asm/
H A Du-boot-x86.h86 void timer_set_tsc_base(uint64_t new_base);
/OK3568_Linux_fs/kernel/arch/sparc/mm/
H A Dinit_64.c142 unsigned long new_base = PAGE_ALIGN(base); in read_obp_memory() local
144 size -= new_base - base; in read_obp_memory()
147 base = new_base; in read_obp_memory()