/kernel/linux/linux-5.10/arch/x86/mm/ |
D | fault.c | 109 is_prefetch(struct pt_regs *regs, unsigned long error_code, unsigned long addr) in is_prefetch() argument 119 if (error_code & X86_PF_INSTR) in is_prefetch() 514 show_fault_oops(struct pt_regs *regs, unsigned long error_code, unsigned long address) in show_fault_oops() argument 519 if (error_code & X86_PF_INSTR) { in show_fault_oops() 547 (error_code & X86_PF_USER) ? "user" : "supervisor", in show_fault_oops() 548 (error_code & X86_PF_INSTR) ? "instruction fetch" : in show_fault_oops() 549 (error_code & X86_PF_WRITE) ? "write access" : in show_fault_oops() 552 pr_alert("#PF: error_code(0x%04lx) - %s\n", error_code, in show_fault_oops() 553 !(error_code & X86_PF_PROT) ? "not-present page" : in show_fault_oops() 554 (error_code & X86_PF_RSVD) ? "reserved bit violation" : in show_fault_oops() [all …]
|
D | extable.c | 29 unsigned long error_code, in ex_handler_default() argument 39 unsigned long error_code, in ex_handler_fault() argument 60 unsigned long error_code, in ex_handler_fprestore() argument 75 unsigned long error_code, in ex_handler_uaccess() argument 86 unsigned long error_code, in ex_handler_copy() argument 98 unsigned long error_code, in ex_handler_rdmsr_unsafe() argument 115 unsigned long error_code, in ex_handler_wrmsr_unsafe() argument 131 unsigned long error_code, in ex_handler_clear_fs() argument 137 return ex_handler_default(fixup, regs, trapnr, error_code, fault_addr); in ex_handler_clear_fs() 158 int fixup_exception(struct pt_regs *regs, int trapnr, unsigned long error_code, in fixup_exception() argument [all …]
|
/kernel/linux/linux-5.10/arch/sh/mm/ |
D | fault.c | 222 no_context(struct pt_regs *regs, unsigned long error_code, in no_context() argument 240 die("Oops", regs, error_code); in no_context() 246 __bad_area_nosemaphore(struct pt_regs *regs, unsigned long error_code, in __bad_area_nosemaphore() argument 261 no_context(regs, error_code, address); in __bad_area_nosemaphore() 265 bad_area_nosemaphore(struct pt_regs *regs, unsigned long error_code, in bad_area_nosemaphore() argument 268 __bad_area_nosemaphore(regs, error_code, address, SEGV_MAPERR); in bad_area_nosemaphore() 272 __bad_area(struct pt_regs *regs, unsigned long error_code, in __bad_area() argument 283 __bad_area_nosemaphore(regs, error_code, address, si_code); in __bad_area() 287 bad_area(struct pt_regs *regs, unsigned long error_code, unsigned long address) in bad_area() argument 289 __bad_area(regs, error_code, address, SEGV_MAPERR); in bad_area() [all …]
|
D | tlbex_32.c | 22 handle_tlbmiss(struct pt_regs *regs, unsigned long error_code, in handle_tlbmiss() argument 59 if (unlikely(error_code && !pte_write(entry))) in handle_tlbmiss() 62 if (error_code) in handle_tlbmiss() 74 if (error_code == FAULT_CODE_INITIAL) in handle_tlbmiss() 78 set_thread_fault_code(error_code); in handle_tlbmiss()
|
/kernel/linux/linux-5.10/arch/x86/kernel/ |
D | traps.c | 101 struct pt_regs *regs, long error_code) in do_trap_no_signal() argument 110 error_code, trapnr)) in do_trap_no_signal() 114 if (fixup_exception(regs, trapnr, error_code, 0)) in do_trap_no_signal() 117 tsk->thread.error_code = error_code; in do_trap_no_signal() 119 die(str, regs, error_code); in do_trap_no_signal() 131 tsk->thread.error_code = error_code; in do_trap_no_signal() 139 struct pt_regs *regs, long error_code) in show_signal() argument 145 regs->ip, regs->sp, error_code); in show_signal() 153 long error_code, int sicode, void __user *addr) in do_trap() argument 157 if (!do_trap_no_signal(tsk, trapnr, str, regs, error_code)) in do_trap() [all …]
|
D | sev-es.c | 234 ctxt->fi.error_code = X86_PF_INSTR | X86_PF_USER; in vc_decode_insn() 245 ctxt->fi.error_code = X86_PF_INSTR; in vc_decode_insn() 262 unsigned long error_code = X86_PF_PROT | X86_PF_WRITE; in vc_write_mem() local 329 error_code |= X86_PF_USER; in vc_write_mem() 332 ctxt->fi.error_code = error_code; in vc_write_mem() 341 unsigned long error_code = X86_PF_PROT; in vc_read_mem() local 407 error_code |= X86_PF_USER; in vc_read_mem() 410 ctxt->fi.error_code = error_code; in vc_read_mem() 431 ctxt->fi.error_code = 0; in vc_slow_virt_to_phys() 434 ctxt->fi.error_code |= X86_PF_USER; in vc_slow_virt_to_phys() [all …]
|
/kernel/linux/linux-5.10/arch/x86/include/asm/trace/ |
D | exceptions.h | 17 unsigned long error_code), 19 TP_ARGS(address, regs, error_code), 24 __field( unsigned long, error_code ) 30 __entry->error_code = error_code; 35 __entry->error_code) ); 40 unsigned long error_code), \ 41 TP_ARGS(address, regs, error_code), \
|
/kernel/linux/linux-5.10/arch/nds32/mm/ |
D | fault.c | 74 unsigned int error_code, struct pt_regs *regs) in do_page_fault() argument 84 error_code = error_code & (ITYPE_mskINST | ITYPE_mskETYPE); in do_page_fault() 110 && error_code == ETYPE_ALIGNMENT_CHECK) { in do_page_fault() 174 if (error_code & ITYPE_mskINST) in do_page_fault() 180 switch (error_code & ITYPE_mskETYPE) { in do_page_fault() 261 tsk->thread.error_code = error_code; in do_page_fault() 301 die("Oops", regs, error_code); in do_page_fault() 330 tsk->thread.error_code = error_code; in do_page_fault()
|
/kernel/linux/linux-5.10/arch/x86/boot/compressed/ |
D | idt_handlers_64.S | 15 .macro EXCEPTION_HANDLER name function error_code=0 argument 19 .if \error_code == 0 72 EXCEPTION_HANDLER boot_page_fault do_boot_page_fault error_code=1 75 EXCEPTION_HANDLER boot_stage1_vc do_vc_no_ghcb error_code=1 76 EXCEPTION_HANDLER boot_stage2_vc do_boot_stage2_vc error_code=1
|
D | ident_map_64.c | 318 static void do_pf_error(const char *msg, unsigned long error_code, in do_pf_error() argument 324 error_puthex(error_code); in do_pf_error() 334 void do_boot_page_fault(struct pt_regs *regs, unsigned long error_code) in do_boot_page_fault() argument 351 if (error_code & (X86_PF_PROT | X86_PF_USER | X86_PF_RSVD)) in do_boot_page_fault() 352 do_pf_error("Unexpected page-fault:", error_code, address, regs->ip); in do_boot_page_fault() 354 do_pf_error("Page-fault on GHCB page:", error_code, address, regs->ip); in do_boot_page_fault()
|
/kernel/linux/linux-5.10/arch/powerpc/mm/ |
D | fault.c | 196 static bool bad_kernel_fault(struct pt_regs *regs, unsigned long error_code, in bad_kernel_fault() argument 211 if (!is_exec && address < TASK_SIZE && (error_code & DSISR_PROTFAULT) && in bad_kernel_fault() 305 unsigned long error_code, unsigned long address) in sanity_check_fault() argument 355 WARN_ON_ONCE(error_code & DSISR_PROTFAULT); in sanity_check_fault() 390 unsigned long error_code) in __do_page_fault() argument 397 int is_write = page_fault_is_write(error_code); in __do_page_fault() 404 if (unlikely(page_fault_is_bad(error_code))) { in __do_page_fault() 413 sanity_check_fault(is_write, is_user, error_code, address); in __do_page_fault() 420 if (unlikely(!is_user && bad_kernel_fault(regs, error_code, address, is_write))) in __do_page_fault() 498 (error_code & DSISR_KEYFAULT), vma))) in __do_page_fault() [all …]
|
/kernel/linux/linux-5.10/arch/x86/include/asm/ |
D | idtentry.h | 83 __visible void func(struct pt_regs *regs, unsigned long error_code) 94 unsigned long error_code); \ 97 unsigned long error_code) \ 102 __##func (regs, error_code); \ 108 unsigned long error_code) 164 __visible noinstr void func(struct pt_regs *regs, unsigned long error_code) 193 unsigned long error_code) \ 200 __##func (regs, (u8)error_code); \ 318 __visible noinstr void kernel_##func(struct pt_regs *regs, unsigned long error_code); \ 319 __visible noinstr void user_##func(struct pt_regs *regs, unsigned long error_code) [all …]
|
D | vsyscall.h | 16 extern bool emulate_vsyscall(unsigned long error_code, 20 static inline bool emulate_vsyscall(unsigned long error_code, in emulate_vsyscall() argument
|
D | cpu.h | 46 extern bool handle_user_split_lock(struct pt_regs *regs, long error_code); 51 static inline bool handle_user_split_lock(struct pt_regs *regs, long error_code) in handle_user_split_lock() argument
|
/kernel/linux/linux-5.10/arch/microblaze/mm/ |
D | fault.c | 87 unsigned long error_code) in do_page_fault() argument 92 int is_write = error_code & ESR_S; in do_page_fault() 97 regs->esr = error_code; in do_page_fault() 106 if ((error_code & 0x13) == 0x13 || (error_code & 0x11) == 0x11) in do_page_fault() 209 if (unlikely(error_code & 0x08000000)) in do_page_fault()
|
/kernel/linux/linux-5.10/fs/orangefs/ |
D | orangefs-utils.c | 474 int orangefs_normalize_to_errno(__s32 error_code) in orangefs_normalize_to_errno() argument 479 if (error_code == 0) { in orangefs_normalize_to_errno() 485 } else if (error_code > 0) { in orangefs_normalize_to_errno() 488 error_code = -error_code; in orangefs_normalize_to_errno() 500 if ((-error_code) & ORANGEFS_NON_ERRNO_ERROR_BIT) { in orangefs_normalize_to_errno() 501 if (((-error_code) & in orangefs_normalize_to_errno() 508 error_code = -ETIMEDOUT; in orangefs_normalize_to_errno() 513 error_code); in orangefs_normalize_to_errno() 514 error_code = -EINVAL; in orangefs_normalize_to_errno() 518 } else if ((-error_code) & ORANGEFS_ERROR_BIT) { in orangefs_normalize_to_errno() [all …]
|
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt_hsi.h | 28 __le16 error_code; member 82 __le16 error_code; member 440 __le16 error_code; member 468 __le16 error_code; member 508 __le16 error_code; member 1057 __le16 error_code; member 1080 __le16 error_code; member 1104 __le16 error_code; member 1128 __le16 error_code; member 1184 __le16 error_code; member [all …]
|
/kernel/linux/linux-5.10/arch/h8300/mm/ |
D | fault.c | 36 unsigned long error_code) in do_page_fault() argument 40 regs->sr, regs->pc, address, error_code); in do_page_fault() 53 die("Oops", regs, error_code); in do_page_fault()
|
/kernel/linux/linux-5.10/arch/x86/um/shared/sysdep/ |
D | faultinfo_32.h | 19 int error_code; /* in ptrace_faultinfo misleadingly called is_write */ member 24 #define FAULT_WRITE(fi) ((fi).error_code & 2)
|
D | faultinfo_64.h | 19 int error_code; /* in ptrace_faultinfo misleadingly called is_write */ member 24 #define FAULT_WRITE(fi) ((fi).error_code & 2)
|
D | mcontext.h | 16 (fi).error_code = (mc)->gregs[REG_ERR]; \ 25 (fi).error_code = (mc)->gregs[REG_ERR]; \
|
/kernel/linux/linux-5.10/drivers/ide/ |
D | ide-cd_verbose.c | 30 name, sense->error_code, sense->sense_key, in ide_cd_log_error() 262 if (sense->error_code == 0x70) in ide_cd_log_error() 264 else if (sense->error_code == 0x71) in ide_cd_log_error() 266 else if (sense->error_code == 0x7f) in ide_cd_log_error()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_vf_error.c | 34 uint16_t error_code; in amdgpu_vf_error_put() local 39 error_code = AMDGIM_ERROR_CODE(AMDGIM_ERROR_CATEGORY_VF, sub_error_code); in amdgpu_vf_error_put() 43 adev->virt.vf_errors.code [index] = error_code; in amdgpu_vf_error_put()
|
/kernel/linux/linux-5.10/arch/x86/kvm/mmu/ |
D | mmutrace.h | 249 TP_PROTO(struct kvm_vcpu *vcpu, gpa_t cr2_or_gpa, u32 error_code, 251 TP_ARGS(vcpu, cr2_or_gpa, error_code, sptep, old_spte, ret), 256 __field(u32, error_code) 266 __entry->error_code = error_code; 275 __entry->cr2_or_gpa, __print_flags(__entry->error_code, "|",
|
/kernel/linux/linux-5.10/arch/m68k/mm/ |
D | fault.c | 69 unsigned long error_code) in do_page_fault() argument 77 regs->sr, regs->pc, address, error_code, mm ? mm->pgd : NULL); in do_page_fault() 119 switch (error_code & 3) { in do_page_fault()
|