Lines Matching refs:mm
21 void get_new_mmu_context(struct mm_struct *mm)
42 set_cpu_context(cpu, mm, asid);
47 void check_mmu_context(struct mm_struct *mm)
59 if (!asid_versions_eq(cpu, cpu_context(cpu, mm), asid_cache(cpu)))
60 get_new_mmu_context(mm);
106 * If we find one, then we can update our mm to use newmmid
109 * of the old MMID are updated to reflect the mm. Failure to do
124 static u64 get_new_mmid(struct mm_struct *mm)
129 mmid = cpu_context(0, mm);
175 set_cpu_context(0, mm, mmid);
179 void check_switch_mmu_context(struct mm_struct *mm)
186 check_mmu_context(mm);
187 write_c0_entryhi(cpu_asid(cpu, mm));
209 ctx = cpu_context(cpu, mm);
216 ctx = cpu_context(cpu, mm);
218 ctx = get_new_mmid(mm);
263 TLBMISS_HANDLER_SETUP_PGD(mm->pgd);