Lines Matching refs:next
20 extern void switch_mmu_context(struct mm_struct *prev, struct mm_struct *next);
34 extern void switch_cop(struct mm_struct *next);
42 static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, in switch_mm() argument
46 cpumask_set_cpu(smp_processor_id(), mm_cpumask(next)); in switch_mm()
50 tsk->thread.pgdir = next->pgd; in switch_mm()
55 get_paca()->pgd = next->pgd; in switch_mm()
58 if (prev == next) in switch_mm()
63 if (prev->context.acop || next->context.acop) in switch_mm()
64 switch_cop(next); in switch_mm()
79 switch_slb(tsk, next); in switch_mm()
82 switch_mmu_context(prev, next); in switch_mm()
93 static inline void activate_mm(struct mm_struct *prev, struct mm_struct *next) in activate_mm() argument
98 switch_mm(prev, next, current); in activate_mm()