trapnr 289 arch/arc/kernel/kprobes.c int __kprobes kprobe_fault_handler(struct pt_regs *regs, unsigned long trapnr) trapnr 333 arch/arc/kernel/kprobes.c if (cur->fault_handler && cur->fault_handler(cur, regs, trapnr)) trapnr 165 arch/hexagon/kernel/kgdb.c if (kgdb_handle_exception(args->trapnr & 0xff, args->signr, args->err, trapnr 109 arch/ia64/include/asm/kprobes.h extern int kprobe_fault_handler(struct pt_regs *regs, int trapnr); trapnr 893 arch/ia64/kernel/kprobes.c int __kprobes kprobe_fault_handler(struct pt_regs *regs, int trapnr) trapnr 933 arch/ia64/kernel/kprobes.c if (cur->fault_handler && cur->fault_handler(cur, regs, trapnr)) trapnr 44 arch/mips/include/asm/kprobes.h int kprobe_fault_handler(struct pt_regs *regs, int trapnr); trapnr 352 arch/mips/kernel/kgdb.c .trapnr = trap, trapnr 401 arch/mips/kernel/kprobes.c int kprobe_fault_handler(struct pt_regs *regs, int trapnr) trapnr 406 arch/mips/kernel/kprobes.c if (cur->fault_handler && cur->fault_handler(cur, regs, trapnr)) trapnr 444 arch/mips/kernel/kprobes.c && kprobe_fault_handler(args->regs, args->trapnr)) trapnr 53 arch/parisc/include/asm/kprobes.h static inline int kprobe_fault_handler(struct pt_regs *regs, int trapnr) trapnr 89 arch/powerpc/include/asm/kprobes.h extern int kprobe_fault_handler(struct pt_regs *regs, int trapnr); trapnr 522 arch/powerpc/kernel/kprobes.c int kprobe_fault_handler(struct pt_regs *regs, int trapnr) trapnr 563 arch/powerpc/kernel/kprobes.c if (cur->fault_handler && cur->fault_handler(cur, regs, trapnr)) trapnr 76 arch/s390/include/asm/kprobes.h int kprobe_fault_handler(struct pt_regs *regs, int trapnr); trapnr 533 arch/s390/kernel/kprobes.c static int kprobe_trap_handler(struct pt_regs *regs, int trapnr) trapnr 569 arch/s390/kernel/kprobes.c if (p->fault_handler && p->fault_handler(p, regs, trapnr)) trapnr 594 arch/s390/kernel/kprobes.c int kprobe_fault_handler(struct pt_regs *regs, int trapnr) trapnr 600 arch/s390/kernel/kprobes.c ret = kprobe_trap_handler(regs, trapnr); trapnr 631 arch/s390/kernel/kprobes.c kprobe_trap_handler(regs, args->trapnr)) trapnr 48 arch/sh/include/asm/kprobes.h extern int kprobe_fault_handler(struct pt_regs *regs, int trapnr); trapnr 385 arch/sh/kernel/hw_breakpoint.c if (args->trapnr != sh_ubc->trap_nr) trapnr 327 arch/sh/kernel/kgdb.c ret = kgdb_handle_exception(args->trapnr & 0xff, args->signr, trapnr 412 arch/sh/kernel/kprobes.c int __kprobes kprobe_fault_handler(struct pt_regs *regs, int trapnr) trapnr 451 arch/sh/kernel/kprobes.c if (cur->fault_handler && cur->fault_handler(cur, regs, trapnr)) trapnr 489 arch/sh/kernel/kprobes.c args->trapnr == (BREAKPOINT_INSTRUCTION & 0xff)) { trapnr 52 arch/sparc/include/asm/kprobes.h int kprobe_fault_handler(struct pt_regs *regs, int trapnr); trapnr 320 arch/sparc/kernel/kprobes.c int __kprobes kprobe_fault_handler(struct pt_regs *regs, int trapnr) trapnr 362 arch/sparc/kernel/kprobes.c if (cur->fault_handler && cur->fault_handler(cur, regs, trapnr)) trapnr 32 arch/x86/include/asm/extable.h extern int fixup_exception(struct pt_regs *regs, int trapnr, trapnr 34 arch/x86/include/asm/extable.h extern int fixup_bug(struct pt_regs *regs, int trapnr); trapnr 36 arch/x86/include/asm/extable.h extern void early_fixup_exception(struct pt_regs *regs, int trapnr); trapnr 104 arch/x86/include/asm/kprobes.h extern int kprobe_fault_handler(struct pt_regs *regs, int trapnr); trapnr 483 arch/x86/kernel/kgdb.c kgdb_arch_handle_exception(args->trapnr, args->signr, trapnr 548 arch/x86/kernel/kgdb.c if (kgdb_handle_exception(args->trapnr, args->signr, cmd, regs)) trapnr 563 arch/x86/kernel/kgdb.c .trapnr = trap, trapnr 1009 arch/x86/kernel/kprobes/core.c int kprobe_fault_handler(struct pt_regs *regs, int trapnr) trapnr 1059 arch/x86/kernel/kprobes/core.c if (cur->fault_handler && cur->fault_handler(cur, regs, trapnr)) trapnr 174 arch/x86/kernel/traps.c int fixup_bug(struct pt_regs *regs, int trapnr) trapnr 176 arch/x86/kernel/traps.c if (trapnr != X86_TRAP_UD) trapnr 193 arch/x86/kernel/traps.c do_trap_no_signal(struct task_struct *tsk, int trapnr, const char *str, trapnr 201 arch/x86/kernel/traps.c if (trapnr < X86_TRAP_UD) { trapnr 203 arch/x86/kernel/traps.c error_code, trapnr)) trapnr 207 arch/x86/kernel/traps.c if (fixup_exception(regs, trapnr, error_code, 0)) trapnr 211 arch/x86/kernel/traps.c tsk->thread.trap_nr = trapnr; trapnr 225 arch/x86/kernel/traps.c tsk->thread.trap_nr = trapnr; trapnr 245 arch/x86/kernel/traps.c do_trap(int trapnr, int signr, char *str, struct pt_regs *regs, trapnr 251 arch/x86/kernel/traps.c if (!do_trap_no_signal(tsk, trapnr, str, regs, error_code)) trapnr 264 arch/x86/kernel/traps.c unsigned long trapnr, int signr, int sicode, void __user *addr) trapnr 272 arch/x86/kernel/traps.c if (!user_mode(regs) && fixup_bug(regs, trapnr)) trapnr 275 arch/x86/kernel/traps.c if (notify_die(DIE_TRAP, str, regs, error_code, trapnr, signr) != trapnr 278 arch/x86/kernel/traps.c do_trap(trapnr, signr, str, regs, error_code, sicode, addr); trapnr 283 arch/x86/kernel/traps.c #define DO_ERROR(trapnr, signr, sicode, addr, str, name) \ trapnr 286 arch/x86/kernel/traps.c do_error_trap(regs, error_code, str, trapnr, signr, sicode, addr); \ trapnr 818 arch/x86/kernel/traps.c static void math_error(struct pt_regs *regs, int error_code, int trapnr) trapnr 823 arch/x86/kernel/traps.c char *str = (trapnr == X86_TRAP_MF) ? "fpu exception" : trapnr 829 arch/x86/kernel/traps.c if (fixup_exception(regs, trapnr, error_code, 0)) trapnr 833 arch/x86/kernel/traps.c task->thread.trap_nr = trapnr; trapnr 836 arch/x86/kernel/traps.c trapnr, SIGFPE) != NOTIFY_STOP) trapnr 846 arch/x86/kernel/traps.c task->thread.trap_nr = trapnr; trapnr 849 arch/x86/kernel/traps.c si_code = fpu__exception_code(fpu, trapnr); trapnr 27 arch/x86/mm/extable.c struct pt_regs *regs, int trapnr, trapnr 37 arch/x86/mm/extable.c struct pt_regs *regs, int trapnr, trapnr 42 arch/x86/mm/extable.c regs->ax = trapnr; trapnr 52 arch/x86/mm/extable.c struct pt_regs *regs, int trapnr, trapnr 107 arch/x86/mm/extable.c struct pt_regs *regs, int trapnr, trapnr 122 arch/x86/mm/extable.c struct pt_regs *regs, int trapnr, trapnr 126 arch/x86/mm/extable.c WARN_ONCE(trapnr == X86_TRAP_GP, "General protection fault in user access. Non-canonical address?"); trapnr 133 arch/x86/mm/extable.c struct pt_regs *regs, int trapnr, trapnr 145 arch/x86/mm/extable.c struct pt_regs *regs, int trapnr, trapnr 162 arch/x86/mm/extable.c struct pt_regs *regs, int trapnr, trapnr 178 arch/x86/mm/extable.c struct pt_regs *regs, int trapnr, trapnr 185 arch/x86/mm/extable.c return ex_handler_default(fixup, regs, trapnr, error_code, fault_addr); trapnr 202 arch/x86/mm/extable.c int fixup_exception(struct pt_regs *regs, int trapnr, unsigned long error_code, trapnr 227 arch/x86/mm/extable.c return handler(e, regs, trapnr, error_code, fault_addr); trapnr 233 arch/x86/mm/extable.c void __init early_fixup_exception(struct pt_regs *regs, int trapnr) trapnr 236 arch/x86/mm/extable.c if (trapnr == X86_TRAP_NMI) trapnr 265 arch/x86/mm/extable.c if (fixup_exception(regs, trapnr, regs->orig_ax, 0)) trapnr 268 arch/x86/mm/extable.c if (fixup_bug(regs, trapnr)) trapnr 273 arch/x86/mm/extable.c (unsigned)trapnr, (unsigned long)regs->cs, regs->ip, trapnr 1198 drivers/misc/sgi-xp/xpc_main.c if (die_args->trapnr == X86_TRAP_DF) trapnr 1201 drivers/misc/sgi-xp/xpc_main.c if (((die_args->trapnr == X86_TRAP_MF) || trapnr 1202 drivers/misc/sgi-xp/xpc_main.c (die_args->trapnr == X86_TRAP_XF)) && trapnr 13 include/linux/kdebug.h int trapnr; trapnr 319 include/linux/kgdb.h extern int kgdb_nmicallin(int cpu, int trapnr, void *regs, int err_code, trapnr 56 include/linux/kprobes.h int trapnr); trapnr 382 include/linux/kprobes.h static inline int kprobe_fault_handler(struct pt_regs *regs, int trapnr) trapnr 823 kernel/debug/debug_core.c int kgdb_nmicallin(int cpu, int trapnr, void *regs, int err_code, trapnr 836 kernel/debug/debug_core.c ks->ex_vector = trapnr; trapnr 1148 kernel/kprobes.c int trapnr) trapnr 1157 kernel/kprobes.c if (cur->fault_handler(cur, regs, trapnr)) trapnr 545 kernel/notifier.c .trapnr = trap, trapnr 87 samples/kprobes/kprobe_example.c static int handler_fault(struct kprobe *p, struct pt_regs *regs, int trapnr) trapnr 89 samples/kprobes/kprobe_example.c pr_info("fault_handler: p->addr = 0x%p, trap #%dn", p->addr, trapnr);