/linux-6.1.9/arch/sh/kernel/ |
D | traps.c | 44 notify_die(DIE_OOPS, str, regs, err, 255, SIGSEGV); in die() 140 if (notify_die(DIE_TRAP, "debug trap", regs, 0, vec & 0xff, in BUILD_TRAP_HANDLER() 157 if (notify_die(DIE_TRAP, "bug trap", regs, 0, TRAPA_BUG_OPCODE & 0xff, in BUILD_TRAP_HANDLER() 190 switch (notify_die(DIE_NMI, "NMI", regs, 0, vec & 0xff, SIGINT)) { in BUILD_TRAP_HANDLER()
|
D | hw_breakpoint.c | 363 notify_die(DIE_BREAKPOINT, "breakpoint", regs, 0, ex, SIGTRAP); in BUILD_TRAP_HANDLER()
|
/linux-6.1.9/arch/loongarch/kernel/ |
D | traps.c | 235 if (notify_die(DIE_OOPS, str, regs, 0, current->thread.trap_nr, in die() 340 if (notify_die(DIE_FP, "FP exception", regs, 0, current->thread.trap_nr, in do_fpe() 424 if (notify_die(DIE_BREAK, "Kprobe", regs, bcode, in do_bp() 430 if (notify_die(DIE_SSTEPBP, "Kprobe_SingleStep", regs, bcode, in do_bp() 436 if (notify_die(DIE_UPROBE, "Uprobe", regs, bcode, in do_bp() 442 if (notify_die(DIE_UPROBE_XOL, "Uprobe_XOL", regs, bcode, in do_bp() 448 if (notify_die(DIE_TRAP, "Break", regs, bcode, in do_bp() 498 if (notify_die(DIE_RI, "RI Fault", regs, 0, current->thread.trap_nr, in do_ri()
|
/linux-6.1.9/arch/x86/kernel/ |
D | traps.c | 182 if (notify_die(DIE_TRAP, str, regs, error_code, trapnr, signr) != in do_error_trap() 383 if (notify_die(DIE_TRAP, str, regs, error_code, X86_TRAP_AC, SIGBUS) == NOTIFY_STOP) in DEFINE_IDTENTRY_ERRORCODE() 504 notify_die(DIE_TRAP, str, regs, error_code, X86_TRAP_DF, SIGSEGV); in DEFINE_IDTENTRY_DF() 559 if (notify_die(DIE_TRAP, "bounds", regs, 0, in DEFINE_IDTENTRY() 716 return notify_die(DIE_GPF, str, regs, error_code, trapnr, SIGSEGV) == NOTIFY_STOP; in gp_try_fixup_and_notify() 803 res = notify_die(DIE_INT3, "int3", regs, 0, X86_TRAP_BP, SIGTRAP); in do_int3() 1017 if (notify_die(DIE_DEBUG, "debug", regs, (long)dr6, 0, SIGTRAP) == NOTIFY_STOP) in notify_debug() 1217 if (notify_die(DIE_TRAP, str, regs, 0, trapnr, in math_error() 1445 if (notify_die(DIE_TRAP, "iret exception", regs, 0, in DEFINE_IDTENTRY_SW()
|
D | dumpstack.c | 420 if (notify_die(DIE_OOPS, str, regs, err, in __die_body()
|
/linux-6.1.9/arch/sparc/kernel/ |
D | traps_64.c | 92 if (notify_die(DIE_TRAP, "bad trap", regs, in bad_trap() 118 if (notify_die(DIE_TRAP_TL1, "bad trap tl1", regs, in bad_trap_tl1() 191 if (notify_die(DIE_TRAP, "instruction access exception", regs, in spitfire_insn_access_exception() 211 if (notify_die(DIE_TRAP_TL1, "instruction access exception tl1", regs, in spitfire_insn_access_exception_tl1() 224 if (notify_die(DIE_TRAP, "instruction access exception", regs, in sun4v_insn_access_exception() 244 if (notify_die(DIE_TRAP_TL1, "instruction access exception tl1", regs, in sun4v_insn_access_exception_tl1() 294 if (notify_die(DIE_TRAP, "data access exception", regs, in spitfire_data_access_exception() 330 if (notify_die(DIE_TRAP_TL1, "data access exception tl1", regs, in spitfire_data_access_exception_tl1() 343 if (notify_die(DIE_TRAP, "data access exception", regs, in sun4v_data_access_exception() 400 if (notify_die(DIE_TRAP_TL1, "data access exception tl1", regs, in sun4v_data_access_exception_tl1() [all …]
|
D | nmi.c | 72 if (notify_die(DIE_NMIWATCHDOG, str, regs, 0, in die_nmi() 95 if (notify_die(DIE_NMI, "nmi", regs, 0, in perfctr_irq()
|
D | uprobes.c | 254 if (notify_die((trap_level == 0x173) ? DIE_BPT : DIE_SSTEP, in uprobe_trap()
|
D | kprobes.c | 415 if (notify_die((trap_level == 0x170) ? DIE_DEBUG : DIE_DEBUG_2, in kprobe_trap()
|
/linux-6.1.9/arch/ia64/kernel/ |
D | traps.c | 69 if (notify_die(DIE_OOPS, str, regs, err, 255, SIGSEGV) in die() 107 if (notify_die(DIE_BREAK, "break 0", regs, break_num, TRAP_BRKPT, SIGTRAP) in ia64_bad_break() 171 if (notify_die(DIE_BREAK, "bad break", regs, break_num, TRAP_BRKPT, SIGTRAP) in ia64_bad_break() 541 if (notify_die(DIE_FAULT, "ia64_fault", ®s, vector, si_code, SIGTRAP) in ia64_fault()
|
D | process.c | 592 (void) notify_die(DIE_MACHINE_RESTART, restart_cmd, NULL, 0, 0, 0); in machine_restart() 599 (void) notify_die(DIE_MACHINE_HALT, "", NULL, 0, 0, 0); in machine_halt()
|
D | mca.c | 119 if ((notify_die((event), "INIT", (regs), (arg), 0, 0) \ 126 if ((notify_die((event), "MCA", (regs), (arg), 0, 0) \
|
/linux-6.1.9/arch/s390/kernel/ |
D | traps.c | 64 if (notify_die(DIE_TRAP, str, regs, 0, in do_trap() 73 if (notify_die(DIE_SSTEP, "sstep", regs, 0, 0, SIGTRAP) == NOTIFY_STOP) in do_per_trap() 180 if (notify_die(DIE_BPT, "bpt", regs, 0, in illegal_op()
|
D | dumpstack.c | 216 notify_die(DIE_OOPS, str, regs, 0, regs->int_code & 0xffff, SIGSEGV); in die()
|
/linux-6.1.9/include/linux/ |
D | kdebug.h | 20 int notify_die(enum die_val val, const char *str,
|
/linux-6.1.9/arch/riscv/kernel/ |
D | traps.c | 50 ret = notify_die(DIE_OOPS, str, regs, 0, cause, SIGSEGV); in die() 183 else if (notify_die(DIE_TRAP, "EBREAK", regs, 0, regs->cause, SIGTRAP) in do_trap_break()
|
/linux-6.1.9/arch/mips/kernel/ |
D | traps.c | 401 if (notify_die(DIE_OOPS, str, regs, 0, current->thread.trap_nr, in die() 487 if (notify_die(DIE_OOPS, "bus error", regs, 0, current->thread.trap_nr, in do_be() 881 if (notify_die(DIE_FP, "FP exception", regs, 0, current->thread.trap_nr, in do_fpe() 978 if (notify_die(DIE_TRAP, str, regs, code, current->thread.trap_nr, in do_trap_or_bp() 1076 if (notify_die(DIE_UPROBE, "uprobe", regs, bcode, in do_bp() 1082 if (notify_die(DIE_UPROBE_XOL, "uprobe_xol", regs, bcode, in do_bp() 1088 if (notify_die(DIE_BREAK, "debug", regs, bcode, in do_bp() 1094 if (notify_die(DIE_SSTEPBP, "single_step", regs, bcode, in do_bp() 1189 if (notify_die(DIE_RI, "RI Fault", regs, 0, current->thread.trap_nr, in do_ri() 1513 if (notify_die(DIE_MSAFP, "MSA FP exception", regs, 0, in do_msa_fpe()
|
/linux-6.1.9/arch/arc/kernel/ |
D | traps.c | 146 rc = notify_die(DIE_IERR, "kprobe_ierr", regs, address, 0, SIGILL); in do_insterror_or_kprobe()
|
D | kprobes.c | 414 notify_die(DIE_TRAP, "kprobe_trap", regs, address, 0, SIGTRAP); in trap_is_kprobe()
|
/linux-6.1.9/kernel/ |
D | notifier.c | 580 int notrace notify_die(enum die_val val, const char *str, in notify_die() function 595 NOKPROBE_SYMBOL(notify_die);
|
/linux-6.1.9/arch/powerpc/kernel/ |
D | traps.c | 276 if (notify_die(DIE_OOPS, str, regs, err, 255, SIGSEGV) == NOTIFY_STOP) in __die() 1120 if (notify_die(DIE_IABR_MATCH, "iabr_match", regs, 5, in DEFINE_INTERRUPT_HANDLER() 1141 if (notify_die(DIE_SSTEP, "single_step", regs, 5, in __single_step_exception() 1498 if (notify_die(DIE_BPT, "breakpoint", regs, 5, 5, SIGTRAP) in do_program_check() 2027 if (notify_die(DIE_SSTEP, "block_step", regs, 5, in DEFINE_INTERRUPT_HANDLER() 2044 if (notify_die(DIE_SSTEP, "single_step", regs, 5, in DEFINE_INTERRUPT_HANDLER()
|
/linux-6.1.9/arch/csky/kernel/ |
D | traps.c | 100 ret = notify_die(DIE_OOPS, str, regs, 0, trap_no(regs), SIGSEGV); in die()
|
/linux-6.1.9/arch/mips/mm/ |
D | fault.c | 61 if (notify_die(DIE_PAGE_FAULT, "page fault", regs, -1, in __do_page_fault()
|
/linux-6.1.9/arch/hexagon/kernel/ |
D | traps.c | 197 if (notify_die(DIE_OOPS, str, regs, err, pt_cause(regs), SIGSEGV) == in die()
|
/linux-6.1.9/arch/parisc/kernel/ |
D | traps.c | 415 (void)notify_die(DIE_OOPS, msg, regs, 0, code, SIGTRAP); in parisc_terminate()
|