Lines Matching refs:this_cpu_read

199 		if (asid == this_cpu_read(cpu_tlbstate.loaded_mm_asid))  in clear_asid_other()
224 if (this_cpu_read(cpu_tlbstate.invalidate_other)) in choose_new_asid()
228 if (this_cpu_read(cpu_tlbstate.ctxs[asid].ctx_id) != in choose_new_asid()
233 *need_flush = (this_cpu_read(cpu_tlbstate.ctxs[asid].tlb_gen) < in choose_new_asid()
297 struct mm_struct *loaded_mm = this_cpu_read(cpu_tlbstate.loaded_mm); in leave_mm()
311 WARN_ON(!this_cpu_read(cpu_tlbstate_shared.is_lazy)); in leave_mm()
355 if (this_cpu_read(cpu_info.smt_active)) { in l1d_flush_evaluate()
384 prev_mm = this_cpu_read(cpu_tlbstate.last_user_mm_spec); in cond_mitigation()
481 cr4_update_pce_mm(this_cpu_read(cpu_tlbstate.loaded_mm)); in cr4_update_pce()
491 struct mm_struct *real_prev = this_cpu_read(cpu_tlbstate.loaded_mm); in switch_mm_irqs_off()
492 u16 prev_asid = this_cpu_read(cpu_tlbstate.loaded_mm_asid); in switch_mm_irqs_off()
493 bool was_lazy = this_cpu_read(cpu_tlbstate_shared.is_lazy); in switch_mm_irqs_off()
554 VM_WARN_ON(this_cpu_read(cpu_tlbstate.ctxs[prev_asid].ctx_id) != in switch_mm_irqs_off()
582 if (this_cpu_read(cpu_tlbstate.ctxs[prev_asid].tlb_gen) == in switch_mm_irqs_off()
664 if (this_cpu_read(cpu_tlbstate.loaded_mm) == &init_mm) in enter_lazy_tlb()
686 struct mm_struct *mm = this_cpu_read(cpu_tlbstate.loaded_mm); in initialize_tlbstate_and_flush()
734 struct mm_struct *loaded_mm = this_cpu_read(cpu_tlbstate.loaded_mm); in flush_tlb_func()
735 u32 loaded_mm_asid = this_cpu_read(cpu_tlbstate.loaded_mm_asid); in flush_tlb_func()
737 u64 local_tlb_gen = this_cpu_read(cpu_tlbstate.ctxs[loaded_mm_asid].tlb_gen); in flush_tlb_func()
756 VM_WARN_ON(this_cpu_read(cpu_tlbstate.ctxs[loaded_mm_asid].ctx_id) != in flush_tlb_func()
759 if (this_cpu_read(cpu_tlbstate_shared.is_lazy)) { in flush_tlb_func()
1014 } else if (mm == this_cpu_read(cpu_tlbstate.loaded_mm)) { in flush_tlb_mm_range()
1076 unsigned long cr3 = build_cr3(this_cpu_read(cpu_tlbstate.loaded_mm)->pgd, in __get_current_cr3_fast()
1077 this_cpu_read(cpu_tlbstate.loaded_mm_asid)); in __get_current_cr3_fast()
1124 u32 loaded_mm_asid = this_cpu_read(cpu_tlbstate.loaded_mm_asid); in native_flush_tlb_one_user()
1171 cr4 = this_cpu_read(cpu_tlbstate.cr4); in native_flush_tlb_global()
1192 invalidate_user_asid(this_cpu_read(cpu_tlbstate.loaded_mm_asid)); in native_flush_tlb_local()
1261 struct mm_struct *loaded_mm = this_cpu_read(cpu_tlbstate.loaded_mm); in nmi_uaccess_okay()