Lines Matching refs:mm
201 static void flush_tlb_mm_ipi(void *mm) in flush_tlb_mm_ipi() argument
203 local_flush_tlb_mm((struct mm_struct *)mm); in flush_tlb_mm_ipi()
219 void flush_tlb_mm(struct mm_struct *mm) in flush_tlb_mm() argument
221 if ((atomic_read(&mm->mm_users) != 1) || (current->mm != mm)) { in flush_tlb_mm()
222 smp_call_function(flush_tlb_mm_ipi, (void *)mm, 1, 1); in flush_tlb_mm()
227 cpu_context(i, mm) = 0; in flush_tlb_mm()
229 local_flush_tlb_mm(mm); in flush_tlb_mm()
233 struct mm_struct *mm; member
243 local_flush_tlb_range(fd->mm, fd->addr1, fd->addr2); in flush_tlb_range_ipi()
246 void flush_tlb_range(struct mm_struct *mm, unsigned long start, unsigned long end) in flush_tlb_range() argument
248 if ((atomic_read(&mm->mm_users) != 1) || (current->mm != mm)) { in flush_tlb_range()
251 fd.mm = mm; in flush_tlb_range()
259 cpu_context(i, mm) = 0; in flush_tlb_range()
261 local_flush_tlb_range(mm, start, end); in flush_tlb_range()
273 if ((atomic_read(&vma->vm_mm->mm_users) != 1) || (current->mm != vma->vm_mm)) { in flush_tlb_page()