Home
last modified time | relevance | path

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

123

/linux/arch/m68k/mm/
A 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()
185 current->thread.signo = SIGBUS; in do_page_fault()
190 current->thread.signo = SIGBUS; in do_page_fault()
196 current->thread.signo = SIGSEGV; in do_page_fault()
202 current->thread.signo = SIGSEGV; in do_page_fault()
/linux/arch/csky/kernel/
A Dtraps.c115 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/arch/riscv/kernel/
A Dtraps.c60 void do_trap(struct pt_regs *regs, int signo, int code, unsigned long addr) in do_trap() argument
64 if (show_unhandled_signals && unhandled_signal(tsk, signo) in do_trap()
67 tsk->comm, task_pid_nr(tsk), signo, code, addr); in do_trap()
73 force_sig_fault(signo, code, (void __user *)addr); in do_trap()
76 static void do_trap_error(struct pt_regs *regs, int signo, int code, in do_trap_error() argument
82 do_trap(regs, signo, code, addr); in do_trap_error()
94 #define DO_ERROR_INFO(name, signo, code, str) \ argument
97 do_trap_error(regs, signo, code, regs->epc, "Oops - " str); \
/linux/arch/nds32/kernel/
A 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/arch/nios2/kernel/
A 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/arch/parisc/mm/
A Dfault.c353 int signo, si_code; in do_page_fault() local
360 signo = SIGSEGV; in do_page_fault()
367 signo = SIGSEGV; in do_page_fault()
376 signo = SIGBUS; in do_page_fault()
382 signo = SIGSEGV; in do_page_fault()
409 force_sig_fault(signo, si_code, (void __user *) address); in do_page_fault()
/linux/arch/alpha/kernel/
A Dtraps.c234 int signo, code; in do_entIF() local
281 signo = SIGFPE; in do_entIF()
285 signo = SIGFPE; in do_entIF()
289 signo = SIGFPE; in do_entIF()
293 signo = SIGFPE; in do_entIF()
297 signo = SIGFPE; in do_entIF()
301 signo = SIGFPE; in do_entIF()
305 signo = SIGFPE; in do_entIF()
309 signo = SIGFPE; in do_entIF()
331 signo = SIGTRAP; in do_entIF()
[all …]
/linux/tools/lib/subcmd/
A 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/tools/testing/selftests/vm/
A Dwrite_to_hugetlbfs.c46 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/arch/arm64/kernel/
A Dtraps.c241 static void arm64_show_signal(int signo, const char *str) in arm64_show_signal() argument
251 !unhandled_signal(tsk, signo) || in arm64_show_signal()
265 void arm64_force_sig_fault(int signo, int code, unsigned long far, in arm64_force_sig_fault() argument
268 arm64_show_signal(signo, str); in arm64_force_sig_fault()
269 if (signo == SIGKILL) in arm64_force_sig_fault()
272 force_sig_fault(signo, code, (void __user *)far); in arm64_force_sig_fault()
290 int signo, int sicode, unsigned long far, in arm64_notify_die() argument
298 arm64_force_sig_fault(signo, sicode, far, str); in arm64_notify_die()
/linux/arch/mips/kernel/
A Dkgdb.c39 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/tools/testing/selftests/powerpc/tm/
A Dtm-signal-context-force-tm.c50 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
A 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
A Dtm-signal-sigreturn-nt.c20 void trap_signal_handler(int signo, siginfo_t *si, void *uc) in trap_signal_handler() argument
/linux/arch/arc/kernel/
A Dtraps.c38 int signo, int si_code, void __user *addr) in unhandled_exception() argument
45 force_sig_fault(signo, si_code, addr); in unhandled_exception()
/linux/arch/powerpc/kernel/
A Dkgdb.c39 unsigned char signo; /* Signal that we map this trap into */ member
99 for (ht = hard_trap_info; ht->tt && ht->signo; ht++) in computeSignal()
101 return ht->signo; in computeSignal()
381 int kgdb_arch_handle_exception(int vector, int signo, int err_code, in kgdb_arch_handle_exception() argument
/linux/include/linux/
A Dkgdb.h175 kgdb_arch_handle_exception(int vector, int signo, int err_code,
331 kgdb_handle_exception(int ex_vector, int signo, int err_code,
/linux/kernel/debug/kdb/
A 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/kernel/debug/
A Ddebug_core.c824 kgdb_handle_exception(int evector, int signo, int ecode, struct pt_regs *regs) in kgdb_handle_exception() argument
838 if (signo != SIGTRAP && panic_timeout) in kgdb_handle_exception()
844 ks->signo = signo; in kgdb_handle_exception()
910 ks->signo = SIGTRAP; in kgdb_nmicallin()
A Ddebug_core.h21 int signo; member
/linux/tools/testing/vsock/
A Dtimeout.h10 void sigalrm(int signo);
A Dtimeout.c32 void sigalrm(int signo) in sigalrm() argument
/linux/arch/nios2/include/asm/
A Dtraps.h16 void _exception(int signo, struct pt_regs *regs, int code, unsigned long addr);
/linux/arch/csky/include/asm/
A Dbug.h23 void do_trap(struct pt_regs *regs, int signo, int code, unsigned long addr);
/linux/arch/arm64/include/asm/
A Dsystem_misc.h25 int signo, int sicode, unsigned long far,

Completed in 25 milliseconds

123