Home
last modified time | relevance | path

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

/linux-6.15/arch/x86/mm/
H A Dtlb.c580 struct mm_struct *loaded_mm = this_cpu_read(cpu_tlbstate.loaded_mm); in leave_mm() local
590 if (loaded_mm == &init_mm) in leave_mm()
1045 struct mm_struct *loaded_mm = this_cpu_read(cpu_tlbstate.loaded_mm); in flush_tlb_func() local
1061 if (f->mm && f->mm != loaded_mm) { in flush_tlb_func()
1067 if (unlikely(loaded_mm == &init_mm)) in flush_tlb_func()
1081 loaded_mm->context.ctx_id); in flush_tlb_func()
1208 struct mm_struct *loaded_mm = per_cpu(cpu_tlbstate.loaded_mm, cpu); in should_flush_tlb() local
1234 if (loaded_mm == info->mm) in should_flush_tlb()
1678 struct mm_struct *loaded_mm = this_cpu_read(cpu_tlbstate.loaded_mm); in nmi_uaccess_okay() local
1681 VM_WARN_ON_ONCE(!loaded_mm); in nmi_uaccess_okay()
[all …]
H A Dinit.c1021 .loaded_mm = &init_mm,
/linux-6.15/arch/x86/include/asm/
H A Dtlbflush.h85 struct mm_struct *loaded_mm; member
/linux-6.15/arch/x86/kernel/
H A Dldt.c140 if (this_cpu_read(cpu_tlbstate.loaded_mm) != mm) in flush_ldt()
H A Dprocess_64.c806 if (this_cpu_read(cpu_tlbstate.loaded_mm) == mm) { in enable_lam_func()
H A Dalternative.c2476 temp_state.mm = this_cpu_read(cpu_tlbstate.loaded_mm); in use_temporary_mm()
/linux-6.15/arch/x86/xen/
H A Dmmu_pv.c966 if (this_cpu_read(cpu_tlbstate.loaded_mm) == mm) in drop_mm_ref_this_cpu()