Lines Matching refs:mm
2 * arch/xtensa/mm/tlb.c
17 #include <linux/mm.h>
58 /* If mm is current, we simply assign the current task a new ASID, thus,
59 * invalidating all previous tlb entries. If mm is someone else's user mapping,
64 void local_flush_tlb_mm(struct mm_struct *mm)
68 if (mm == current->active_mm) {
71 mm->context.asid[cpu] = NO_CONTEXT;
72 activate_context(mm, cpu);
75 mm->context.asid[cpu] = NO_CONTEXT;
76 mm->context.cpu = -1;
93 struct mm_struct *mm = vma->vm_mm;
96 if (mm->context.asid[cpu] == NO_CONTEXT)
100 (unsigned long)mm->context.asid[cpu], start, end);
106 set_rasid_register(ASID_INSERT(mm->context.asid[cpu]));
122 local_flush_tlb_mm(mm);
130 struct mm_struct* mm = vma->vm_mm;
134 if (mm->context.asid[cpu] == NO_CONTEXT)
140 set_rasid_register(ASID_INSERT(mm->context.asid[cpu]));
177 struct mm_struct *mm = task->mm;
185 if (!mm)
186 mm = task->active_mm;
187 pgd = pgd_offset(mm, vaddr);