Home
last modified time | relevance | path

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

1234567

/Linux-v4.19/arch/x86/mm/
Dfault.c123 is_prefetch(struct pt_regs *regs, unsigned long error_code, unsigned long addr) in is_prefetch() argument
133 if (error_code & X86_PF_INSTR) in is_prefetch()
644 show_fault_oops(struct pt_regs *regs, unsigned long error_code, in show_fault_oops() argument
650 if (error_code & X86_PF_INSTR) { in show_fault_oops()
678 pgtable_bad(struct pt_regs *regs, unsigned long error_code, in pgtable_bad() argument
695 tsk->thread.error_code = error_code; in pgtable_bad()
697 if (__die("Bad pagetable", regs, error_code)) in pgtable_bad()
704 no_context(struct pt_regs *regs, unsigned long error_code, in no_context() argument
729 tsk->thread.error_code = error_code | X86_PF_USER; in no_context()
785 if (is_prefetch(regs, error_code, address)) in no_context()
[all …]
/Linux-v4.19/arch/x86/kernel/
Dtraps.c193 struct pt_regs *regs, long error_code) in do_trap_no_signal() argument
202 error_code, trapnr)) in do_trap_no_signal()
212 tsk->thread.error_code = error_code; in do_trap_no_signal()
214 die(str, regs, error_code); in do_trap_no_signal()
253 long error_code, siginfo_t *info) in do_trap() argument
258 if (!do_trap_no_signal(tsk, trapnr, str, regs, error_code)) in do_trap()
269 tsk->thread.error_code = error_code; in do_trap()
276 regs->ip, regs->sp, error_code); in do_trap()
285 static void do_error_trap(struct pt_regs *regs, long error_code, char *str, in do_error_trap() argument
299 if (notify_die(DIE_TRAP, str, regs, error_code, trapnr, signr) != in do_error_trap()
[all …]
Ddoublefault.c73 void df_debug(struct pt_regs *regs, long error_code) {} in df_debug() argument
77 void df_debug(struct pt_regs *regs, long error_code) in df_debug() argument
79 pr_emerg("PANIC: double fault, error_code: 0x%lx\n", error_code); in df_debug()
/Linux-v4.19/arch/sh/mm/
Dfault.c220 no_context(struct pt_regs *regs, unsigned long error_code, in no_context() argument
238 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
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 …]
Dtlbex_32.c22 handle_tlbmiss(struct pt_regs *regs, unsigned long error_code, in handle_tlbmiss() argument
55 if (unlikely(error_code && !pte_write(entry))) in handle_tlbmiss()
58 if (error_code) in handle_tlbmiss()
70 if (error_code == FAULT_CODE_INITIAL) in handle_tlbmiss()
74 set_thread_fault_code(error_code); in handle_tlbmiss()
/Linux-v4.19/arch/x86/include/asm/trace/
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-v4.19/arch/nds32/mm/
Dfault.c70 unsigned int error_code, struct pt_regs *regs) in do_page_fault() argument
80 error_code = error_code & (ITYPE_mskINST | ITYPE_mskETYPE); in do_page_fault()
106 && error_code == ETYPE_ALIGNMENT_CHECK) { in do_page_fault()
168 if (error_code & ITYPE_mskINST) in do_page_fault()
176 switch (error_code & ITYPE_mskETYPE) { in do_page_fault()
267 tsk->thread.error_code = error_code; in do_page_fault()
307 die("Oops", regs, error_code); in do_page_fault()
336 tsk->thread.error_code = error_code; in do_page_fault()
/Linux-v4.19/arch/powerpc/mm/
Dfault.c221 static bool bad_kernel_fault(bool is_exec, unsigned long error_code, in bad_kernel_fault() argument
224 if (is_exec && (error_code & (DSISR_NOEXEC_OR_G | DSISR_KEYFAULT))) { in bad_kernel_fault()
340 static void sanity_check_fault(bool is_write, unsigned long error_code) in sanity_check_fault() argument
372 WARN_ON_ONCE(error_code & DSISR_PROTFAULT); in sanity_check_fault()
375 static void sanity_check_fault(bool is_write, unsigned long error_code) { } in sanity_check_fault() argument
410 unsigned long error_code) in __do_page_fault() argument
417 int is_write = page_fault_is_write(error_code); in __do_page_fault()
424 if (unlikely(page_fault_is_bad(error_code))) { in __do_page_fault()
433 sanity_check_fault(is_write, error_code); in __do_page_fault()
439 if (unlikely(!is_user && bad_kernel_fault(is_exec, error_code, address))) in __do_page_fault()
[all …]
/Linux-v4.19/fs/orangefs/
Dorangefs-utils.c489 int orangefs_normalize_to_errno(__s32 error_code) in orangefs_normalize_to_errno() argument
494 if (error_code == 0) { in orangefs_normalize_to_errno()
500 } else if (error_code > 0) { in orangefs_normalize_to_errno()
503 error_code = -error_code; in orangefs_normalize_to_errno()
515 if ((-error_code) & ORANGEFS_NON_ERRNO_ERROR_BIT) { in orangefs_normalize_to_errno()
516 if (((-error_code) & in orangefs_normalize_to_errno()
523 error_code = -ETIMEDOUT; in orangefs_normalize_to_errno()
528 error_code); in orangefs_normalize_to_errno()
529 error_code = -EINVAL; in orangefs_normalize_to_errno()
533 } else if ((-error_code) & ORANGEFS_ERROR_BIT) { in orangefs_normalize_to_errno()
[all …]
/Linux-v4.19/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_hsi.h27 __le16 error_code; member
78 __le16 error_code; member
322 __le16 error_code; member
342 __le16 error_code; member
378 __le16 error_code; member
682 __le16 error_code; member
705 __le16 error_code; member
729 __le16 error_code; member
753 __le16 error_code; member
807 __le16 error_code; member
[all …]
/Linux-v4.19/arch/microblaze/mm/
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()
207 if (unlikely(error_code & 0x08000000)) in do_page_fault()
/Linux-v4.19/arch/h8300/mm/
Dfault.c37 unsigned long error_code) in do_page_fault() argument
41 regs->sr, regs->pc, address, error_code); in do_page_fault()
54 die("Oops", regs, error_code); in do_page_fault()
/Linux-v4.19/arch/x86/um/shared/sysdep/
Dfaultinfo_32.h19 int error_code; /* in ptrace_faultinfo misleadingly called is_write */ member
24 #define FAULT_WRITE(fi) ((fi).error_code & 2)
Dfaultinfo_64.h19 int error_code; /* in ptrace_faultinfo misleadingly called is_write */ member
24 #define FAULT_WRITE(fi) ((fi).error_code & 2)
Dmcontext.h16 (fi).error_code = (mc)->gregs[REG_ERR]; \
25 (fi).error_code = (mc)->gregs[REG_ERR]; \
/Linux-v4.19/drivers/ide/
Dide-cd_verbose.c30 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()
/Linux-v4.19/arch/x86/kvm/
Dmmutrace.h252 TP_PROTO(struct kvm_vcpu *vcpu, gva_t gva, u32 error_code,
254 TP_ARGS(vcpu, gva, error_code, sptep, old_spte, retry),
259 __field(u32, error_code)
269 __entry->error_code = error_code;
278 __entry->gva, __print_flags(__entry->error_code, "|",
/Linux-v4.19/drivers/gpu/drm/amd/amdgpu/
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-v4.19/arch/sh/kernel/
Dtraps_64.c611 asmlinkage void do_##name(unsigned long error_code, struct pt_regs *regs) \
613 do_unhandled_exception(signr, str, error_code, regs); \
648 void do_reserved_inst(unsigned long error_code, struct pt_regs *regs) in do_reserved_inst() argument
751 do_unhandled_exception(signr, exception_name, error_code, regs); in do_reserved_inst()
782 asmlinkage void do_address_error_load(unsigned long error_code, struct pt_regs *regs) in do_address_error_load() argument
786 error_code, regs); in do_address_error_load()
789 asmlinkage void do_address_error_store(unsigned long error_code, struct pt_regs *regs) in do_address_error_store() argument
793 error_code, regs); in do_address_error_store()
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/
Dfw.c291 u32 *update_handle, u8 *error_code, in mlx5_reg_mcc_query() argument
308 *error_code = MLX5_GET(mcc_reg, out, error_code); in mlx5_reg_mcc_query()
398 u8 control_state, error_code; in mlx5_fsm_lock() local
402 err = mlx5_reg_mcc_query(dev, fwhandle, &error_code, &control_state); in mlx5_fsm_lock()
462 u8 control_state, error_code; in mlx5_fsm_query_state() local
465 err = mlx5_reg_mcc_query(dev, &fwhandle, &error_code, &control_state); in mlx5_fsm_query_state()
470 *fsm_state_err = min_t(enum mlxfw_fsm_state_err, error_code, in mlx5_fsm_query_state()
/Linux-v4.19/tools/perf/util/
Dbpf-prologue.c319 prologue_relocate(struct bpf_insn_pos *pos, struct bpf_insn *error_code, in prologue_relocate() argument
340 target = error_code; in prologue_relocate()
363 struct bpf_insn *error_code = NULL; in bpf__gen_prologue() local
456 error_code = pos.pos; in bpf__gen_prologue()
488 err = prologue_relocate(&pos, error_code, success_code, in bpf__gen_prologue()
/Linux-v4.19/drivers/tty/
Dn_r3964.c111 static void remove_from_tx_queue(struct r3964_info *pInfo, int error_code);
123 int error_code, struct r3964_block_header *pBlock);
248 static void remove_from_tx_queue(struct r3964_info *pInfo, int error_code) in remove_from_tx_queue() argument
270 if (error_code) { in remove_from_tx_queue()
272 error_code, NULL); in remove_from_tx_queue()
275 error_code, NULL); in remove_from_tx_queue()
838 int error_code, struct r3964_block_header *pBlock) in add_msg() argument
847 error_code ? GFP_ATOMIC : GFP_KERNEL); in add_msg()
857 pMsg->error_code = error_code; in add_msg()
876 && (pClient->last_msg->error_code == R3964_OVERFLOW)) { in add_msg()
[all …]
/Linux-v4.19/arch/m68k/mm/
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()
117 switch (error_code & 3) { in do_page_fault()
/Linux-v4.19/arch/powerpc/include/asm/
Ddebug.h52 unsigned long error_code, int brkpt);
56 unsigned long error_code);
/Linux-v4.19/drivers/media/platform/sti/delta/
Ddelta-mjpeg-dec.c177 if (status->error_code == JPEG_DECODER_NO_ERROR) in delta_mjpeg_check_status()
180 if (is_stream_error(status->error_code)) { in delta_mjpeg_check_status()
184 err_str(status->error_code)); in delta_mjpeg_check_status()
190 err_str(status->error_code)); in delta_mjpeg_check_status()
289 status->error_code = JPEG_DECODER_NO_ERROR; in delta_mjpeg_ipc_decode()

1234567