Lines Matching refs:mm
68 static inline void get_new_mmu_context(struct mm_struct *mm, unsigned int cpu) in get_new_mmu_context() argument
80 mm->context.asid[cpu] = asid; in get_new_mmu_context()
81 mm->context.cpu = cpu; in get_new_mmu_context()
84 static inline void get_mmu_context(struct mm_struct *mm, unsigned int cpu) in get_mmu_context() argument
90 if (mm) { in get_mmu_context()
91 unsigned long asid = mm->context.asid[cpu]; in get_mmu_context()
95 get_new_mmu_context(mm, cpu); in get_mmu_context()
99 static inline void activate_context(struct mm_struct *mm, unsigned int cpu) in activate_context() argument
101 get_mmu_context(mm, cpu); in activate_context()
102 set_rasid_register(ASID_INSERT(mm->context.asid[cpu])); in activate_context()
113 struct mm_struct *mm) in init_new_context() argument
117 mm->context.asid[cpu] = NO_CONTEXT; in init_new_context()
119 mm->context.cpu = -1; in init_new_context()
138 #define deactivate_mm(tsk, mm) do { } while (0) argument
144 static inline void destroy_context(struct mm_struct *mm) in destroy_context() argument
150 static inline void enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk) in enter_lazy_tlb() argument