/arch/x86/mm/ |
D | extable.c | 27 struct pt_regs *regs, int trapnr, in ex_handler_default() argument 37 struct pt_regs *regs, int trapnr, in ex_handler_fault() argument 42 regs->ax = trapnr; in ex_handler_fault() 58 struct pt_regs *regs, int trapnr, in ex_handler_fprestore() argument 73 struct pt_regs *regs, int trapnr, in ex_handler_uaccess() argument 77 …WARN_ONCE(trapnr == X86_TRAP_GP, "General protection fault in user access. Non-canonical address?"… in ex_handler_uaccess() 84 struct pt_regs *regs, int trapnr, in ex_handler_ext() argument 96 struct pt_regs *regs, int trapnr, in ex_handler_rdmsr_unsafe() argument 113 struct pt_regs *regs, int trapnr, in ex_handler_wrmsr_unsafe() argument 129 struct pt_regs *regs, int trapnr, in ex_handler_clear_fs() argument [all …]
|
/arch/x86/kernel/ |
D | traps.c | 174 int fixup_bug(struct pt_regs *regs, int trapnr) in fixup_bug() argument 176 if (trapnr != X86_TRAP_UD) in fixup_bug() 193 do_trap_no_signal(struct task_struct *tsk, int trapnr, const char *str, in do_trap_no_signal() argument 201 if (trapnr < X86_TRAP_UD) { in do_trap_no_signal() 203 error_code, trapnr)) in do_trap_no_signal() 207 if (fixup_exception(regs, trapnr, error_code, 0)) in do_trap_no_signal() 211 tsk->thread.trap_nr = trapnr; in do_trap_no_signal() 225 tsk->thread.trap_nr = trapnr; in do_trap_no_signal() 245 do_trap(int trapnr, int signr, char *str, struct pt_regs *regs, in do_trap() argument 251 if (!do_trap_no_signal(tsk, trapnr, str, regs, error_code)) in do_trap() [all …]
|
D | kgdb.c | 483 kgdb_arch_handle_exception(args->trapnr, args->signr, in single_step_cont() 548 if (kgdb_handle_exception(args->trapnr, args->signr, cmd, regs)) in __kgdb_notify() 563 .trapnr = trap, in kgdb_ll_trap()
|
/arch/x86/include/asm/ |
D | extable.h | 32 extern int fixup_exception(struct pt_regs *regs, int trapnr, 34 extern int fixup_bug(struct pt_regs *regs, int trapnr); 36 extern void early_fixup_exception(struct pt_regs *regs, int trapnr);
|
D | kprobes.h | 104 extern int kprobe_fault_handler(struct pt_regs *regs, int trapnr);
|
/arch/x86/kernel/cpu/mce/ |
D | internal.h | 176 struct pt_regs *regs, int trapnr, 181 struct pt_regs *regs, int trapnr,
|
/arch/parisc/include/asm/ |
D | kprobes.h | 53 static inline int kprobe_fault_handler(struct pt_regs *regs, int trapnr) in kprobe_fault_handler() argument
|
/arch/sh/include/asm/ |
D | kprobes.h | 48 extern int kprobe_fault_handler(struct pt_regs *regs, int trapnr);
|
/arch/sparc/include/asm/ |
D | kprobes.h | 52 int kprobe_fault_handler(struct pt_regs *regs, int trapnr);
|
/arch/mips/include/asm/ |
D | kprobes.h | 44 int kprobe_fault_handler(struct pt_regs *regs, int trapnr);
|
/arch/s390/kernel/ |
D | kprobes.c | 533 static int kprobe_trap_handler(struct pt_regs *regs, int trapnr) in kprobe_trap_handler() argument 569 if (p->fault_handler && p->fault_handler(p, regs, trapnr)) in kprobe_trap_handler() 594 int kprobe_fault_handler(struct pt_regs *regs, int trapnr) in kprobe_fault_handler() argument 600 ret = kprobe_trap_handler(regs, trapnr); in kprobe_fault_handler() 631 kprobe_trap_handler(regs, args->trapnr)) in kprobe_exceptions_notify()
|
/arch/s390/include/asm/ |
D | kprobes.h | 76 int kprobe_fault_handler(struct pt_regs *regs, int trapnr);
|
/arch/powerpc/include/asm/ |
D | kprobes.h | 89 extern int kprobe_fault_handler(struct pt_regs *regs, int trapnr);
|
/arch/ia64/include/asm/ |
D | kprobes.h | 109 extern int kprobe_fault_handler(struct pt_regs *regs, int trapnr);
|
/arch/mips/kernel/ |
D | kprobes.c | 401 int kprobe_fault_handler(struct pt_regs *regs, int trapnr) in kprobe_fault_handler() argument 406 if (cur->fault_handler && cur->fault_handler(cur, regs, trapnr)) in kprobe_fault_handler() 444 && kprobe_fault_handler(args->regs, args->trapnr)) in kprobe_exceptions_notify()
|
D | kgdb.c | 352 .trapnr = trap, in kgdb_ll_trap()
|
/arch/sh/kernel/ |
D | kprobes.c | 412 int __kprobes kprobe_fault_handler(struct pt_regs *regs, int trapnr) in kprobe_fault_handler() argument 451 if (cur->fault_handler && cur->fault_handler(cur, regs, trapnr)) in kprobe_fault_handler() 489 args->trapnr == (BREAKPOINT_INSTRUCTION & 0xff)) { in kprobe_exceptions_notify()
|
D | hw_breakpoint.c | 385 if (args->trapnr != sh_ubc->trap_nr) in hw_breakpoint_exceptions_notify()
|
D | kgdb.c | 327 ret = kgdb_handle_exception(args->trapnr & 0xff, args->signr, in __kgdb_notify()
|
/arch/arc/kernel/ |
D | kprobes.c | 289 int __kprobes kprobe_fault_handler(struct pt_regs *regs, unsigned long trapnr) in kprobe_fault_handler() argument 333 if (cur->fault_handler && cur->fault_handler(cur, regs, trapnr)) in kprobe_fault_handler()
|
/arch/sparc/kernel/ |
D | kprobes.c | 320 int __kprobes kprobe_fault_handler(struct pt_regs *regs, int trapnr) in kprobe_fault_handler() argument 362 if (cur->fault_handler && cur->fault_handler(cur, regs, trapnr)) in kprobe_fault_handler()
|
/arch/powerpc/kernel/ |
D | kprobes.c | 523 int kprobe_fault_handler(struct pt_regs *regs, int trapnr) in kprobe_fault_handler() argument 564 if (cur->fault_handler && cur->fault_handler(cur, regs, trapnr)) in kprobe_fault_handler()
|
/arch/hexagon/kernel/ |
D | kgdb.c | 165 if (kgdb_handle_exception(args->trapnr & 0xff, args->signr, args->err, in __kgdb_notify()
|
/arch/x86/kernel/kprobes/ |
D | core.c | 1010 int kprobe_fault_handler(struct pt_regs *regs, int trapnr) in kprobe_fault_handler() argument 1065 if (cur->fault_handler && cur->fault_handler(cur, regs, trapnr)) in kprobe_fault_handler()
|
/arch/ia64/kernel/ |
D | kprobes.c | 893 int __kprobes kprobe_fault_handler(struct pt_regs *regs, int trapnr) in kprobe_fault_handler() argument 933 if (cur->fault_handler && cur->fault_handler(cur, regs, trapnr)) in kprobe_fault_handler()
|