Lines Matching refs:next
122 struct mm_struct *next, struct task_struct *tsk) in switch_mm() argument
128 if (prev != next) { in switch_mm()
130 cpumask_set_cpu(cpu, mm_cpumask(next)); in switch_mm()
133 *(volatile unsigned long *)MPTB = (unsigned long)next->pgd; in switch_mm()
134 activate_context(next); in switch_mm()
138 if (!cpumask_test_and_set_cpu(cpu, mm_cpumask(next))) in switch_mm()
139 activate_context(next); in switch_mm()
145 #define activate_mm(prev, next) \ argument
146 switch_mm((prev), (next), NULL)
155 #define switch_mm(prev,next,tsk) do { } while (0) argument
157 #define activate_mm(prev,next) do { } while (0) argument