Home
last modified time | relevance | path

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

/linux-4.4.14/arch/x86/mm/
Dfault.c137 is_prefetch(struct pt_regs *regs, unsigned long error_code, unsigned long addr) in is_prefetch() argument
147 if (error_code & PF_INSTR) in is_prefetch()
594 show_fault_oops(struct pt_regs *regs, unsigned long error_code, in show_fault_oops() argument
600 if (error_code & PF_INSTR) { in show_fault_oops()
632 pgtable_bad(struct pt_regs *regs, unsigned long error_code, in pgtable_bad() argument
649 tsk->thread.error_code = error_code; in pgtable_bad()
651 if (__die("Bad pagetable", regs, error_code)) in pgtable_bad()
658 no_context(struct pt_regs *regs, unsigned long error_code, in no_context() argument
683 tsk->thread.error_code = error_code | PF_USER; in no_context()
707 if (is_prefetch(regs, error_code, address)) in no_context()
[all …]
/linux-4.4.14/arch/x86/kernel/
Dtraps.c186 struct pt_regs *regs, long error_code) in do_trap_no_signal() argument
195 error_code, trapnr)) in do_trap_no_signal()
203 tsk->thread.error_code = error_code; in do_trap_no_signal()
205 die(str, regs, error_code); in do_trap_no_signal()
246 long error_code, siginfo_t *info) in do_trap() argument
251 if (!do_trap_no_signal(tsk, trapnr, str, regs, error_code)) in do_trap()
262 tsk->thread.error_code = error_code; in do_trap()
270 regs->ip, regs->sp, error_code); in do_trap()
280 static void do_error_trap(struct pt_regs *regs, long error_code, char *str, in do_error_trap() argument
287 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()
Dvm86_32.c558 int handle_vm86_trap(struct kernel_vm86_regs *regs, long error_code, int trapno) in handle_vm86_trap() argument
573 current->thread.error_code = error_code; in handle_vm86_trap()
578 void handle_vm86_fault(struct kernel_vm86_regs *regs, long error_code) in handle_vm86_fault() argument
Dptrace.c1417 int error_code, int si_code, in fill_sigtrap_info() argument
1421 tsk->thread.error_code = error_code; in fill_sigtrap_info()
1437 int error_code, int si_code) in send_sigtrap() argument
1441 fill_sigtrap_info(tsk, regs, error_code, si_code, &info); in send_sigtrap()
Dkvm.c258 do_async_page_fault(struct pt_regs *regs, unsigned long error_code) in do_async_page_fault() argument
264 trace_do_page_fault(regs, error_code); in do_async_page_fault()
Dnmi.c482 do_nmi(struct pt_regs *regs, long error_code) in do_nmi() argument
Dsignal.c156 put_user_ex(current->thread.error_code, &sc->err); in setup_sigcontext()
/linux-4.4.14/arch/sh/mm/
Dfault.c226 no_context(struct pt_regs *regs, unsigned long error_code, in no_context() argument
244 die("Oops", regs, error_code); in no_context()
250 __bad_area_nosemaphore(struct pt_regs *regs, unsigned long error_code, in __bad_area_nosemaphore() argument
267 no_context(regs, error_code, address); in __bad_area_nosemaphore()
271 bad_area_nosemaphore(struct pt_regs *regs, unsigned long error_code, in bad_area_nosemaphore() argument
274 __bad_area_nosemaphore(regs, error_code, address, SEGV_MAPERR); in bad_area_nosemaphore()
278 __bad_area(struct pt_regs *regs, unsigned long error_code, in __bad_area() argument
289 __bad_area_nosemaphore(regs, error_code, address, si_code); in __bad_area()
293 bad_area(struct pt_regs *regs, unsigned long error_code, unsigned long address) in bad_area() argument
295 __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-4.4.14/arch/x86/include/asm/trace/
Dexceptions.h15 unsigned long error_code),
17 TP_ARGS(address, regs, error_code),
22 __field( unsigned long, error_code )
28 __entry->error_code = error_code;
33 __entry->error_code) );
38 unsigned long error_code), \
39 TP_ARGS(address, regs, error_code), \
/linux-4.4.14/arch/m32r/mm/
Dfault.c74 asmlinkage void do_page_fault(struct pt_regs *regs, unsigned long error_code, in do_page_fault() argument
108 if (address >= TASK_SIZE && !(error_code & ACE_USERMODE)) in do_page_fault()
120 if (error_code & ACE_USERMODE) in do_page_fault()
139 if ((error_code & ACE_USERMODE) == 0 && in do_page_fault()
153 if (error_code & ACE_USERMODE) { in do_page_fault()
172 switch (error_code & (ACE_WRITE|ACE_PROTECTION)) { in do_page_fault()
189 if ((error_code & ACE_INSTRUCTION) && !(vma->vm_flags & VM_EXEC)) in do_page_fault()
198 set_thread_fault_code(error_code); in do_page_fault()
226 if (error_code & ACE_USERMODE) { in do_page_fault()
228 tsk->thread.error_code = error_code | (address >= TASK_SIZE); in do_page_fault()
[all …]
Dfault-nommu.c69 asmlinkage void do_page_fault(struct pt_regs *regs, unsigned long error_code, in do_page_fault() argument
88 die("Oops", regs, error_code); in do_page_fault()
/linux-4.4.14/arch/powerpc/mm/
Dfault.c209 unsigned long error_code) in do_page_fault() argument
230 error_code &= 0x48200000; in do_page_fault()
232 is_write = error_code & DSISR_ISSTORE; in do_page_fault()
234 is_write = error_code & ESR_DST; in do_page_fault()
243 if (error_code & ICSWX_DSI_UCT) { in do_page_fault()
244 rc = acop_handle_fault(regs, address, error_code); in do_page_fault()
264 if (error_code & DSISR_DABRMATCH) { in do_page_fault()
266 do_break(regs, address, error_code); in do_page_fault()
377 if (error_code & 0x95700000) in do_page_fault()
387 if (error_code & 0x10000000) in do_page_fault()
[all …]
Dicswx.c198 unsigned long error_code) in acop_handle_fault() argument
215 ct = ICSWX_GET_CT_HINT(error_code); in acop_handle_fault()
Dicswx.h61 unsigned long error_code);
/linux-4.4.14/arch/m32r/kernel/
Dtraps.c237 struct pt_regs * regs, long error_code, siginfo_t *info) in do_trap() argument
242 tsk->thread.error_code = error_code; in do_trap()
252 die(str, regs, error_code); in do_trap()
258 asmlinkage void do_##name(struct pt_regs * regs, long error_code) \
260 do_trap(trapnr, signr, NULL, regs, error_code, NULL); \
264 asmlinkage void do_##name(struct pt_regs * regs, long error_code) \
271 do_trap(trapnr, signr, str, regs, error_code, &info); \
282 asmlinkage void do_alignment_check(struct pt_regs *regs, long error_code) in do_alignment_check() argument
292 current->thread.error_code = error_code; in do_alignment_check()
/linux-4.4.14/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_hsi.h391 __le16 error_code; member
510 __le16 error_code; member
526 __le16 error_code; member
677 __le16 error_code; member
740 __le16 error_code; member
767 __le16 error_code; member
794 __le16 error_code; member
823 __le16 error_code; member
852 __le16 error_code; member
880 __le16 error_code; member
[all …]
Dbnxt_sriov.c611 if (resp->error_code) { in bnxt_hwrm_fwd_resp()
613 resp->error_code); in bnxt_hwrm_fwd_resp()
642 if (resp->error_code) { in bnxt_hwrm_fwd_err_resp()
644 resp->error_code); in bnxt_hwrm_fwd_err_resp()
673 if (resp->error_code) { in bnxt_hwrm_exec_fwd_resp()
675 resp->error_code); in bnxt_hwrm_exec_fwd_resp()
Dbnxt.c2654 rc = le16_to_cpu(resp->error_code); in _hwrm_send_message()
3262 err = le16_to_cpu(resp->error_code); in hwrm_ring_alloc_send_msg()
3378 u16 error_code; in hwrm_ring_free_send_msg() local
3386 error_code = le16_to_cpu(resp->error_code); in hwrm_ring_free_send_msg()
3389 if (rc || error_code) { in hwrm_ring_free_send_msg()
/linux-4.4.14/arch/h8300/mm/
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-4.4.14/arch/microblaze/mm/
Dfault.c87 unsigned long error_code) in do_page_fault() argument
93 int is_write = error_code & ESR_S; in do_page_fault()
98 regs->esr = error_code; in do_page_fault()
107 if ((error_code & 0x13) == 0x13 || (error_code & 0x11) == 0x11) in do_page_fault()
208 if (unlikely(error_code & 0x08000000)) in do_page_fault()
/linux-4.4.14/arch/x86/entry/
Dentry_32.S375 RESTORE_REGS 4 # skip orig_eax/error_code
382 jmp error_code
526 jmp error_code
540 jmp error_code
547 jmp error_code
566 jmp error_code
573 jmp error_code
580 jmp error_code
587 jmp error_code
593 jmp error_code
[all …]
/linux-4.4.14/arch/x86/um/shared/sysdep/
Dfaultinfo_64.h19 int error_code; /* in ptrace_faultinfo misleadingly called is_write */ member
24 #define FAULT_WRITE(fi) ((fi).error_code & 2)
Dfaultinfo_32.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-4.4.14/drivers/ide/
Dide-cd_verbose.c29 name, sense->error_code, sense->sense_key, in ide_cd_log_error()
261 if (sense->error_code == 0x70) in ide_cd_log_error()
263 else if (sense->error_code == 0x71) in ide_cd_log_error()
265 else if (sense->error_code == 0x7f) in ide_cd_log_error()
Dide-cd.c152 sense->error_code, sense->sense_key); in cdrom_analyze_sense_data()
171 if (sense->error_code == 0x70) { in cdrom_analyze_sense_data()
/linux-4.4.14/arch/x86/kvm/
Dmmutrace.h249 TP_PROTO(struct kvm_vcpu *vcpu, gva_t gva, u32 error_code,
251 TP_ARGS(vcpu, gva, error_code, sptep, old_spte, retry),
256 __field(u32, error_code)
266 __entry->error_code = error_code;
275 __entry->gva, __print_flags(__entry->error_code, "|",
Dtrace.h277 TP_PROTO(unsigned exception, bool has_error, unsigned error_code),
278 TP_ARGS(exception, has_error, error_code),
283 __field( u32, error_code )
289 __entry->error_code = error_code;
295 __entry->has_error ? __entry->error_code : 0)
302 TP_PROTO(unsigned long fault_address, unsigned int error_code),
303 TP_ARGS(fault_address, error_code),
307 __field( unsigned int, error_code )
312 __entry->error_code = error_code;
316 __entry->fault_address, __entry->error_code)
Dpaging_tmpl.h409 walker->fault.error_code = errcode; in FNAME()
432 trace_kvm_mmu_walker_error(walker->fault.error_code); in FNAME()
692 static int FNAME(page_fault)(struct kvm_vcpu *vcpu, gva_t addr, u32 error_code, in FNAME()
695 int write_fault = error_code & PFERR_WRITE_MASK; in FNAME()
696 int user_fault = error_code & PFERR_USER_MASK; in FNAME()
705 pgprintk("%s: addr %lx err %x\n", __func__, addr, error_code); in FNAME()
707 if (unlikely(error_code & PFERR_RSVD_MASK)) { in FNAME()
717 error_code &= ~PFERR_RSVD_MASK; in FNAME()
727 r = FNAME(walk_addr)(&walker, vcpu, addr, error_code); in FNAME()
Dmmu.c2841 static bool page_fault_can_be_fast(u32 error_code) in page_fault_can_be_fast() argument
2847 if (unlikely(error_code & PFERR_RSVD_MASK)) in page_fault_can_be_fast()
2855 if (!(error_code & PFERR_PRESENT_MASK) || in page_fault_can_be_fast()
2856 !(error_code & PFERR_WRITE_MASK)) in page_fault_can_be_fast()
2900 u32 error_code) in fast_page_fault() argument
2910 if (!page_fault_can_be_fast(error_code)) in fast_page_fault()
2969 trace_fast_page_fault(vcpu, gva, error_code, iterator.sptep, in fast_page_fault()
2980 static int nonpaging_map(struct kvm_vcpu *vcpu, gva_t v, u32 error_code, in nonpaging_map() argument
2988 bool map_writable, write = error_code & PFERR_WRITE_MASK; in nonpaging_map()
3003 if (fast_page_fault(vcpu, v, level, error_code)) in nonpaging_map()
[all …]
Dsvm.c214 bool has_error_code, u32 error_code);
536 bool has_error_code, u32 error_code, in svm_queue_exception() argument
546 nested_svm_check_exception(svm, nr, has_error_code, error_code)) in svm_queue_exception()
569 svm->vmcb->control.event_inj_err = error_code; in svm_queue_exception()
1624 u32 error_code; in pf_interception() local
1629 error_code = svm->vmcb->control.exit_info_1; in pf_interception()
1631 trace_kvm_page_fault(fault_address, error_code); in pf_interception()
1634 r = kvm_mmu_page_fault(&svm->vcpu, fault_address, error_code, in pf_interception()
1908 svm->vmcb->control.exit_info_1 |= fault->error_code; in nested_svm_inject_npf_exit()
1955 bool has_error_code, u32 error_code) in nested_svm_check_exception() argument
[all …]
Dvmx.c2273 bool has_error_code, u32 error_code, in vmx_queue_exception() argument
2284 vmcs_write32(VM_ENTRY_EXCEPTION_ERROR_CODE, error_code); in vmx_queue_exception()
5225 u32 intr_info, ex_no, error_code; in handle_exception() local
5255 error_code = 0; in handle_exception()
5257 error_code = vmcs_read32(VM_EXIT_INTR_ERROR_CODE); in handle_exception()
5265 !(is_page_fault(intr_info) && !(error_code & PFERR_RSVD_MASK))) { in handle_exception()
5271 vcpu->run->internal.data[2] = error_code; in handle_exception()
5279 trace_kvm_page_fault(cr2, error_code); in handle_exception()
5283 return kvm_mmu_page_fault(vcpu, cr2, error_code, NULL, 0); in handle_exception()
5289 return handle_rmode_exception(vcpu, ex_no, error_code); in handle_exception()
[all …]
Dx86.c362 unsigned nr, bool has_error, u32 error_code, in kvm_multiple_exception() argument
377 vcpu->arch.exception.error_code = error_code; in kvm_multiple_exception()
397 vcpu->arch.exception.error_code = 0; in kvm_multiple_exception()
430 kvm_queue_exception_e(vcpu, PF_VECTOR, fault->error_code); in kvm_inject_page_fault()
451 void kvm_queue_exception_e(struct kvm_vcpu *vcpu, unsigned nr, u32 error_code) in kvm_queue_exception_e() argument
453 kvm_multiple_exception(vcpu, nr, true, error_code, false); in kvm_queue_exception_e()
457 void kvm_requeue_exception_e(struct kvm_vcpu *vcpu, unsigned nr, u32 error_code) in kvm_requeue_exception_e() argument
459 kvm_multiple_exception(vcpu, nr, true, error_code, true); in kvm_requeue_exception_e()
2917 events->exception.error_code = vcpu->arch.exception.error_code; in kvm_vcpu_ioctl_x86_get_vcpu_events()
2957 vcpu->arch.exception.error_code = events->exception.error_code; in kvm_vcpu_ioctl_x86_set_vcpu_events()
[all …]
Demulate.c557 ctxt->exception.error_code = error; in emulate_exception()
3141 bool has_error_code, u32 error_code) in emulator_do_task_switch() argument
3231 ctxt->src.val = (unsigned long) error_code; in emulator_do_task_switch()
3243 bool has_error_code, u32 error_code) in emulator_task_switch() argument
3252 has_error_code, error_code); in emulator_task_switch()
5249 ctxt->exception.error_code |= PFERR_WRITE_MASK; in x86_emulate_insn()
/linux-4.4.14/arch/x86/include/asm/
Dkmemcheck.h14 unsigned long address, unsigned long error_code);
31 unsigned long address, unsigned long error_code) in kmemcheck_fault() argument
Dkvm_host.h457 u32 error_code; member
824 bool has_error_code, u32 error_code,
1022 int reason, bool has_error_code, u32 error_code);
1043 void kvm_queue_exception_e(struct kvm_vcpu *vcpu, unsigned nr, u32 error_code);
1045 void kvm_requeue_exception_e(struct kvm_vcpu *vcpu, unsigned nr, u32 error_code);
1091 int kvm_mmu_page_fault(struct kvm_vcpu *vcpu, gva_t gva, u32 error_code,
1139 static inline void kvm_inject_gp(struct kvm_vcpu *vcpu, u32 error_code) in kvm_inject_gp() argument
1141 kvm_queue_exception_e(vcpu, GP_VECTOR, error_code); in kvm_inject_gp()
Duser_64.h129 unsigned long error_code; /* CPU error code or 0 */ member
Dkvm_emulate.h23 u16 error_code; member
440 bool has_error_code, u32 error_code);
Dptrace.h83 int error_code, int si_code);
Dmce.h245 extern void (*machine_check_vector)(struct pt_regs *, long error_code);
Dprocessor.h402 unsigned long error_code; member
841 void df_debug(struct pt_regs *regs, long error_code);
/linux-4.4.14/arch/sh/kernel/
Dtraps_64.c610 asmlinkage void do_##name(unsigned long error_code, struct pt_regs *regs) \
612 do_unhandled_exception(signr, str, error_code, regs); \
647 void do_reserved_inst(unsigned long error_code, struct pt_regs *regs) in do_reserved_inst() argument
750 do_unhandled_exception(signr, exception_name, error_code, regs); in do_reserved_inst()
781 asmlinkage void do_address_error_load(unsigned long error_code, struct pt_regs *regs) in do_address_error_load() argument
785 error_code, regs); in do_address_error_load()
788 asmlinkage void do_address_error_store(unsigned long error_code, struct pt_regs *regs) in do_address_error_store() argument
792 error_code, regs); in do_address_error_store()
Dtraps_32.c476 unsigned long error_code = 0; in do_address_error() local
484 error_code = lookup_exception_vector(); in do_address_error()
547 die("unaligned program counter", regs, error_code); in do_address_error()
617 unsigned long error_code; in do_reserved_inst() local
645 error_code = lookup_exception_vector(); in do_reserved_inst()
649 die_if_no_fixup("reserved instruction", regs, error_code); in do_reserved_inst()
/linux-4.4.14/arch/powerpc/include/asm/
Ddebug.h53 unsigned long error_code, int signal_code, int brkpt);
57 unsigned long error_code);
/linux-4.4.14/arch/m68k/mm/
Dfault.c70 unsigned long error_code) in do_page_fault() argument
78 regs->sr, regs->pc, address, error_code, mm ? mm->pgd : NULL); in do_page_fault()
118 switch (error_code & 3) { in do_page_fault()
/linux-4.4.14/drivers/tty/
Dn_r3964.c113 static void remove_from_tx_queue(struct r3964_info *pInfo, int error_code);
125 int error_code, struct r3964_block_header *pBlock);
250 static void remove_from_tx_queue(struct r3964_info *pInfo, int error_code) in remove_from_tx_queue() argument
272 if (error_code) { in remove_from_tx_queue()
274 error_code, NULL); in remove_from_tx_queue()
277 error_code, NULL); in remove_from_tx_queue()
840 int error_code, struct r3964_block_header *pBlock) in add_msg() argument
849 error_code ? GFP_ATOMIC : GFP_KERNEL); in add_msg()
859 pMsg->error_code = error_code; in add_msg()
878 && (pClient->last_msg->error_code == R3964_OVERFLOW)) { in add_msg()
[all …]
/linux-4.4.14/arch/score/include/asm/
Dprocessor.h59 unsigned long error_code; member
94 .error_code = 0, \
/linux-4.4.14/sound/pci/mixart/
Dmixart_hwdep.c168 if((err < 0) || (connector->error_code) || (connector->uid_count > MIXART_MAX_PHYS_CONNECTORS)) { in mixart_enum_connectors()
212 if((err < 0) || (connector->error_code) || (connector->uid_count > MIXART_MAX_PHYS_CONNECTORS)) { in mixart_enum_connectors()
279 if( (err < 0) || (console_mgr.error_code != 0) ) { in mixart_enum_physio()
282 console_mgr.error_code); in mixart_enum_physio()
295 if( (err < 0) || ( phys_io.error_code != 0 ) ) { in mixart_enum_physio()
298 err, phys_io.error_code); in mixart_enum_physio()
Dmixart_core.h78 u32 error_code; member
281 u32 error_code; member
309 u32 error_code; member
464 u32 error_code; member
Dmixart_mixer.c331 if((err<0) || (resp.error_code)) { in mixart_update_analog_audio_level()
334 chip->chip_idx, is_capture, resp.error_code); in mixart_update_analog_audio_level()
Dmixart.c590 if((err < 0) || resp.error_code) { in mixart_set_format()
593 err, resp.error_code); in mixart_set_format()
/linux-4.4.14/drivers/staging/rtl8188eu/os_dep/
Dosdep_service.c35 inline int RTW_STATUS_CODE(int error_code) in RTW_STATUS_CODE() argument
37 if (error_code >= 0) in RTW_STATUS_CODE()
/linux-4.4.14/arch/xtensa/include/asm/
Dprocessor.h134 unsigned long error_code; member
165 error_code: 0, \
/linux-4.4.14/arch/unicore32/include/uapi/asm/
Dsigcontext.h23 unsigned long error_code; member
/linux-4.4.14/drivers/infiniband/hw/nes/
Dnes_hw.c3024 u32 error_code; in nes_cqp_ce_handler() local
3041 error_code = le32_to_cpu(cq->cq_vbase[head].cqe_words[NES_CQE_ERROR_CODE_IDX]); in nes_cqp_ce_handler()
3042 if (error_code) { in nes_cqp_ce_handler()
3046 (u16)(error_code >> 16), in nes_cqp_ce_handler()
3047 (u16)error_code); in nes_cqp_ce_handler()
3059 cqp_request->major_code = (u16)(error_code >> 16); in nes_cqp_ce_handler()
3060 cqp_request->minor_code = (u16)error_code; in nes_cqp_ce_handler()
3203 termhdr->error_code = DDP_TAGGED_INV_STAG; in nes_bld_terminate_hdr()
3208 termhdr->error_code = RDMAP_INV_STAG; in nes_bld_terminate_hdr()
3214 termhdr->error_code = RDMAP_INV_STAG; in nes_bld_terminate_hdr()
[all …]
Dnes_hw.h1358 u8 error_code; member
/linux-4.4.14/arch/arm/include/uapi/asm/
Dsigcontext.h11 unsigned long error_code; member
/linux-4.4.14/include/uapi/linux/
Dn_r3964.h91 int error_code; member
Dcdrom.h700 __u8 error_code : 7; member
702 __u8 error_code : 7;
Dkvm.h229 __u32 error_code; member
/linux-4.4.14/drivers/platform/x86/
Dacer-wmi.c162 u8 error_code; /* Error Code */ member
181 u8 error_code; /* Error Code */ member
1062 if (return_value.error_code || return_value.ec_return_value) in wmid3_get_device_status()
1065 return_value.error_code, in wmid3_get_device_status()
1141 if (return_value.error_code || return_value.ec_return_value) { in wmid3_set_device_status()
1143 return_value.error_code, in wmid3_set_device_status()
1172 if (return_value.error_code || return_value.ec_return_value) in wmid3_set_device_status()
1174 return_value.error_code, in wmid3_set_device_status()
1788 if (return_value.error_code || return_value.ec_return_value) in acer_wmi_enable_ec_raw()
1790 return_value.error_code, in acer_wmi_enable_ec_raw()
[all …]
/linux-4.4.14/arch/x86/kernel/cpu/mcheck/
Dwinchip.c16 static void winchip_machine_check(struct pt_regs *regs, long error_code) in winchip_machine_check() argument
Dp5.c20 static void pentium_machine_check(struct pt_regs *regs, long error_code) in pentium_machine_check() argument
Dmce.c973 void do_machine_check(struct pt_regs *regs, long error_code) in do_machine_check() argument
1665 static void unexpected_machine_check(struct pt_regs *regs, long error_code) in unexpected_machine_check() argument
1672 void (*machine_check_vector)(struct pt_regs *, long error_code) =
/linux-4.4.14/arch/mips/include/asm/
Dprocessor.h271 unsigned long error_code; member
338 .error_code = 0, \
/linux-4.4.14/arch/unicore32/include/asm/
Dprocessor.h46 unsigned long error_code; member
/linux-4.4.14/drivers/char/
Dapplicom.h75 unsigned char error_code[2]; member
Dapplicom.c739 adgl->error_code[i] = readb(pmem++); in ac_ioctl()
/linux-4.4.14/arch/x86/include/asm/xen/
Dinterface_32.h56 uint16_t error_code; /* private */ member
Dinterface_64.h114 uint32_t error_code; /* private */ member
/linux-4.4.14/include/linux/
Dn_r3964.h108 int error_code; member
Dusb.h1870 static inline int usb_translate_errors(int error_code) in usb_translate_errors() argument
1872 switch (error_code) { in usb_translate_errors()
1877 return error_code; in usb_translate_errors()
Dkernel.h262 void do_exit(long error_code)
Dsyscalls.h326 asmlinkage long sys_exit(int error_code);
327 asmlinkage long sys_exit_group(int error_code);
/linux-4.4.14/arch/unicore32/kernel/
Dfpu-ucf64.c69 current->thread.error_code = 0; in ucf64_raise_sigfpe()
Dtraps.c244 current->thread.error_code = err; in uc32_notify_die()
Dsignal.c177 err |= __put_user(current->thread.error_code, in setup_sigframe()
178 &sf->uc.uc_mcontext.error_code); in setup_sigframe()
/linux-4.4.14/arch/m32r/include/asm/
Dprocessor.h88 unsigned long error_code; /* Error code of trap */ member
/linux-4.4.14/include/net/phonet/
Dpep.h64 u8 error_code; /* any response */ member
/linux-4.4.14/drivers/staging/rtl8188eu/include/
Dosdep_service.h78 int RTW_STATUS_CODE(int error_code);
/linux-4.4.14/arch/arm/include/asm/
Dprocessor.h43 unsigned long error_code; member
/linux-4.4.14/drivers/scsi/aic7xxx/
Daiclib.h77 uint8_t error_code; member
/linux-4.4.14/arch/um/kernel/
Dptrace.c116 int error_code) in send_sigtrap() argument
Dtrap.c156 fi->error_code); in show_segv_info()
/linux-4.4.14/arch/ia64/include/asm/
Dsal.h808 u64 *error_code, u64 *scratch_buf_size_needed) in ia64_sal_update_pal() argument
813 if (error_code) in ia64_sal_update_pal()
814 *error_code = isrv.v0; in ia64_sal_update_pal()
/linux-4.4.14/arch/unicore32/mm/
Dalignment.c356 do_alignment(unsigned long addr, unsigned int error_code, struct pt_regs *regs) in do_alignment() argument
451 do_bad_area(addr, error_code, regs); in do_alignment()
Dfault.c126 tsk->thread.error_code = fsr; in __do_user_fault()
/linux-4.4.14/arch/score/mm/
Dfault.c143 tsk->thread.error_code = write; in do_page_fault()
/linux-4.4.14/arch/x86/mm/kmemcheck/
Dkmemcheck.c621 unsigned long error_code) in kmemcheck_fault() argument
642 if (error_code & 2) in kmemcheck_fault()
/linux-4.4.14/Documentation/kdump/
Dgdbmacros.txt171 printf "Trapno %ld, cr2 0x%lx, error_code %ld\n", $pid_task.thread.trap_no, \
172 $pid_task.thread.cr2, $pid_task.thread.error_code
/linux-4.4.14/net/dccp/
Dinput.c129 const u16 error_code[] = { in dccp_reset_code_convert() local
146 return code >= DCCP_MAX_RESET_CODES ? 0 : error_code[code]; in dccp_reset_code_convert()
/linux-4.4.14/arch/x86/math-emu/
Dfpu_entry.c235 current->thread.error_code = 0; in math_emulate()
628 current->thread.error_code = 0; in math_abort()
/linux-4.4.14/arch/x86/entry/vsyscall/
Dvsyscall_64.c106 thread->error_code = 6; /* user fault, no page, write */ in write_ok_or_segv()
/linux-4.4.14/arch/xtensa/mm/
Dfault.c161 current->thread.error_code = is_write; in do_page_fault()
/linux-4.4.14/drivers/scsi/
Dppa.c159 static inline void ppa_fail_func(ppa_struct *dev, int error_code) in ppa_fail_func() argument
161 static inline void ppa_fail(ppa_struct *dev, int error_code) in ppa_fail_func()
166 dev->cur_cmd->result = error_code << 16; in ppa_fail_func()
Dimm.c150 imm_fail_func(imm_struct *dev, int error_code) in imm_fail_func() argument
153 imm_fail(imm_struct *dev, int error_code) in imm_fail_func()
158 dev->cur_cmd->result = error_code << 16; in imm_fail_func()
Dmvumi.h242 u8 error_code:7; member
Dosst.h88 unsigned error_code :7; /* Current of deferred errors */ member
DFlashPoint.c812 unsigned char error_code);
828 static void FPT_queueFlushSccb(unsigned char p_card, unsigned char error_code);
6989 static void FPT_queueFlushSccb(unsigned char p_card, unsigned char error_code) in FPT_queueFlushSccb() argument
7007 HostStatus = (unsigned char)error_code; in FPT_queueFlushSccb()
7031 unsigned char error_code) in FPT_queueFlushTargSccb() argument
7044 (unsigned char)error_code; in FPT_queueFlushTargSccb()
/linux-4.4.14/kernel/
Dexit.c845 SYSCALL_DEFINE1(exit, int, error_code) in SYSCALL_DEFINE1() argument
847 do_exit((error_code&0xff)<<8); in SYSCALL_DEFINE1()
887 SYSCALL_DEFINE1(exit_group, int, error_code) in SYSCALL_DEFINE1() argument
889 do_group_exit((error_code & 0xff) << 8); in SYSCALL_DEFINE1()
/linux-4.4.14/arch/powerpc/kernel/
Dprocess.c307 unsigned long error_code, int signal_code, int breakpt) in do_send_trap() argument
312 if (notify_die(DIE_DABR_MATCH, "dabr_match", regs, error_code, in do_send_trap()
325 unsigned long error_code) in do_break() argument
330 if (notify_die(DIE_DABR_MATCH, "dabr_match", regs, error_code, in do_break()
Dtraps.c1749 unsigned long error_code) in CacheLockingException() argument
1755 if (error_code & (ESR_DLK|ESR_ILK)) in CacheLockingException()
/linux-4.4.14/arch/mips/mm/
Dfault.c209 tsk->thread.error_code = write; in __do_page_fault()
/linux-4.4.14/drivers/mmc/host/
Dvub300.c119 u8 error_code; member
604 if (vub300->resp.error.error_code == SD_ERROR_NO_DEVICE) in __vub300_irqpoll_response()
760 static int vub300_response_error(u8 error_code) in vub300_response_error() argument
762 switch (error_code) { in vub300_response_error()
815 vub300_response_error(vub300->resp.error.error_code); in command_res_completed()
819 vub300_response_error(vub300->resp.error.error_code); in command_res_completed()
1644 vub300_response_error(vub300->resp.error.error_code); in __vub300_command_response()
/linux-4.4.14/arch/arm/kernel/
Dsignal.c277 __put_user_error(current->thread.error_code, &sf->uc.uc_mcontext.error_code, err); in setup_sigframe()
Dtraps.c340 current->thread.error_code = err; in arm_notify_die()
/linux-4.4.14/arch/x86/include/uapi/asm/
Dkvm.h299 __u32 error_code; member
/linux-4.4.14/arch/arm64/kernel/
Dsignal32.c35 compat_ulong_t error_code; member
531 FSR_WRITE_SHIFT, &sf->uc.uc_mcontext.error_code, err); in compat_setup_sigframe()
/linux-4.4.14/arch/m68k/kernel/
Dsys_m68k.c37 unsigned long error_code);
Dtraps.c126 unsigned long error_code);
/linux-4.4.14/include/linux/qed/
Dcommon_hsi.h306 u8 error_code; member
/linux-4.4.14/arch/score/kernel/
Dasm-offsets.c135 OFFSET(THREAD_ECODE, task_struct, thread.error_code); in output_thread_defines()
/linux-4.4.14/drivers/s390/scsi/
Dzfcp_fsf.h199 u32 error_code; member
Dzfcp_fsf.c124 switch (link_down->error_code) { in zfcp_fsf_link_down_info_eval()
/linux-4.4.14/arch/xtensa/kernel/
Dtraps.c304 current->thread.error_code = -3; in do_unaligned_user()
/linux-4.4.14/net/phonet/
Dpep.c113 ph->error_code = code; in pep_reply()
504 if (hdr->error_code != PN_PIPE_NO_ERROR) in pep_connresp_rcv()
540 if (hdr->error_code != PN_PIPE_NO_ERROR) in pep_enableresp_rcv()
/linux-4.4.14/Documentation/RCU/
DNMI-RCU.txt28 void do_nmi(struct pt_regs * regs, long error_code)
/linux-4.4.14/Documentation/x86/
Dexception-tables.txt30 void do_page_fault(struct pt_regs *regs, unsigned long error_code)
34 regs is a pointer to the saved registers on the stack, error_code
/linux-4.4.14/drivers/media/platform/s5p-mfc/
Ds5p_mfc_opr.h47 volatile void __iomem *error_code; member
Ds5p_mfc_opr_v6.c1937 return readl(dev->mfc_regs->error_code); in s5p_mfc_get_int_err_v6()
2059 R(error_code, S5P_FIMV_ERROR_CODE_V6); in s5p_mfc_init_regs_v6_plus()
/linux-4.4.14/arch/microblaze/include/asm/
Dpgtable.h533 unsigned long error_code);
/linux-4.4.14/arch/arm/mm/
Dfault.c177 tsk->thread.error_code = fsr; in __do_user_fault()
/linux-4.4.14/arch/x86/ia32/
Dia32_signal.c194 put_user_ex(current->thread.error_code, &sc->err); in ia32_setup_sigcontext()
/linux-4.4.14/arch/arm/vfp/
Dvfpmodule.c235 current->thread.error_code = 0; in vfp_raise_sigfpe()
/linux-4.4.14/include/net/bluetooth/
Dmgmt.h589 __u8 error_code; member
/linux-4.4.14/arch/x86/um/
Dsignal.c283 sc.err = fi->error_code; in copy_sc_to_user()
/linux-4.4.14/drivers/gpu/drm/i915/
Di915_gpu_error.c768 uint32_t error_code = 0; in i915_error_generate_code() local
785 return error_code; in i915_error_generate_code()
/linux-4.4.14/arch/mips/kernel/
Dasm-offsets.c130 thread.error_code); in output_thread_defines()
/linux-4.4.14/drivers/scsi/bnx2i/
Dbnx2i_hwi.c114 static void bnx2i_iscsi_license_error(struct bnx2i_hba *hba, u32 error_code) in bnx2i_iscsi_license_error() argument
116 if (error_code == ISCSI_KCQE_COMPLETION_STATUS_ISCSI_NOT_SUPPORTED) in bnx2i_iscsi_license_error()
120 if (error_code == ISCSI_KCQE_COMPLETION_STATUS_LOM_ISCSI_NOT_ENABLED) in bnx2i_iscsi_license_error()
/linux-4.4.14/drivers/scsi/ibmvscsi/
Dibmvscsi.c792 static void purge_requests(struct ibmvscsi_host_data *hostdata, int error_code) in purge_requests() argument
805 evt->cmnd->result = (error_code << 16); in purge_requests()
Dibmvfc.c804 static void ibmvfc_fail_request(struct ibmvfc_event *evt, int error_code) in ibmvfc_fail_request() argument
807 evt->cmnd->result = (error_code << 16); in ibmvfc_fail_request()
826 static void ibmvfc_purge_requests(struct ibmvfc_host *vhost, int error_code) in ibmvfc_purge_requests() argument
832 ibmvfc_fail_request(evt, error_code); in ibmvfc_purge_requests()
/linux-4.4.14/drivers/scsi/qla4xxx/
Dql4_fw.h1042 uint8_t error_code; /* 0D - 0D */ member
/linux-4.4.14/drivers/net/ethernet/intel/i40evf/
Di40e_adminq_cmd.h1010 u8 error_code; member
/linux-4.4.14/drivers/net/ethernet/intel/i40e/
Di40e_adminq_cmd.h1013 u8 error_code; member
/linux-4.4.14/drivers/scsi/aacraid/
Daacraid.h871 u8 error_code; /* 70h (current errors), 71h(deferred errors) */ member
/linux-4.4.14/drivers/md/
Ddm-thin.c458 struct dm_bio_prison_cell *cell, int error_code) in cell_error_with_code() argument
460 dm_cell_error(pool->prison, cell, error_code); in cell_error_with_code()
/linux-4.4.14/drivers/android/
Dbinder.c1188 uint32_t error_code) in binder_send_failed_reply() argument
1211 target_thread->return_error = error_code; in binder_send_failed_reply()
/linux-4.4.14/Documentation/virtual/kvm/
Dapi.txt818 __u32 error_code;
3107 __u32 error_code;