Home
last modified time | relevance | path

Searched refs:signo (Results 1 – 25 of 64) sorted by relevance

123

/Linux-v5.4/arch/m68k/mm/
Dfault.c24 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()
195 current->thread.signo = SIGBUS; in do_page_fault()
200 current->thread.signo = SIGBUS; in do_page_fault()
206 current->thread.signo = SIGSEGV; in do_page_fault()
212 current->thread.signo = SIGSEGV; in do_page_fault()
/Linux-v5.4/arch/riscv/kernel/
Dtraps.c59 void do_trap(struct pt_regs *regs, int signo, int code, unsigned long addr) in do_trap() argument
63 if (show_unhandled_signals && unhandled_signal(tsk, signo) in do_trap()
66 tsk->comm, task_pid_nr(tsk), signo, code, addr); in do_trap()
72 force_sig_fault(signo, code, (void __user *)addr); in do_trap()
75 static void do_trap_error(struct pt_regs *regs, int signo, int code, in do_trap_error() argument
79 do_trap(regs, signo, code, addr); in do_trap_error()
86 #define DO_ERROR_INFO(name, signo, code, str) \ argument
89 do_trap_error(regs, signo, code, regs->sepc, "Oops - " str); \
/Linux-v5.4/arch/nds32/kernel/
Dfpu.c188 inline void fill_sigfpe_signo(unsigned int fpcsr, int *signo) in fill_sigfpe_signo() argument
191 *signo = FPE_FLTOVF; in fill_sigfpe_signo()
194 *signo = FPE_FLTUND; in fill_sigfpe_signo()
197 *signo = FPE_FLTINV; in fill_sigfpe_signo()
199 *signo = FPE_FLTDIV; in fill_sigfpe_signo()
201 *signo = FPE_FLTRES; in fill_sigfpe_signo()
/Linux-v5.4/arch/nios2/kernel/
Dtraps.c27 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-v5.4/arch/parisc/mm/
Dfault.c357 int signo, si_code; in do_page_fault() local
364 signo = SIGSEGV; in do_page_fault()
371 signo = SIGSEGV; in do_page_fault()
380 signo = SIGBUS; in do_page_fault()
386 signo = SIGSEGV; in do_page_fault()
413 force_sig_fault(signo, si_code, (void __user *) address); in do_page_fault()
/Linux-v5.4/tools/lib/subcmd/
Dpager.c64 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-v5.4/arch/alpha/kernel/
Dtraps.c236 int signo, code; in do_entIF() local
283 signo = SIGFPE; in do_entIF()
287 signo = SIGFPE; in do_entIF()
291 signo = SIGFPE; in do_entIF()
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()
333 signo = SIGTRAP; in do_entIF()
[all …]
/Linux-v5.4/arch/arm64/kernel/
Dtraps.c208 static void arm64_show_signal(int signo, const char *str) in arm64_show_signal() argument
218 !unhandled_signal(tsk, signo) || in arm64_show_signal()
232 void arm64_force_sig_fault(int signo, int code, void __user *addr, in arm64_force_sig_fault() argument
235 arm64_show_signal(signo, str); in arm64_force_sig_fault()
236 if (signo == SIGKILL) in arm64_force_sig_fault()
239 force_sig_fault(signo, code, addr); in arm64_force_sig_fault()
257 int signo, int sicode, void __user *addr, in arm64_notify_die() argument
265 arm64_force_sig_fault(signo, sicode, addr, str); in arm64_notify_die()
/Linux-v5.4/arch/arc/kernel/
Dtraps.c43 int signo, int si_code, void __user *addr) in unhandled_exception() argument
50 force_sig_fault(signo, si_code, addr); in unhandled_exception()
/Linux-v5.4/tools/testing/selftests/powerpc/tm/
Dtm-signal-context-force-tm.c49 void usr_signal_handler(int signo, siginfo_t *si, void *uc) in usr_signal_handler() argument
99 void seg_signal_handler(int signo, siginfo_t *si, void *uc) in seg_signal_handler() argument
Dtm-trap.c61 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
Dtm-signal-sigreturn-nt.c18 void trap_signal_handler(int signo, siginfo_t *si, void *uc) in trap_signal_handler() argument
/Linux-v5.4/arch/powerpc/kernel/
Dkgdb.c38 unsigned char signo; /* Signal that we map this trap into */ member
98 for (ht = hard_trap_info; ht->tt && ht->signo; ht++) in computeSignal()
100 return ht->signo; in computeSignal()
380 int kgdb_arch_handle_exception(int vector, int signo, int err_code, in kgdb_arch_handle_exception() argument
/Linux-v5.4/arch/mips/kernel/
Dkgdb.c40 unsigned char signo; /* Signal that we map this trap into */ member
227 for (ht = hard_trap_info; ht->tt && ht->signo; ht++) in compute_signal()
229 return ht->signo; in compute_signal()
371 int kgdb_arch_handle_exception(int vector, int signo, int err_code, in kgdb_arch_handle_exception() argument
/Linux-v5.4/include/linux/
Dkgdb.h174 kgdb_arch_handle_exception(int vector, int signo, int err_code,
316 kgdb_handle_exception(int ex_vector, int signo, int err_code,
/Linux-v5.4/kernel/debug/kdb/
Dkdb_debugger.c72 if (ks->err_code == KDB_REASON_SYSTEM_NMI && ks->signo == SIGTRAP) in kdb_stub()
110 ks->signo == SIGTRAP) { in kdb_stub()
/Linux-v5.4/arch/nios2/include/asm/
Dtraps.h16 void _exception(int signo, struct pt_regs *regs, int code, unsigned long addr);
/Linux-v5.4/tools/testing/vsock/
Dtimeout.h9 void sigalrm(int signo);
Dtimeout.c32 void sigalrm(int signo) in sigalrm() argument
/Linux-v5.4/arch/c6x/include/asm/
Dtraps.h27 int signo; member
/Linux-v5.4/arch/arm64/include/asm/
Dsystem_misc.h25 int signo, int sicode, void __user *addr,
/Linux-v5.4/kernel/debug/
Ddebug_core.c753 kgdb_handle_exception(int evector, int signo, int ecode, struct pt_regs *regs) in kgdb_handle_exception() argument
767 if (signo != SIGTRAP && panic_timeout) in kgdb_handle_exception()
773 ks->signo = signo; in kgdb_handle_exception()
837 ks->signo = SIGTRAP; in kgdb_nmicallin()
Ddebug_core.h21 int signo; member
/Linux-v5.4/arch/riscv/include/asm/
Dbug.h81 void do_trap(struct pt_regs *regs, int signo, int code, unsigned long addr);
/Linux-v5.4/arch/arm/include/asm/
Dbug.h66 int signo, int si_code, void __user *addr,

123