Home
last modified time | relevance | path

Searched refs:error_code (Results 1 – 25 of 181) sorted by relevance

12345678

/linux/arch/x86/mm/
A Dfault.c135 if (error_code & X86_PF_INSTR) in is_prefetch()
512 if (error_code & X86_PF_INSTR) { in show_fault_oops()
606 unsigned long *error_code) in sanitize_error_code() argument
618 *error_code |= X86_PF_PROT; in sanitize_error_code()
622 unsigned long error_code) in set_signal_archinfo() argument
627 tsk->thread.error_code = error_code | X86_PF_USER; in set_signal_archinfo()
886 if (error_code & X86_PF_PK) in bad_area_access_from_pkeys()
1086 if (error_code & X86_PF_PK) in access_error()
1221 unsigned long error_code, in do_user_addr_fault() argument
1303 if (error_code & X86_PF_WRITE) in do_user_addr_fault()
[all …]
/linux/arch/sh/mm/
A Dfault.c240 die("Oops", regs, error_code); in no_context()
259 no_context(regs, error_code, address); in __bad_area_nosemaphore()
307 no_context(regs, error_code, address); in do_sigbus()
350 bad_area(regs, error_code, address); in mm_fault_error()
360 if (error_code & FAULT_CODE_WRITE) { in access_error()
390 unsigned long error_code, in do_page_fault() argument
446 bad_area(regs, error_code, address); in do_page_fault()
452 bad_area(regs, error_code, address); in do_page_fault()
456 bad_area(regs, error_code, address); in do_page_fault()
470 set_thread_fault_code(error_code); in do_page_fault()
[all …]
A Dtlbex_32.c22 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()
/linux/arch/x86/kernel/
A Dtraps.c111 error_code, trapnr)) in do_trap_no_signal()
118 tsk->thread.error_code = error_code; in do_trap_no_signal()
120 die(str, regs, error_code); in do_trap_no_signal()
135 tsk->thread.error_code = error_code; in do_trap_no_signal()
309 error_code, BUS_ADRALN, NULL); in DEFINE_IDTENTRY_ERRORCODE()
420 tsk->thread.error_code = error_code; in DEFINE_IDTENTRY_DF()
590 tsk->thread.error_code = error_code; in DEFINE_IDTENTRY_ERRORCODE()
604 tsk->thread.error_code = error_code; in DEFINE_IDTENTRY_ERRORCODE()
620 if (error_code) in DEFINE_IDTENTRY_ERRORCODE()
1073 task->thread.error_code = 0; in math_error()
[all …]
A Dsev.c251 ctxt->fi.error_code = 0; in __vc_decode_user_insn()
363 error_code |= X86_PF_USER; in vc_write_mem()
366 ctxt->fi.error_code = error_code; in vc_write_mem()
441 error_code |= X86_PF_USER; in vc_read_mem()
444 ctxt->fi.error_code = error_code; in vc_read_mem()
465 ctxt->fi.error_code = 0; in vc_slow_virt_to_phys()
967 ctxt->fi.error_code = 0; in vc_handle_mmio_movs()
1097 ctxt->fi.error_code = 0; in vc_handle_dr7_write()
1220 ctxt->fi.error_code = 0; in vc_handle_trap_ac()
1287 long error_code = ctxt->fi.error_code; in vc_forward_exception() local
[all …]
/linux/arch/x86/include/asm/trace/
A Dexceptions.h17 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), \
/linux/arch/nds32/mm/
A Dfault.c74 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()
326 tsk->thread.error_code = error_code; in do_page_fault()
/linux/arch/x86/boot/compressed/
A Didt_handlers_64.S15 .macro EXCEPTION_HANDLER name function error_code=0
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
A Dident_map_64.c308 static void do_pf_error(const char *msg, unsigned long error_code, in do_pf_error() argument
314 error_puthex(error_code); in do_pf_error()
324 void do_boot_page_fault(struct pt_regs *regs, unsigned long error_code) in do_boot_page_fault() argument
341 if (error_code & (X86_PF_PROT | X86_PF_USER | X86_PF_RSVD)) in do_boot_page_fault()
342 do_pf_error("Unexpected page-fault:", error_code, address, regs->ip); in do_boot_page_fault()
344 do_pf_error("Page-fault on GHCB page:", error_code, address, regs->ip); in do_boot_page_fault()
/linux/arch/x86/include/asm/
A Didtentry.h83 __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) \
196 u32 vector = (u32)(u8)error_code; \
316 __visible noinstr void user_##func(struct pt_regs *regs, unsigned long error_code)
391 unsigned long error_code, \
[all …]
A Dvsyscall.h16 extern bool emulate_vsyscall(unsigned long error_code,
20 static inline bool emulate_vsyscall(unsigned long error_code, in emulate_vsyscall() argument
/linux/fs/orangefs/
A Dorangefs-utils.c479 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()
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()
521 error_code = -PINT_errno_mapping[i]; in orangefs_normalize_to_errno()
523 error_code = -EINVAL; in orangefs_normalize_to_errno()
531 error_code = -EINVAL; in orangefs_normalize_to_errno()
[all …]
/linux/drivers/net/ethernet/broadcom/bnxt/
A Dbnxt_hsi.h28 __le16 error_code; member
82 __le16 error_code; member
484 __le16 error_code; member
513 __le16 error_code; member
553 __le16 error_code; member
1354 __le16 error_code; member
1377 __le16 error_code; member
1401 __le16 error_code; member
1425 __le16 error_code; member
1484 __le16 error_code; member
[all …]
/linux/arch/microblaze/mm/
A Dfault.c87 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()
/linux/arch/powerpc/mm/
A Dfault.c197 static bool bad_kernel_fault(struct pt_regs *regs, unsigned long error_code, in bad_kernel_fault() argument
302 unsigned long error_code, unsigned long address) in sanity_check_fault() argument
352 WARN_ON_ONCE(error_code & DSISR_PROTFAULT); in sanity_check_fault()
387 unsigned long error_code) in ___do_page_fault() argument
394 int is_write = page_fault_is_write(error_code); in ___do_page_fault()
401 if (unlikely(page_fault_is_bad(error_code))) { in ___do_page_fault()
410 sanity_check_fault(is_write, is_user, error_code, address); in ___do_page_fault()
417 if (unlikely(!is_user && bad_kernel_fault(regs, error_code, address, is_write))) { in ___do_page_fault()
496 (error_code & DSISR_KEYFAULT), vma))) in ___do_page_fault()
/linux/arch/h8300/mm/
A Dfault.c36 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()
/linux/drivers/thunderbolt/
A Ddma_test.c108 enum dma_test_test_error error_code; member
489 if (!dt->error_code) { in dma_test_check_errors()
491 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/drivers/gpu/drm/amd/amdgpu/
A Damdgpu_vf_error.c34 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/um/shared/sysdep/
A Dfaultinfo_32.h19 int error_code; /* in ptrace_faultinfo misleadingly called is_write */ member
24 #define FAULT_WRITE(fi) ((fi).error_code & 2)
A Dfaultinfo_64.h19 int error_code; /* in ptrace_faultinfo misleadingly called is_write */ member
24 #define FAULT_WRITE(fi) ((fi).error_code & 2)
A Dmcontext.h16 (fi).error_code = (mc)->gregs[REG_ERR]; \
25 (fi).error_code = (mc)->gregs[REG_ERR]; \
/linux/tools/perf/util/
A Dbpf-prologue.c325 prologue_relocate(struct bpf_insn_pos *pos, struct bpf_insn *error_code, in prologue_relocate() argument
346 target = error_code; in prologue_relocate()
369 struct bpf_insn *error_code = NULL; in bpf__gen_prologue() local
462 error_code = pos.pos; in bpf__gen_prologue()
494 err = prologue_relocate(&pos, error_code, success_code, in bpf__gen_prologue()
/linux/arch/x86/entry/vsyscall/
A Dvsyscall_64.c109 thread->error_code = X86_PF_USER | X86_PF_WRITE; in write_ok_or_segv()
120 bool emulate_vsyscall(unsigned long error_code, in emulate_vsyscall() argument
131 if ((error_code & (X86_PF_WRITE | X86_PF_USER)) != X86_PF_USER) in emulate_vsyscall()
134 if (!(error_code & X86_PF_INSTR)) { in emulate_vsyscall()
/linux/arch/m68k/mm/
A Dfault.c69 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()
/linux/arch/x86/entry/vdso/
A Dextable.c13 unsigned long error_code, unsigned long fault_addr) in fixup_vdso_exception() argument
39 regs->si = error_code; in fixup_vdso_exception()

Completed in 95 milliseconds

12345678