Lines Matching refs:next
37 extern void switch_mmu_context(struct mm_struct *prev, struct mm_struct *next);
51 extern void switch_cop(struct mm_struct *next);
59 static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, in switch_mm() argument
63 cpumask_set_cpu(smp_processor_id(), mm_cpumask(next)); in switch_mm()
67 tsk->thread.pgdir = next->pgd; in switch_mm()
72 get_paca()->pgd = next->pgd; in switch_mm()
75 if (prev == next) in switch_mm()
80 if (prev->context.acop || next->context.acop) in switch_mm()
81 switch_cop(next); in switch_mm()
96 switch_slb(tsk, next); in switch_mm()
99 switch_mmu_context(prev, next); in switch_mm()
110 static inline void activate_mm(struct mm_struct *prev, struct mm_struct *next) in activate_mm() argument
115 switch_mm(prev, next, current); in activate_mm()