Home
last modified time | relevance | path

Searched refs:notify_die (Results 1 – 25 of 28) sorted by relevance

12

/linux-6.6.21/arch/sh/kernel/
Dtraps.c44 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()
Dhw_breakpoint.c363 notify_die(DIE_BREAKPOINT, "breakpoint", regs, 0, ex, SIGTRAP); in BUILD_TRAP_HANDLER()
/linux-6.6.21/arch/x86/kernel/
Dtraps.c170 if (notify_die(DIE_TRAP, str, regs, error_code, trapnr, signr) != in do_error_trap()
296 if (notify_die(DIE_TRAP, str, regs, error_code, X86_TRAP_AC, SIGBUS) == NOTIFY_STOP) in DEFINE_IDTENTRY_ERRORCODE()
417 notify_die(DIE_TRAP, str, regs, error_code, X86_TRAP_DF, SIGSEGV); in DEFINE_IDTENTRY_DF()
472 if (notify_die(DIE_TRAP, "bounds", regs, 0, in DEFINE_IDTENTRY()
630 return notify_die(DIE_GPF, str, regs, error_code, trapnr, SIGSEGV) == NOTIFY_STOP; in gp_try_fixup_and_notify()
717 res = notify_die(DIE_INT3, "int3", regs, 0, X86_TRAP_BP, SIGTRAP); in do_int3()
931 if (notify_die(DIE_DEBUG, "debug", regs, (long)dr6, 0, SIGTRAP) == NOTIFY_STOP) in notify_debug()
1131 if (notify_die(DIE_TRAP, str, regs, 0, trapnr, in math_error()
1362 if (notify_die(DIE_TRAP, "iret exception", regs, 0, in DEFINE_IDTENTRY_SW()
Ddumpstack.c423 if (notify_die(DIE_OOPS, str, regs, err, in __die_body()
/linux-6.6.21/arch/sparc/kernel/
Dtraps_64.c92 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 …]
Dnmi.c77 if (notify_die(DIE_NMIWATCHDOG, str, regs, 0, in die_nmi()
100 if (notify_die(DIE_NMI, "nmi", regs, 0, in perfctr_irq()
Duprobes.c254 if (notify_die((trap_level == 0x173) ? DIE_BPT : DIE_SSTEP, in uprobe_trap()
Dkprobes.c415 if (notify_die((trap_level == 0x170) ? DIE_DEBUG : DIE_DEBUG_2, in kprobe_trap()
/linux-6.6.21/arch/ia64/kernel/
Dtraps.c69 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", &regs, vector, si_code, SIGTRAP) in ia64_fault()
Dprocess.c593 (void) notify_die(DIE_MACHINE_RESTART, restart_cmd, NULL, 0, 0, 0); in machine_restart()
600 (void) notify_die(DIE_MACHINE_HALT, "", NULL, 0, 0, 0); in machine_halt()
Dmca.c119 if ((notify_die((event), "INIT", (regs), (arg), 0, 0) \
126 if ((notify_die((event), "MCA", (regs), (arg), 0, 0) \
/linux-6.6.21/arch/s390/kernel/
Dtraps.c64 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()
Ddumpstack.c212 notify_die(DIE_OOPS, str, regs, 0, regs->int_code & 0xffff, SIGSEGV); in die()
/linux-6.6.21/include/linux/
Dkdebug.h20 int notify_die(enum die_val val, const char *str,
/linux-6.6.21/arch/mips/kernel/
Dtraps.c401 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.6.21/arch/arc/kernel/
Dtraps.c145 rc = notify_die(DIE_IERR, "kprobe_ierr", regs, address, 0, SIGILL); in do_insterror_or_kprobe()
Dkprobes.c414 notify_die(DIE_TRAP, "kprobe_trap", regs, address, 0, SIGTRAP); in trap_is_kprobe()
/linux-6.6.21/kernel/
Dnotifier.c583 int notrace notify_die(enum die_val val, const char *str, in notify_die() function
598 NOKPROBE_SYMBOL(notify_die);
/linux-6.6.21/arch/riscv/kernel/
Dtraps.c81 ret = notify_die(DIE_OOPS, str, regs, 0, cause, SIGSEGV); in die()
279 else if (notify_die(DIE_TRAP, "EBREAK", regs, 0, regs->cause, SIGTRAP) in handle_break()
/linux-6.6.21/arch/loongarch/kernel/
Dtraps.c380 ret = notify_die(DIE_OOPS, str, regs, 0, in die()
487 if (notify_die(DIE_FP, "FP exception", regs, 0, current->thread.trap_nr, in do_fpe()
719 if (notify_die(DIE_TRAP, "Break", regs, bcode, in do_bp()
819 if (notify_die(DIE_RI, "RI Fault", regs, 0, current->thread.trap_nr, in do_ri()
/linux-6.6.21/arch/powerpc/kernel/
Dtraps.c276 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()
1502 if (notify_die(DIE_BPT, "breakpoint", regs, 5, 5, SIGTRAP) in do_program_check()
2058 if (notify_die(DIE_SSTEP, "block_step", regs, 5, in DEFINE_INTERRUPT_HANDLER()
2075 if (notify_die(DIE_SSTEP, "single_step", regs, 5, in DEFINE_INTERRUPT_HANDLER()
/linux-6.6.21/arch/csky/kernel/
Dtraps.c100 ret = notify_die(DIE_OOPS, str, regs, 0, trap_no(regs), SIGSEGV); in die()
/linux-6.6.21/arch/mips/mm/
Dfault.c61 if (notify_die(DIE_PAGE_FAULT, "page fault", regs, -1, in __do_page_fault()
/linux-6.6.21/arch/hexagon/kernel/
Dtraps.c197 if (notify_die(DIE_OOPS, str, regs, err, pt_cause(regs), SIGSEGV) == in die()
/linux-6.6.21/arch/parisc/kernel/
Dtraps.c422 (void)notify_die(DIE_OOPS, msg, regs, 0, code, SIGTRAP); in parisc_terminate()

12