Lines Matching refs:mm

27 void __check_vmalloc_seq(struct mm_struct *mm);
31 void check_and_switch_context(struct mm_struct *mm, struct task_struct *tsk);
33 init_new_context(struct task_struct *tsk, struct mm_struct *mm) in init_new_context() argument
35 atomic64_set(&mm->context.id, 0); in init_new_context()
40 void a15_erratum_get_cpumask(int this_cpu, struct mm_struct *mm,
43 static inline void a15_erratum_get_cpumask(int this_cpu, struct mm_struct *mm, in a15_erratum_get_cpumask() argument
53 static inline void check_and_switch_context(struct mm_struct *mm, in check_and_switch_context() argument
56 if (unlikely(mm->context.vmalloc_seq != init_mm.context.vmalloc_seq)) in check_and_switch_context()
57 __check_vmalloc_seq(mm); in check_and_switch_context()
67 mm->context.switch_pending = 1; in check_and_switch_context()
69 cpu_switch_mm(mm->pgd, mm); in check_and_switch_context()
77 struct mm_struct *mm = current->mm; in finish_arch_post_lock_switch() local
79 if (mm && mm->context.switch_pending) { in finish_arch_post_lock_switch()
87 if (mm->context.switch_pending) { in finish_arch_post_lock_switch()
88 mm->context.switch_pending = 0; in finish_arch_post_lock_switch()
89 cpu_switch_mm(mm->pgd, mm); in finish_arch_post_lock_switch()
99 init_new_context(struct task_struct *tsk, struct mm_struct *mm) in init_new_context() argument
107 #define destroy_context(mm) do { } while(0) argument
120 enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk) in enter_lazy_tlb() argument
155 #define deactivate_mm(tsk,mm) do { } while (0) argument