Lines Matching defs:error_code
192 static bool bad_kernel_fault(struct pt_regs *regs, unsigned long error_code,
306 unsigned long error_code, unsigned long address)
356 WARN_ON_ONCE(error_code & DSISR_PROTFAULT);
360 * Define the correct "is_write" bit in error_code based
395 * For 600- and 800-family processors, the error_code parameter is DSISR
397 * For 400-family processors the error_code parameter is ESR for a data fault,
399 * For 64-bit processors, the error_code parameter is DSISR for a data access
406 unsigned long error_code)
413 int is_write = page_fault_is_write(error_code);
420 if (unlikely(page_fault_is_bad(error_code))) {
429 sanity_check_fault(is_write, is_user, error_code, address);
436 if (unlikely(!is_user && bad_kernel_fault(regs, error_code, address, is_write))) {
480 (error_code & DSISR_KEYFAULT), vma))) {
520 (error_code & DSISR_KEYFAULT), vma)))