Lines Matching defs:mm
70 static inline void get_new_mmu_context(struct mm_struct *mm, unsigned int cpu)
82 mm->context.asid[cpu] = asid;
83 mm->context.cpu = cpu;
86 static inline void get_mmu_context(struct mm_struct *mm, unsigned int cpu)
92 if (mm) {
93 unsigned long asid = mm->context.asid[cpu];
97 get_new_mmu_context(mm, cpu);
101 static inline void activate_context(struct mm_struct *mm, unsigned int cpu)
103 get_mmu_context(mm, cpu);
104 set_rasid_register(ASID_INSERT(mm->context.asid[cpu]));
116 struct mm_struct *mm)
120 mm->context.asid[cpu] = NO_CONTEXT;
122 mm->context.cpu = -1;
145 static inline void destroy_context(struct mm_struct *mm)