Lines Matching defs:fault
2 * linux/arch/arm26/mm/fault.c
28 #include "fault.h"
88 * Are we prepared to handle this kernel fault?
119 printk("%s: unhandled page fault at 0x%08lx, code 0x%03x\n",
141 int fault, mask;
144 fault = -2; /* bad map area */
160 fault = -1; /* bad access type */
166 * the fault, make sure we exit gracefully rather
167 * than endlessly redo the fault.
170 fault = handle_mm_fault(mm, vma, addr & PAGE_MASK, DO_COW(fsr));
175 switch (fault) {
178 return fault;
182 return fault;
185 fault = -3; /* out of memory */
200 return fault;
207 int fault;
214 * context, we must not take the fault..
220 fault = __do_page_fault(mm, addr, fsr, tsk);
226 switch (fault) {
238 if (fault == -3) {
241 * us that made us unable to handle the page fault gracefully.
247 __do_user_fault(tsk, addr, fsr, fault == -1 ? SEGV_ACCERR : SEGV_MAPERR, regs);
255 * us unable to handle the page fault gracefully.