Lines Matching refs:fault
117 static inline void mm_fault_error(struct pt_regs *regs, unsigned long addr, vm_fault_t fault) in mm_fault_error() argument
124 if (fault & VM_FAULT_OOM) { in mm_fault_error()
131 } else if (fault & (VM_FAULT_SIGBUS | VM_FAULT_HWPOISON | VM_FAULT_HWPOISON_LARGE)) { in mm_fault_error()
135 } else if (fault & VM_FAULT_SIGSEGV) { in mm_fault_error()
286 vm_fault_t fault; in handle_page_fault() local
362 fault = handle_mm_fault(vma, addr, flags | FAULT_FLAG_VMA_LOCK, regs); in handle_page_fault()
363 if (!(fault & (VM_FAULT_RETRY | VM_FAULT_COMPLETED))) in handle_page_fault()
366 if (!(fault & VM_FAULT_RETRY)) { in handle_page_fault()
371 if (fault & VM_FAULT_MAJOR) in handle_page_fault()
374 if (fault_signal_pending(fault, regs)) { in handle_page_fault()
406 fault = handle_mm_fault(vma, addr, flags, regs); in handle_page_fault()
413 if (fault_signal_pending(fault, regs)) { in handle_page_fault()
420 if (fault & VM_FAULT_COMPLETED) in handle_page_fault()
423 if (unlikely(fault & VM_FAULT_RETRY)) { in handle_page_fault()
437 if (unlikely(fault & VM_FAULT_ERROR)) { in handle_page_fault()
439 mm_fault_error(regs, addr, fault); in handle_page_fault()