Lines Matching refs:next
109 switch_mm(struct mm_struct *prev, struct mm_struct *next,
117 if (!cpumask_empty(mm_cpumask(next)) &&
118 !cpumask_test_cpu(cpu, mm_cpumask(next)))
121 if (!cpumask_test_and_set_cpu(cpu, mm_cpumask(next)) || prev != next) {
124 *crt_mm = next;
126 check_context(next);
127 cpu_switch_mm(next->pgd, next);
135 #define activate_mm(prev,next) switch_mm(prev, next, NULL)