Lines Matching refs:this_cpu_read
53 if (asid == this_cpu_read(cpu_tlbstate.loaded_mm_asid)) in clear_asid_other()
78 if (this_cpu_read(cpu_tlbstate.invalidate_other)) in choose_new_asid()
82 if (this_cpu_read(cpu_tlbstate.ctxs[asid].ctx_id) != in choose_new_asid()
87 *need_flush = (this_cpu_read(cpu_tlbstate.ctxs[asid].tlb_gen) < in choose_new_asid()
125 struct mm_struct *loaded_mm = this_cpu_read(cpu_tlbstate.loaded_mm); in leave_mm()
139 WARN_ON(!this_cpu_read(cpu_tlbstate.is_lazy)); in leave_mm()
186 struct mm_struct *real_prev = this_cpu_read(cpu_tlbstate.loaded_mm); in switch_mm_irqs_off()
187 u16 prev_asid = this_cpu_read(cpu_tlbstate.loaded_mm_asid); in switch_mm_irqs_off()
239 VM_WARN_ON(this_cpu_read(cpu_tlbstate.ctxs[prev_asid].ctx_id) != in switch_mm_irqs_off()
257 u64 last_ctx_id = this_cpu_read(cpu_tlbstate.last_ctx_id); 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()
452 u32 loaded_mm_asid = this_cpu_read(cpu_tlbstate.loaded_mm_asid); in flush_tlb_func_common()
454 u64 local_tlb_gen = this_cpu_read(cpu_tlbstate.ctxs[loaded_mm_asid].tlb_gen); in flush_tlb_func_common()
462 VM_WARN_ON(this_cpu_read(cpu_tlbstate.ctxs[loaded_mm_asid].ctx_id) != in flush_tlb_func_common()
465 if (this_cpu_read(cpu_tlbstate.is_lazy)) { in flush_tlb_func_common()
567 if (f->mm && f->mm != this_cpu_read(cpu_tlbstate.loaded_mm)) in flush_tlb_func_remote()
650 if (mm == this_cpu_read(cpu_tlbstate.loaded_mm)) { in flush_tlb_mm_range()