Home
last modified time | relevance | path

Searched refs:loaded_mm (Results 1 – 7 of 7) sorted by relevance

/Linux-v4.19/arch/x86/mm/
Dtlb.c125 struct mm_struct *loaded_mm = this_cpu_read(cpu_tlbstate.loaded_mm); in leave_mm() local
135 if (loaded_mm == &init_mm) in leave_mm()
186 struct mm_struct *real_prev = this_cpu_read(cpu_tlbstate.loaded_mm); in switch_mm_irqs_off()
309 this_cpu_write(cpu_tlbstate.loaded_mm, LOADED_MM_SWITCHING); in switch_mm_irqs_off()
345 this_cpu_write(cpu_tlbstate.loaded_mm, next); in switch_mm_irqs_off()
368 if (this_cpu_read(cpu_tlbstate.loaded_mm) == &init_mm) in enter_lazy_tlb()
403 struct mm_struct *mm = this_cpu_read(cpu_tlbstate.loaded_mm); in initialize_tlbstate_and_flush()
451 struct mm_struct *loaded_mm = this_cpu_read(cpu_tlbstate.loaded_mm); in flush_tlb_func_common() local
453 u64 mm_tlb_gen = atomic64_read(&loaded_mm->context.tlb_gen); in flush_tlb_func_common()
459 if (unlikely(loaded_mm == &init_mm)) in flush_tlb_func_common()
[all …]
Dinit.c913 .loaded_mm = &init_mm,
/Linux-v4.19/arch/x86/include/asm/
Dtlbflush.h184 struct mm_struct *loaded_mm; member
266 struct mm_struct *loaded_mm = this_cpu_read(cpu_tlbstate.loaded_mm); in nmi_uaccess_okay() local
269 VM_WARN_ON_ONCE(!loaded_mm); in nmi_uaccess_okay()
281 if (loaded_mm != current_mm) in nmi_uaccess_okay()
Dmmu_context.h331 unsigned long cr3 = build_cr3(this_cpu_read(cpu_tlbstate.loaded_mm)->pgd, in __get_current_cr3_fast()
/Linux-v4.19/arch/x86/kernel/
Dldt.c56 if (this_cpu_read(cpu_tlbstate.loaded_mm) != mm) in flush_ldt()
/Linux-v4.19/arch/x86/events/
Dcore.c2135 load_mm_cr4(this_cpu_read(cpu_tlbstate.loaded_mm)); in refresh_pce()
/Linux-v4.19/arch/x86/xen/
Dmmu_pv.c986 if (this_cpu_read(cpu_tlbstate.loaded_mm) == mm) in drop_mm_ref_this_cpu()