Lines Matching refs:next
139 static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, in switch_mm() argument
148 if ((cpu_context(cpu, next) ^ asid_cache(cpu)) & ASID_VERSION_MASK) in switch_mm()
149 get_new_mmu_context(next, cpu); in switch_mm()
150 write_c0_entryhi(cpu_asid(cpu, next)); in switch_mm()
151 TLBMISS_HANDLER_SETUP_PGD(next->pgd); in switch_mm()
158 cpumask_set_cpu(cpu, mm_cpumask(next)); in switch_mm()
179 activate_mm(struct mm_struct *prev, struct mm_struct *next) in activate_mm() argument
188 get_new_mmu_context(next, cpu); in activate_mm()
190 write_c0_entryhi(cpu_asid(cpu, next)); in activate_mm()
191 TLBMISS_HANDLER_SETUP_PGD(next->pgd); in activate_mm()
195 cpumask_set_cpu(cpu, mm_cpumask(next)); in activate_mm()