Lines Matching defs:mm
3 * Based on arch/arm/mm/fault.c
15 #include <linux/mm.h>
121 static inline unsigned long mm_to_pgd_phys(struct mm_struct *mm)
124 if (mm == &init_mm)
125 return __pa_symbol(mm->pgd);
127 return (unsigned long)virt_to_phys(mm->pgd);
131 * Dump out the page tables associated with 'addr' in the currently active mm.
135 struct mm_struct *mm;
141 mm = current->active_mm;
142 if (mm == &init_mm) {
149 mm = &init_mm;
157 mm == &init_mm ? "swapper" : "user", PAGE_SIZE / SZ_1K,
158 vabits_actual, mm_to_pgd_phys(mm));
159 pgdp = pgd_offset(mm, addr);
507 struct mm_struct *mm = current->mm;
522 if (faulthandler_disabled() || !mm)
567 vma = lock_vma_under_rcu(mm, addr);
599 vma = lock_mm_and_find_vma(mm, addr, regs);
607 mmap_read_unlock(mm);
629 mmap_read_unlock(mm);