Lines Matching defs:fault
2 * arch/microblaze/mm/fault.c
6 * Derived from "arch/ppc/mm/fault.c"
9 * Derived from "arch/i386/mm/fault.c"
71 /* Are we prepared to handle this fault? */
83 * The error_code parameter is ESR for a data fault,
84 * 0 for an instruction fault.
93 vm_fault_t fault;
115 pr_emerg("Page fault in user mode with faulthandler_disabled(), mm = %p\n",
119 die("Weird page fault", regs, SIGSEGV);
130 * erroneous fault occurring in a code path which already holds mmap_lock
131 * we will deadlock attempting to validate the fault against the
174 /* get user regs even if this fault is in kernel mode */
208 /* protection fault */
216 * If for any reason at all we couldn't handle the fault,
218 * the fault.
220 fault = handle_mm_fault(vma, address, flags, regs);
222 if (fault_signal_pending(fault, regs))
225 if (unlikely(fault & VM_FAULT_ERROR)) {
226 if (fault & VM_FAULT_OOM)
228 else if (fault & VM_FAULT_SIGSEGV)
230 else if (fault & VM_FAULT_SIGBUS)
236 if (fault & VM_FAULT_RETRY) {
276 * us unable to handle the page fault gracefully.