Lines Matching defs:error_code
196 static bool bad_kernel_fault(struct pt_regs *regs, unsigned long error_code,
211 if (!is_exec && address < TASK_SIZE && (error_code & DSISR_PROTFAULT) &&
305 unsigned long error_code, unsigned long address)
355 WARN_ON_ONCE(error_code & DSISR_PROTFAULT);
359 * Define the correct "is_write" bit in error_code based
377 * For 600- and 800-family processors, the error_code parameter is DSISR
379 * the error_code parameter is ESR for a data fault, 0 for an instruction
381 * For 64-bit processors, the error_code parameter is
390 unsigned long error_code)
397 int is_write = page_fault_is_write(error_code);
404 if (unlikely(page_fault_is_bad(error_code))) {
413 sanity_check_fault(is_write, is_user, error_code, address);
420 if (unlikely(!is_user && bad_kernel_fault(regs, error_code, address, is_write)))
498 (error_code & DSISR_KEYFAULT), vma)))
544 unsigned long error_code)
547 int rc = __do_page_fault(regs, address, error_code);