/linux-6.6.21/arch/m68k/mm/ |
D | fault.c | 24 int signo, si_code; in send_fault_sig() local 27 signo = current->thread.signo; in send_fault_sig() 30 pr_debug("send_fault_sig: %p,%d,%d\n", addr, signo, si_code); in send_fault_sig() 33 force_sig_fault(signo, si_code, addr); in send_fault_sig() 189 current->thread.signo = SIGBUS; in do_page_fault() 194 current->thread.signo = SIGBUS; in do_page_fault() 202 current->thread.signo = SIGSEGV; in do_page_fault() 208 current->thread.signo = SIGSEGV; in do_page_fault()
|
/linux-6.6.21/arch/csky/kernel/ |
D | traps.c | 115 void do_trap(struct pt_regs *regs, int signo, int code, unsigned long addr) in do_trap() argument 119 if (show_unhandled_signals && unhandled_signal(tsk, signo) in do_trap() 122 tsk->comm, task_pid_nr(tsk), signo, code, addr); in do_trap() 128 force_sig_fault(signo, code, (void __user *)addr); in do_trap() 131 static void do_trap_error(struct pt_regs *regs, int signo, int code, in do_trap_error() argument 137 do_trap(regs, signo, code, addr); in do_trap_error() 144 #define DO_ERROR_INFO(name, signo, code, str) \ argument 147 do_trap_error(regs, signo, code, regs->pc, "Oops - " str); \
|
/linux-6.6.21/arch/nios2/kernel/ |
D | traps.c | 27 static void _send_sig(int signo, int code, unsigned long addr) in _send_sig() argument 29 force_sig_fault(signo, code, (void __user *) addr); in _send_sig() 46 void _exception(int signo, struct pt_regs *regs, int code, unsigned long addr) in _exception() argument 49 die("Exception in kernel mode", regs, signo); in _exception() 51 _send_sig(signo, code, addr); in _exception()
|
/linux-6.6.21/arch/riscv/kernel/ |
D | traps.c | 99 void do_trap(struct pt_regs *regs, int signo, int code, unsigned long addr) in do_trap() argument 103 if (show_unhandled_signals && unhandled_signal(tsk, signo) in do_trap() 106 tsk->comm, task_pid_nr(tsk), signo, code, addr); in do_trap() 112 force_sig_fault(signo, code, (void __user *)addr); in do_trap() 115 static void do_trap_error(struct pt_regs *regs, int signo, int code, in do_trap_error() argument 121 do_trap(regs, signo, code, addr); in do_trap_error() 133 #define DO_ERROR_INFO(name, signo, code, str) \ argument 138 do_trap_error(regs, signo, code, regs->epc, "Oops - " str); \ 142 do_trap_error(regs, signo, code, regs->epc, "Oops - " str); \
|
/linux-6.6.21/tools/lib/subcmd/ |
D | pager.c | 64 static void wait_for_pager_signal(int signo) in wait_for_pager_signal() argument 67 sigchain_pop(signo); in wait_for_pager_signal() 68 raise(signo); in wait_for_pager_signal()
|
/linux-6.6.21/arch/alpha/kernel/ |
D | traps.c | 234 int signo, code; in do_entIF() local 295 signo = SIGFPE; in do_entIF() 299 signo = SIGFPE; in do_entIF() 303 signo = SIGFPE; in do_entIF() 307 signo = SIGFPE; in do_entIF() 311 signo = SIGFPE; in do_entIF() 315 signo = SIGFPE; in do_entIF() 319 signo = SIGFPE; in do_entIF() 323 signo = SIGFPE; in do_entIF() 345 signo = SIGTRAP; in do_entIF() [all …]
|
/linux-6.6.21/arch/parisc/mm/ |
D | fault.c | 367 int signo, si_code; in do_page_fault() local 374 signo = SIGSEGV; in do_page_fault() 381 signo = SIGSEGV; in do_page_fault() 390 signo = SIGBUS; in do_page_fault() 396 signo = SIGSEGV; in do_page_fault() 423 force_sig_fault(signo, si_code, (void __user *) address); in do_page_fault()
|
/linux-6.6.21/tools/testing/selftests/mm/ |
D | write_to_hugetlbfs.c | 46 void sig_handler(int signo) in sig_handler() argument 48 printf("Received %d.\n", signo); in sig_handler() 49 if (signo == SIGINT) { in sig_handler()
|
/linux-6.6.21/arch/arc/kernel/ |
D | traps.c | 39 int signo, int si_code, void __user *addr) in unhandled_exception() argument 46 force_sig_fault(signo, si_code, addr); in unhandled_exception()
|
/linux-6.6.21/tools/testing/selftests/powerpc/tm/ |
D | tm-signal-context-force-tm.c | 50 void usr_signal_handler(int signo, siginfo_t *si, void *uc) in usr_signal_handler() argument 100 void seg_signal_handler(int signo, siginfo_t *si, void *uc) in seg_signal_handler() argument
|
D | tm-trap.c | 61 void trap_signal_handler(int signo, siginfo_t *si, void *uc) in trap_signal_handler() argument 179 void usr1_signal_handler(int signo, siginfo_t *si, void *not_used) in usr1_signal_handler() argument
|
D | tm-signal-sigreturn-nt.c | 20 void trap_signal_handler(int signo, siginfo_t *si, void *uc) in trap_signal_handler() argument
|
/linux-6.6.21/arch/mips/kernel/ |
D | kgdb.c | 39 unsigned char signo; /* Signal that we map this trap into */ member 214 for (ht = hard_trap_info; ht->tt && ht->signo; ht++) in compute_signal() 216 return ht->signo; in compute_signal() 350 int kgdb_arch_handle_exception(int vector, int signo, int err_code, in kgdb_arch_handle_exception() argument
|
/linux-6.6.21/arch/powerpc/kernel/ |
D | kgdb.c | 36 unsigned char signo; /* Signal that we map this trap into */ member 96 for (ht = hard_trap_info; ht->tt && ht->signo; ht++) in computeSignal() 98 return ht->signo; in computeSignal() 378 int kgdb_arch_handle_exception(int vector, int signo, int err_code, in kgdb_arch_handle_exception() argument
|
/linux-6.6.21/arch/arm64/kernel/ |
D | traps.c | 242 static void arm64_show_signal(int signo, const char *str) in arm64_show_signal() argument 252 !unhandled_signal(tsk, signo) || in arm64_show_signal() 266 void arm64_force_sig_fault(int signo, int code, unsigned long far, in arm64_force_sig_fault() argument 269 arm64_show_signal(signo, str); in arm64_force_sig_fault() 270 if (signo == SIGKILL) in arm64_force_sig_fault() 273 force_sig_fault(signo, code, (void __user *)far); in arm64_force_sig_fault() 291 int signo, int sicode, unsigned long far, in arm64_notify_die() argument 299 arm64_force_sig_fault(signo, sicode, far, str); in arm64_notify_die()
|
/linux-6.6.21/include/linux/ |
D | kgdb.h | 175 kgdb_arch_handle_exception(int vector, int signo, int err_code, 331 kgdb_handle_exception(int ex_vector, int signo, int err_code,
|
/linux-6.6.21/kernel/debug/kdb/ |
D | kdb_debugger.c | 72 if (ks->err_code == KDB_REASON_SYSTEM_NMI && ks->signo == SIGTRAP) in kdb_stub() 110 ks->signo == SIGTRAP) { in kdb_stub()
|
/linux-6.6.21/tools/testing/vsock/ |
D | timeout.h | 10 void sigalrm(int signo);
|
D | timeout.c | 32 void sigalrm(int signo) in sigalrm() argument
|
/linux-6.6.21/arch/nios2/include/asm/ |
D | traps.h | 16 void _exception(int signo, struct pt_regs *regs, int code, unsigned long addr);
|
/linux-6.6.21/arch/csky/include/asm/ |
D | bug.h | 23 void do_trap(struct pt_regs *regs, int signo, int code, unsigned long addr);
|
/linux-6.6.21/arch/arm64/include/asm/ |
D | system_misc.h | 25 int signo, int sicode, unsigned long far,
|
/linux-6.6.21/tools/testing/selftests/powerpc/signal/ |
D | sigreturn_unaligned.c | 18 static void sigusr1_handler(int signo, siginfo_t *info, void *ptr) in sigusr1_handler() argument
|
/linux-6.6.21/kernel/debug/ |
D | debug_core.c | 836 kgdb_handle_exception(int evector, int signo, int ecode, struct pt_regs *regs) in kgdb_handle_exception() argument 850 if (signo != SIGTRAP && panic_timeout) in kgdb_handle_exception() 856 ks->signo = signo; in kgdb_handle_exception() 922 ks->signo = SIGTRAP; in kgdb_nmicallin()
|
D | debug_core.h | 21 int signo; member
|