Lines Matching refs:next
53 struct mm_struct *next, struct task_struct *tsk)
55 if (prev != next) {
59 spinlock_t *pgd_lock = &next->page_table_lock;
62 mtctl(__pa(next->pgd), 25);
63 load_context(next->context);
68 struct mm_struct *next, struct task_struct *tsk)
72 if (prev == next)
76 switch_mm_irqs_off(prev, next, tsk);
83 static inline void activate_mm(struct mm_struct *prev, struct mm_struct *next)
93 BUG_ON(next == &init_mm); /* Should never happen */
95 if (next->context == 0)
96 next->context = alloc_sid();
98 switch_mm(prev,next,current);