Lines Matching refs:fault
166 vm_fault_t fault; in __do_pf() local
169 fault = VM_FAULT_BADMAP; in __do_pf()
181 fault = VM_FAULT_BADACCESS; in __do_pf()
189 fault = handle_mm_fault(vma, addr & PAGE_MASK, flags); in __do_pf()
190 return fault; in __do_pf()
196 return fault; in __do_pf()
204 vm_fault_t fault; in do_pf() local
247 fault = __do_pf(mm, addr, fsr, flags, tsk); in do_pf()
253 if ((fault & VM_FAULT_RETRY) && fatal_signal_pending(current)) in do_pf()
256 if (!(fault & VM_FAULT_ERROR) && (flags & FAULT_FLAG_ALLOW_RETRY)) { in do_pf()
257 if (fault & VM_FAULT_MAJOR) in do_pf()
261 if (fault & VM_FAULT_RETRY) { in do_pf()
274 if (likely(!(fault & in do_pf()
285 if (fault & VM_FAULT_OOM) { in do_pf()
295 if (fault & VM_FAULT_SIGBUS) { in do_pf()
308 code = fault == VM_FAULT_BADACCESS ? SEGV_ACCERR : SEGV_MAPERR; in do_pf()