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()
314 unsigned long address, vm_fault_t fault) in mm_fault_error() argument
320 if (fault_signal_pending(fault, regs)) { in mm_fault_error()
327 if (!(fault & VM_FAULT_RETRY)) in mm_fault_error()
330 if (!(fault & VM_FAULT_ERROR)) in mm_fault_error()
333 if (fault & VM_FAULT_OOM) { in mm_fault_error()
342 * userspace (which will retry the fault, or kill us if we got in mm_fault_error()
347 if (fault & VM_FAULT_SIGBUS) in mm_fault_error()
349 else if (fault & VM_FAULT_SIGSEGV) in mm_fault_error()
397 vm_fault_t fault; in do_page_fault() local
405 * We fault-in kernel-space virtual memory on-demand. The in do_page_fault()
426 /* Only enable interrupts if they were on before the fault */ in do_page_fault()
434 * with pagefaults disabled then we must not take the fault: in do_page_fault()
478 * If for any reason at all we couldn't handle the fault, in do_page_fault()
480 * the fault. in do_page_fault()
482 fault = handle_mm_fault(vma, address, flags, regs); in do_page_fault()
484 if (unlikely(fault & (VM_FAULT_RETRY | VM_FAULT_ERROR))) in do_page_fault()
485 if (mm_fault_error(regs, error_code, address, fault)) in do_page_fault()
488 /* The fault is fully completed (including releasing mmap lock) */ in do_page_fault()
489 if (fault & VM_FAULT_COMPLETED) in do_page_fault()
492 if (fault & VM_FAULT_RETRY) { in do_page_fault()