Lines Matching full:fault
2 * Page fault handler for SH with an MMU.
7 * Based on linux/arch/i386/mm/fault.c:
157 * be another reason for the fault. Return NULL here to in vmalloc_sync_one()
158 * signal that we have not taken care of the fault. in vmalloc_sync_one()
174 * Handle a fault on the vmalloc or module mapping area
225 /* Are we prepared to handle this kernel fault? */ in no_context()
316 unsigned long address, vm_fault_t fault) in mm_fault_error() argument
322 if (fault_signal_pending(fault, regs)) { in mm_fault_error()
329 if (!(fault & VM_FAULT_RETRY)) in mm_fault_error()
332 if (!(fault & VM_FAULT_ERROR)) in mm_fault_error()
335 if (fault & VM_FAULT_OOM) { in mm_fault_error()
344 * userspace (which will retry the fault, or kill us if we got in mm_fault_error()
349 if (fault & VM_FAULT_SIGBUS) in mm_fault_error()
351 else if (fault & VM_FAULT_SIGSEGV) in mm_fault_error()
399 vm_fault_t fault; in do_page_fault() local
407 * We fault-in kernel-space virtual memory on-demand. The in do_page_fault()
428 /* Only enable interrupts if they were on before the fault */ in do_page_fault()
436 * with pagefaults disabled then we must not take the fault: in do_page_fault()
480 * If for any reason at all we couldn't handle the fault, in do_page_fault()
482 * the fault. in do_page_fault()
484 fault = handle_mm_fault(vma, address, flags, regs); in do_page_fault()
486 if (unlikely(fault & (VM_FAULT_RETRY | VM_FAULT_ERROR))) in do_page_fault()
487 if (mm_fault_error(regs, error_code, address, fault)) in do_page_fault()
491 if (fault & VM_FAULT_RETRY) { in do_page_fault()