Searched refs:loaded_mm (Results 1 – 7 of 7) sorted by relevance
125 struct mm_struct *loaded_mm = this_cpu_read(cpu_tlbstate.loaded_mm); in leave_mm() local135 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() local453 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 …]
913 .loaded_mm = &init_mm,
184 struct mm_struct *loaded_mm; member266 struct mm_struct *loaded_mm = this_cpu_read(cpu_tlbstate.loaded_mm); in nmi_uaccess_okay() local269 VM_WARN_ON_ONCE(!loaded_mm); in nmi_uaccess_okay()281 if (loaded_mm != current_mm) in nmi_uaccess_okay()
331 unsigned long cr3 = build_cr3(this_cpu_read(cpu_tlbstate.loaded_mm)->pgd, in __get_current_cr3_fast()
56 if (this_cpu_read(cpu_tlbstate.loaded_mm) != mm) in flush_ldt()
2135 load_mm_cr4(this_cpu_read(cpu_tlbstate.loaded_mm)); in refresh_pce()
986 if (this_cpu_read(cpu_tlbstate.loaded_mm) == mm) in drop_mm_ref_this_cpu()