Lines Matching refs:mm
36 #define mm_context(mm) (mm->context.tlbpid[smp_processor_id()]) argument
38 #define enter_lazy_tlb(mm, tsk) do {} while (0) argument
53 static inline unsigned long allocate_mmu_context(struct mm_struct *mm) in allocate_mmu_context() argument
68 mm_context(mm) = mc; in allocate_mmu_context()
75 static inline unsigned long get_mmu_context(struct mm_struct *mm) in get_mmu_context() argument
79 if (mm) { in get_mmu_context()
81 mc = mm_context(mm); in get_mmu_context()
85 mc = allocate_mmu_context(mm); in get_mmu_context()
94 struct mm_struct *mm) in init_new_context() argument
99 mm->context.tlbpid[i] = MMU_NO_CONTEXT; in init_new_context()
107 #define destroy_context(mm) do { } while (0) argument
113 static inline void activate_context(struct mm_struct *mm, int cpu) in activate_context() argument
115 PIDR = get_mmu_context(mm) & MMU_CONTEXT_TLBPID_MASK; in activate_context()
135 #define deactivate_mm(tsk, mm) do {} while (0) argument