Lines Matching defs:next
77 static inline void switch_mm_irqs_off(struct mm_struct *prev, struct mm_struct *next,
83 if (!asid_valid(next, cpu))
84 get_new_mmu_context(next, cpu);
86 write_csr_asid(cpu_asid(cpu, next));
88 if (next != &init_mm)
89 csr_write64((unsigned long)next->pgd, LOONGARCH_CSR_PGDL);
97 cpumask_set_cpu(cpu, mm_cpumask(next));
102 static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next,
108 switch_mm_irqs_off(prev, next, tsk);
120 #define activate_mm(prev, next) switch_mm(prev, next, current)
145 /* Will get a new context next time */