Lines Matching refs:mm
48 extern void wrap_mmu_context (struct mm_struct *mm);
51 enter_lazy_tlb (struct mm_struct *mm, struct task_struct *tsk) in enter_lazy_tlb() argument
78 get_mmu_context (struct mm_struct *mm) in get_mmu_context() argument
81 nv_mm_context_t context = mm->context; in get_mmu_context()
88 context = mm->context; in get_mmu_context()
90 cpumask_clear(mm_cpumask(mm)); in get_mmu_context()
97 wrap_mmu_context(mm); in get_mmu_context()
99 mm->context = context = ia64_ctx.next++; in get_mmu_context()
118 init_new_context (struct task_struct *p, struct mm_struct *mm) in init_new_context() argument
120 mm->context = 0; in init_new_context()
125 destroy_context (struct mm_struct *mm) in destroy_context() argument
163 activate_context (struct mm_struct *mm) in activate_context() argument
168 context = get_mmu_context(mm); in activate_context()
169 if (!cpumask_test_cpu(smp_processor_id(), mm_cpumask(mm))) in activate_context()
170 cpumask_set_cpu(smp_processor_id(), mm_cpumask(mm)); in activate_context()
176 } while (unlikely(context != mm->context)); in activate_context()
179 #define deactivate_mm(tsk,mm) do { } while (0) argument