| /linux/arch/x86/mm/ |
| H A D | fault.c | 123 is_prefetch(struct pt_regs *regs, unsigned long error_code, unsigned long addr) in is_prefetch() argument 137 if (error_code & X86_PF_INSTR) in is_prefetch() 464 static int is_f00f_bug(struct pt_regs *regs, unsigned long error_code, in is_f00f_bug() argument 468 if (boot_cpu_has_bug(X86_BUG_F00F) && !(error_code & X86_PF_USER) && in is_f00f_bug() 509 show_fault_oops(struct pt_regs *regs, unsigned long error_code, unsigned long address) in show_fault_oops() argument 514 if (error_code & X86_PF_INSTR) { in show_fault_oops() 543 (error_code & X86_PF_USER) ? "user" : "supervisor", in show_fault_oops() 544 (error_code & X86_PF_INSTR) ? "instruction fetch" : in show_fault_oops() 545 (error_code & X86_PF_WRITE) ? "write access" : in show_fault_oops() 548 pr_alert("#PF: error_code(0x%04lx) - %s\n", error_code, in show_fault_oops() [all …]
|
| /linux/arch/sh/mm/ |
| H A 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() 244 __bad_area_nosemaphore(struct pt_regs *regs, unsigned long error_code, in __bad_area_nosemaphore() argument 259 no_context(regs, error_code, address); in __bad_area_nosemaphore() 263 bad_area_nosemaphore(struct pt_regs *regs, unsigned long error_code, in bad_area_nosemaphore() argument 266 __bad_area_nosemaphore(regs, error_code, address, SEGV_MAPERR); in bad_area_nosemaphore() 270 __bad_area(struct pt_regs *regs, unsigned long error_code, in __bad_area() argument 281 __bad_area_nosemaphore(regs, error_code, address, si_code); in __bad_area() 285 bad_area(struct pt_regs *regs, unsigned long error_code, unsigned long address) in bad_area() argument 287 __bad_area(regs, error_code, address, SEGV_MAPERR); in bad_area() [all …]
|
| H A D | tlbex_32.c | 23 handle_tlbmiss(struct pt_regs *regs, unsigned long error_code, in handle_tlbmiss() argument 60 if (unlikely(error_code && !pte_write(entry))) in handle_tlbmiss() 63 if (error_code) in handle_tlbmiss() 75 if (error_code == FAULT_CODE_INITIAL) in handle_tlbmiss() 79 set_thread_fault_code(error_code); in handle_tlbmiss()
|
| /linux/include/trace/events/ |
| H A D | exceptions.h | 13 unsigned long error_code), 15 TP_ARGS(address, regs, error_code), 20 __field( unsigned long, error_code ) 26 __entry->error_code = error_code; 31 __entry->error_code) ); 34 TP_PROTO(unsigned long address, struct pt_regs *regs, unsigned long error_code), 35 TP_ARGS(address, regs, error_code)); 37 TP_PROTO(unsigned long address, struct pt_regs *regs, unsigned long error_code), 38 TP_ARGS(address, regs, error_code));
|
| /linux/arch/x86/kvm/vmx/ |
| H A D | common.h | 86 u64 error_code; in __vmx_handle_ept_violation() local 89 error_code = (exit_qualification & EPT_VIOLATION_ACC_READ) in __vmx_handle_ept_violation() 92 error_code |= (exit_qualification & EPT_VIOLATION_ACC_WRITE) in __vmx_handle_ept_violation() 95 error_code |= (exit_qualification & EPT_VIOLATION_ACC_INSTR) in __vmx_handle_ept_violation() 98 error_code |= (exit_qualification & EPT_VIOLATION_PROT_MASK) in __vmx_handle_ept_violation() 102 error_code |= (exit_qualification & EPT_VIOLATION_GVA_TRANSLATED) ? in __vmx_handle_ept_violation() 106 error_code |= PFERR_PRIVATE_ACCESS; in __vmx_handle_ept_violation() 108 return kvm_mmu_page_fault(vcpu, gpa, error_code, NULL, 0); in __vmx_handle_ept_violation()
|
| /linux/arch/x86/boot/compressed/ |
| H A 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 73 EXCEPTION_HANDLER boot_nmi_trap do_boot_nmi_trap error_code=0 76 EXCEPTION_HANDLER boot_stage1_vc do_vc_no_ghcb error_code=1 77 EXCEPTION_HANDLER boot_stage2_vc do_boot_stage2_vc error_code=1
|
| H A D | ident_map_64.c | 345 static void do_pf_error(const char *msg, unsigned long error_code, in do_pf_error() argument 351 error_puthex(error_code); in do_pf_error() 361 void do_boot_page_fault(struct pt_regs *regs, unsigned long error_code) in do_boot_page_fault() argument 378 if (error_code & (X86_PF_PROT | X86_PF_USER | X86_PF_RSVD)) in do_boot_page_fault() 379 do_pf_error("Unexpected page-fault:", error_code, address, regs->ip); in do_boot_page_fault() 381 do_pf_error("Page-fault on GHCB page:", error_code, address, regs->ip); in do_boot_page_fault() 390 void do_boot_nmi_trap(struct pt_regs *regs, unsigned long error_code) in do_boot_nmi_trap() argument
|
| /linux/fs/orangefs/ |
| H A 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 …]
|
| /linux/arch/microblaze/mm/ |
| H A 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() 210 if (unlikely(error_code & 0x08000000)) in do_page_fault()
|
| /linux/drivers/platform/x86/intel/ifs/ |
| H A D | ifs.h | 191 u32 error_code :8; member 203 u32 error_code :8; member 218 u32 error_code :8; member 228 u32 error_code :8; member 269 u32 error_code :8; member 308 u32 error_code :8; member
|
| /linux/drivers/thunderbolt/ |
| H A D | dma_test.c | 108 enum dma_test_test_error error_code; member 490 if (!dt->error_code) { in dma_test_check_errors() 492 dt->error_code = DMA_TEST_SPEED_ERROR; in dma_test_check_errors() 494 dt->error_code = DMA_TEST_WIDTH_ERROR; in dma_test_check_errors() 498 dt->error_code = DMA_TEST_PACKET_ERROR; in dma_test_check_errors() 525 dt->error_code = DMA_TEST_NO_ERROR; in test_store() 537 dt->error_code = DMA_TEST_CONFIG_ERROR; in test_store() 544 dt->error_code = DMA_TEST_BONDING_ERROR; in test_store() 551 dt->error_code = DMA_TEST_DMA_ERROR; in test_store() 560 dt->error_code = DMA_TEST_BUFFER_ERROR; in test_store() [all …]
|
| /linux/tools/testing/selftests/kvm/x86/ |
| H A D | nested_exceptions_test.c | 75 uint32_t error_code) in svm_run_l2() argument 87 GUEST_ASSERT_EQ(ctrl->exit_info_1, error_code); in svm_run_l2() 114 static void vmx_run_l2(void *l2_code, int vector, uint32_t error_code) in vmx_run_l2() argument 125 GUEST_ASSERT_EQ(vmreadz(VM_EXIT_INTR_ERROR_CODE), error_code); in vmx_run_l2() 206 events.exception.error_code = SS_ERROR_CODE; in queue_ss_exception() 253 TEST_ASSERT_EQ(events.exception.error_code, SS_ERROR_CODE); in main()
|
| /linux/arch/arm64/kvm/ |
| H A D | pauth.c | 128 u64 mask, error_code; in corrupt_addr() local 140 error_code = 2 << shift; in corrupt_addr() 142 error_code = 1 << shift; in corrupt_addr() 145 ptr |= error_code; in corrupt_addr()
|
| /linux/drivers/gpu/drm/amd/amdgpu/ |
| H A 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()
|
| /linux/arch/x86/include/asm/ |
| H A D | vsyscall.h | 17 extern bool emulate_vsyscall(unsigned long error_code, 21 static inline bool emulate_vsyscall(unsigned long error_code, in emulate_vsyscall() argument
|
| /linux/arch/x86/um/shared/sysdep/ |
| H A 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)
|
| H A 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)
|
| H A D | mcontext.h | 25 (fi).error_code = (mc)->gregs[REG_ERR]; \ 34 (fi).error_code = (mc)->gregs[REG_ERR]; \
|
| /linux/arch/x86/kvm/ |
| H A D | trace.h | 33 __field( u32, error_code ) 42 &__entry->error_code); 47 __entry->intr_info, __entry->error_code, 403 __field( u32, error_code ) \ 418 &__entry->error_code); \ 427 __entry->intr_info, __entry->error_code, \ 472 TP_PROTO(unsigned exception, bool has_error, unsigned error_code, 474 TP_ARGS(exception, has_error, error_code, reinjected), 479 __field( u32, error_code ) 486 __entry->error_code = error_code; [all …]
|
| /linux/drivers/iommu/ |
| H A D | apple-dart.c | 1031 u32 error_code = FIELD_GET(DART_T8020_ERROR_CODE, error); in apple_dart_t8020_irq() local 1041 if (error_code == DART_T8020_ERROR_READ_FAULT) in apple_dart_t8020_irq() 1043 else if (error_code == DART_T8020_ERROR_WRITE_FAULT) in apple_dart_t8020_irq() 1045 else if (error_code == DART_T8020_ERROR_NO_PTE) in apple_dart_t8020_irq() 1047 else if (error_code == DART_T8020_ERROR_NO_PMD) in apple_dart_t8020_irq() 1049 else if (error_code == DART_T8020_ERROR_NO_TTBR) in apple_dart_t8020_irq() 1057 error, stream_idx, error_code, fault_name, addr); in apple_dart_t8020_irq() 1068 u32 error_code = FIELD_GET(DART_T8110_ERROR_CODE, error); in apple_dart_t8110_irq() local 1078 if (error_code == DART_T8110_ERROR_READ_FAULT) in apple_dart_t8110_irq() 1080 else if (error_code == DART_T8110_ERROR_WRITE_FAULT) in apple_dart_t8110_irq() [all …]
|
| /linux/arch/m68k/mm/ |
| H A D | fault.c | 71 unsigned long error_code) in do_page_fault() argument 79 regs->sr, regs->pc, address, error_code, mm ? mm->pgd : NULL); in do_page_fault() 120 switch (error_code & 3) { in do_page_fault()
|
| /linux/arch/x86/entry/vdso/ |
| H A D | extable.c | 13 unsigned long error_code, unsigned long fault_addr) in fixup_vdso_exception() argument 39 regs->si = error_code; in fixup_vdso_exception()
|
| /linux/sound/pci/mixart/ |
| H A D | mixart_hwdep.c | 156 if((err < 0) || (connector->error_code) || (connector->uid_count > MIXART_MAX_PHYS_CONNECTORS)) { in mixart_enum_connectors() 200 if((err < 0) || (connector->error_code) || (connector->uid_count > MIXART_MAX_PHYS_CONNECTORS)) { in mixart_enum_connectors() 267 if( (err < 0) || (console_mgr.error_code != 0) ) { in mixart_enum_physio() 270 console_mgr.error_code); in mixart_enum_physio() 283 if( (err < 0) || ( phys_io.error_code != 0 ) ) { in mixart_enum_physio() 286 err, phys_io.error_code); in mixart_enum_physio()
|
| /linux/arch/sh/kernel/ |
| H A D | traps_32.c | 493 unsigned long error_code = 0; in do_address_error() local 499 error_code = lookup_exception_vector(); in do_address_error() 551 die("unaligned program counter", regs, error_code); in do_address_error() 620 unsigned long error_code; in do_reserved_inst() local 647 error_code = lookup_exception_vector(); in do_reserved_inst() 651 die_if_no_fixup("reserved instruction", regs, error_code); in do_reserved_inst()
|
| /linux/sound/soc/qcom/qdsp6/ |
| H A D | audioreach.c | 629 param_data->error_code = 0; in audioreach_display_port_set_media_format() 642 param_data->error_code = 0; in audioreach_display_port_set_media_format() 651 param_data->error_code = 0; in audioreach_display_port_set_media_format() 687 param_data->error_code = 0; in audioreach_codec_dma_set_media_format() 700 param_data->error_code = 0; in audioreach_codec_dma_set_media_format() 709 param_data->error_code = 0; in audioreach_codec_dma_set_media_format() 721 param_data->error_code = 0; in audioreach_codec_dma_set_media_format() 745 param_data->error_code = 0; in audioreach_codec_dma_set_media_format() 821 param_data->error_code = 0; in audioreach_set_module_config() 964 param_data->error_code in audioreach_compr_set_param() [all...] |