Lines Matching refs:mm
54 get_new_mmu_context(struct mm_struct *mm) in get_new_mmu_context() argument
73 mm->context = mc; in get_new_mmu_context()
80 get_mmu_context(struct mm_struct *mm) in get_mmu_context() argument
82 if (mm) { in get_mmu_context()
86 if ((mm->context ^ mc) & MMU_CONTEXT_VERSION_MASK) in get_mmu_context()
87 get_new_mmu_context(mm); in get_mmu_context()
96 struct mm_struct *mm) in init_new_context() argument
98 mm->context = NO_CONTEXT; in init_new_context()
106 static __inline__ void destroy_context(struct mm_struct *mm) in destroy_context() argument
108 extern void flush_tlb_mm(struct mm_struct *mm); in destroy_context()
111 flush_tlb_mm(mm); in destroy_context()
179 static __inline__ void activate_context(struct mm_struct *mm) in activate_context() argument
181 get_mmu_context(mm); in activate_context()
182 set_asid(mm->context & MMU_CONTEXT_ASID_MASK); in activate_context()
203 enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk, unsigned cpu) in enter_lazy_tlb() argument