Lines Matching refs:mm
50 void show_pte(struct mm_struct *mm, unsigned long addr) in show_pte() argument
54 if (!mm) in show_pte()
55 mm = &init_mm; in show_pte()
57 printk(KERN_ALERT "mm = %p pgd = %p\n", mm, mm->pgd); in show_pte()
62 pgd_t pg, *pgd = pgd_offset(mm, addr); in show_pte()
125 __do_kernel_fault(struct mm_struct *mm, unsigned long addr, int error_code, in __do_kernel_fault() argument
150 show_pte(mm, addr); in __do_kernel_fault()
183 do_bad_area(struct task_struct *tsk, struct mm_struct *mm, unsigned long addr, in do_bad_area() argument
193 __do_kernel_fault(mm, addr, error_code, regs); in do_bad_area()
197 __do_page_fault(struct mm_struct *mm, unsigned long addr, int error_code, in __do_page_fault() argument
203 vma = find_vma(mm, addr); in __do_page_fault()
230 fault = handle_mm_fault(mm, vma, addr & PAGE_MASK, DO_COW(error_code)); in __do_page_fault()
266 struct mm_struct *mm; in do_page_fault() local
270 mm = tsk->mm; in do_page_fault()
276 if (in_interrupt() || !mm) in do_page_fault()
279 down_read(&mm->mmap_sem); in do_page_fault()
280 fault = __do_page_fault(mm, addr, error_code, tsk); in do_page_fault()
281 up_read(&mm->mmap_sem); in do_page_fault()
339 __do_kernel_fault(mm, addr, error_code, regs); in do_page_fault()
363 struct mm_struct *mm; in do_translation_fault() local
398 mm = tsk->active_mm; in do_translation_fault()
400 do_bad_area(tsk, mm, addr, error_code, regs); in do_translation_fault()