Lines Matching defs:fault
2 * linux/arch/arm/mm/fault.c
21 #include "fault.h"
83 * Are we prepared to handle this kernel fault?
116 printk(KERN_DEBUG "%s: unhandled page fault (%d) at 0x%08lx, code 0x%03x\n",
140 * have no context to handle this fault with.
156 int fault, mask;
159 fault = VM_FAULT_BADMAP;
175 fault = VM_FAULT_BADACCESS;
181 * the fault, make sure we exit gracefully rather
182 * than endlessly redo the fault.
185 fault = handle_mm_fault(mm, vma, addr & PAGE_MASK, fsr & (1 << 11));
190 switch (fault) {
193 return fault;
197 return fault;
215 return fault;
223 int fault, sig, code;
230 * context, we must not take the fault..
246 fault = __do_page_fault(mm, addr, fsr, tsk);
252 if (fault >= VM_FAULT_MINOR)
257 * have no context to handle this fault with.
262 switch (fault) {
267 * the page fault gracefully.
276 * successfully fix up this page fault.
288 code = fault == VM_FAULT_BADACCESS ?
366 * This abort handler always returns "fault".
389 { do_translation_fault, SIGSEGV, SEGV_MAPERR, "section translation fault" },
391 { do_page_fault, SIGSEGV, SEGV_MAPERR, "page translation fault" },
393 { do_bad, SIGSEGV, SEGV_ACCERR, "section domain fault" },
395 { do_bad, SIGSEGV, SEGV_ACCERR, "page domain fault" },
397 { do_sect_fault, SIGSEGV, SEGV_ACCERR, "section permission fault" },
399 { do_page_fault, SIGSEGV, SEGV_ACCERR, "page permission fault" },
446 printk(KERN_ALERT "Unhandled fault: %s (0x%03x) at 0x%08lx\n",