/arch/s390/mm/ |
D | fault.c | 141 static void do_sigsegv(struct pt_regs *regs, unsigned long error_code, in do_sigsegv() argument 152 error_code); in do_sigsegv() 163 static void do_no_context(struct pt_regs *regs, unsigned long error_code, in do_no_context() argument 186 die("Oops", regs, error_code); in do_no_context() 190 static void do_low_address(struct pt_regs *regs, unsigned long error_code) in do_low_address() argument 196 die ("Low-address protection", regs, error_code); in do_low_address() 200 do_no_context(regs, error_code, 0); in do_low_address() 207 static int do_out_of_memory(struct pt_regs *regs, unsigned long error_code, in do_out_of_memory() argument 222 do_no_context(regs, error_code, address); in do_out_of_memory() 226 static void do_sigbus(struct pt_regs *regs, unsigned long error_code, in do_sigbus() argument [all …]
|
/arch/x86/kernel/ |
D | traps.c | 167 long error_code, siginfo_t *info) in do_trap() argument 198 tsk->thread.error_code = error_code; in do_trap() 207 regs->ip, regs->sp, error_code); in do_trap() 221 tsk->thread.error_code = error_code; in do_trap() 223 die(str, regs, error_code); in do_trap() 230 error_code, trapnr)) in do_trap() 237 dotraplinkage void do_##name(struct pt_regs *regs, long error_code) \ 239 if (notify_die(DIE_TRAP, str, regs, error_code, trapnr, signr) \ 243 do_trap(trapnr, signr, str, regs, error_code, NULL); \ 247 dotraplinkage void do_##name(struct pt_regs *regs, long error_code) \ [all …]
|
/arch/x86/mm/ |
D | fault.c | 95 unsigned long error_code) in is_prefetch() argument 106 if (error_code & PF_INSTR) in is_prefetch() 380 static void show_fault_oops(struct pt_regs *regs, unsigned long error_code, in show_fault_oops() argument 389 if (error_code & PF_INSTR) { in show_fault_oops() 413 unsigned long error_code) in pgtable_bad() argument 425 tsk->thread.error_code = error_code; in pgtable_bad() 426 if (__die("Bad pagetable", regs, error_code)) in pgtable_bad() 432 static int spurious_fault_check(unsigned long error_code, pte_t *pte) in spurious_fault_check() argument 434 if ((error_code & PF_WRITE) && !pte_write(*pte)) in spurious_fault_check() 436 if ((error_code & PF_INSTR) && !pte_exec(*pte)) in spurious_fault_check() [all …]
|
/arch/m32r/mm/ |
D | fault.c | 75 asmlinkage void do_page_fault(struct pt_regs *regs, unsigned long error_code, in do_page_fault() argument 109 if (address >= TASK_SIZE && !(error_code & ACE_USERMODE)) in do_page_fault() 137 if ((error_code & ACE_USERMODE) == 0 && in do_page_fault() 151 if (error_code & ACE_USERMODE) { in do_page_fault() 171 switch (error_code & (ACE_WRITE|ACE_PROTECTION)) { in do_page_fault() 188 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() 224 if (error_code & ACE_USERMODE) { in do_page_fault() 226 tsk->thread.error_code = error_code | (address >= TASK_SIZE); in do_page_fault() 264 die("Oops", regs, error_code); in do_page_fault() [all …]
|
D | fault-nommu.c | 70 asmlinkage void do_page_fault(struct pt_regs *regs, unsigned long error_code, in do_page_fault() argument 89 die("Oops", regs, error_code); in do_page_fault()
|
/arch/powerpc/mm/ |
D | fault.c | 118 unsigned long error_code) in do_page_fault() argument 136 error_code &= 0x48200000; in do_page_fault() 138 is_write = error_code & DSISR_ISSTORE; in do_page_fault() 140 is_write = error_code & ESR_DST; in do_page_fault() 154 if (error_code & DSISR_DABRMATCH) { in do_page_fault() 156 do_dabr(regs, address, error_code); in do_page_fault() 240 if (error_code & 0x95700000) in do_page_fault() 250 if (error_code & 0x10000000) in do_page_fault() 258 if (error_code & DSISR_PROTFAULT) in do_page_fault() 302 if (error_code & 0x08000000) in do_page_fault() [all …]
|
/arch/m32r/kernel/ |
D | traps.c | 249 struct pt_regs * regs, long error_code, siginfo_t *info) in do_trap() argument 254 tsk->thread.error_code = error_code; in do_trap() 264 die(str, regs, error_code); in do_trap() 270 asmlinkage void do_##name(struct pt_regs * regs, long error_code) \ 272 do_trap(trapnr, signr, NULL, regs, error_code, NULL); \ 276 asmlinkage void do_##name(struct pt_regs * regs, long error_code) \ 283 do_trap(trapnr, signr, str, regs, error_code, &info); \ 294 asmlinkage void do_alignment_check(struct pt_regs *regs, long error_code) in do_alignment_check() argument 304 current->thread.error_code = error_code; in do_alignment_check()
|
/arch/h8300/mm/ |
D | fault.c | 35 unsigned long error_code) in do_page_fault() argument 39 regs->sr, regs->pc, address, error_code); in do_page_fault() 52 die("Oops", regs, error_code); in do_page_fault()
|
/arch/m68knommu/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() 52 die_if_kernel("Oops", regs, error_code); in do_page_fault()
|
/arch/um/sys-i386/shared/sysdep/ |
D | faultinfo.h | 19 int error_code; /* in ptrace_faultinfo misleadingly called is_write */ member 24 #define FAULT_WRITE(fi) ((fi).error_code & 2)
|
D | sigcontext.h | 16 (fi).error_code = SC_ERR(sc); \
|
/arch/um/sys-x86_64/shared/sysdep/ |
D | faultinfo.h | 19 int error_code; /* in ptrace_faultinfo misleadingly called is_write */ member 24 #define FAULT_WRITE(fi) ((fi).error_code & 2)
|
D | sigcontext.h | 17 (fi).error_code = SC_ERR(sc); \
|
/arch/sh/kernel/ |
D | traps_64.c | 45 unsigned long error_code, struct pt_regs *regs, struct task_struct *tsk); 48 asmlinkage void do_##name(unsigned long error_code, struct pt_regs *regs) \ 50 do_unhandled_exception(trapnr, signr, str, __stringify(name), error_code, regs, current); \ 94 asmlinkage void do_address_error_load(unsigned long error_code, struct pt_regs *regs) in do_address_error_load() argument 99 error_code, regs, current); in do_address_error_load() 104 asmlinkage void do_address_error_store(unsigned long error_code, struct pt_regs *regs) in do_address_error_store() argument 109 error_code, regs, current); in do_address_error_store() 139 void do_reserved_inst(unsigned long error_code, struct pt_regs *regs) in do_reserved_inst() argument 228 …do_unhandled_exception(trapnr, signr, exception_name, "do_reserved_inst", error_code, regs, curren… in do_reserved_inst() 283 unsigned long error_code, struct pt_regs *regs, struct task_struct *tsk) in do_unhandled_exception() argument [all …]
|
D | traps_32.c | 522 unsigned long error_code = 0; in do_address_error() local 530 error_code = lookup_exception_vector(); in do_address_error() 574 die("unaligned program counter", regs, error_code); in do_address_error() 645 unsigned long error_code; in do_reserved_inst() local 671 error_code = lookup_exception_vector(); in do_reserved_inst() 675 die_if_no_fixup("reserved instruction", regs, error_code); in do_reserved_inst()
|
/arch/x86/kernel/cpu/mcheck/ |
D | mce_32.c | 25 static void unexpected_machine_check(struct pt_regs *regs, long error_code) in unexpected_machine_check() argument 31 void (*machine_check_vector)(struct pt_regs *, long error_code) = unexpected_machine_check;
|
D | mce.h | 11 extern void (*machine_check_vector)(struct pt_regs *, long error_code);
|
D | winchip.c | 18 static void winchip_machine_check(struct pt_regs *regs, long error_code) in winchip_machine_check() argument
|
/arch/x86/kvm/ |
D | paging_tmpl.h | 73 u32 error_code; member 237 walker->error_code = 0; in FNAME() 241 walker->error_code = PFERR_PRESENT_MASK; in FNAME() 245 walker->error_code |= PFERR_WRITE_MASK; in FNAME() 247 walker->error_code |= PFERR_USER_MASK; in FNAME() 249 walker->error_code |= PFERR_FETCH_MASK; in FNAME() 388 u32 error_code) in FNAME() 390 int write_fault = error_code & PFERR_WRITE_MASK; in FNAME() 391 int user_fault = error_code & PFERR_USER_MASK; in FNAME() 392 int fetch_fault = error_code & PFERR_FETCH_MASK; in FNAME() [all …]
|
/arch/m68k/mm/ |
D | fault.c | 86 unsigned long error_code) in do_page_fault() argument 94 regs->sr, regs->pc, address, error_code, in do_page_fault() 136 switch (error_code & 3) { in do_page_fault()
|
/arch/xtensa/include/asm/ |
D | processor.h | 100 unsigned long error_code; member 131 error_code: 0, \
|
/arch/sh/include/asm/ |
D | processor_64.h | 120 unsigned long trap_no, error_code; member 138 .error_code = 0, \
|
/arch/x86/include/asm/ |
D | kvm_host.h | 303 u32 error_code; member 486 bool has_error_code, u32 error_code); 534 unsigned long cr2, u16 error_code, int emulation_type); 582 void kvm_queue_exception_e(struct kvm_vcpu *vcpu, unsigned nr, u32 error_code); 584 u32 error_code); 618 int kvm_mmu_page_fault(struct kvm_vcpu *vcpu, gva_t gva, u32 error_code); 719 static inline void kvm_inject_gp(struct kvm_vcpu *vcpu, u32 error_code) in kvm_inject_gp() argument 721 kvm_queue_exception_e(vcpu, GP_VECTOR, error_code); in kvm_inject_gp()
|
/arch/arm/include/asm/ |
D | sigcontext.h | 11 unsigned long error_code; member
|
/arch/mips/include/asm/ |
D | processor.h | 213 unsigned long error_code; member 285 .error_code = 0, \
|