Home
last modified time | relevance | path

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

12

/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()
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()
/arch/riscv/kernel/
Dtraps.c67 void do_trap(struct pt_regs *regs, int signo, int code, unsigned long addr) in do_trap() argument
71 if (show_unhandled_signals && unhandled_signal(tsk, signo) in do_trap()
74 tsk->comm, task_pid_nr(tsk), signo, code, addr); in do_trap()
80 force_sig_fault(signo, code, (void __user *)addr); in do_trap()
83 static void do_trap_error(struct pt_regs *regs, int signo, int code, in do_trap_error() argument
87 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); \
/arch/csky/kernel/
Dtraps.c117 void do_trap(struct pt_regs *regs, int signo, int code, unsigned long addr) in do_trap() argument
121 if (show_unhandled_signals && unhandled_signal(tsk, signo) in do_trap()
124 tsk->comm, task_pid_nr(tsk), signo, code, addr); in do_trap()
130 force_sig_fault(signo, code, (void __user *)addr); in do_trap()
133 static void do_trap_error(struct pt_regs *regs, int signo, int code, in do_trap_error() argument
139 do_trap(regs, signo, code, addr); in do_trap_error()
146 #define DO_ERROR_INFO(name, signo, code, str) \ argument
149 do_trap_error(regs, signo, code, regs->pc, "Oops - " str); \
/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()
/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()
Dkgdb.c109 int kgdb_arch_handle_exception(int vector, int signo, int err_code, in kgdb_arch_handle_exception() argument
/arch/parisc/mm/
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()
/arch/alpha/kernel/
Dtraps.c236 int signo, code; in do_entIF() local
297 signo = SIGFPE; in do_entIF()
301 signo = SIGFPE; in do_entIF()
305 signo = SIGFPE; in do_entIF()
309 signo = SIGFPE; in do_entIF()
313 signo = SIGFPE; in do_entIF()
317 signo = SIGFPE; in do_entIF()
321 signo = SIGFPE; in do_entIF()
325 signo = SIGFPE; in do_entIF()
347 signo = SIGTRAP; in do_entIF()
[all …]
/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()
Dkgdb.c128 int kgdb_arch_handle_exception(int e_vector, int signo, int err_code, in kgdb_arch_handle_exception() argument
/arch/nios2/include/asm/
Dtraps.h16 void _exception(int signo, struct pt_regs *regs, int code, unsigned long addr);
/arch/c6x/include/asm/
Dtraps.h27 int signo; member
/arch/arm64/include/asm/
Dsystem_misc.h25 int signo, int sicode, unsigned long far,
Dtraps.h29 void arm64_force_sig_fault(int signo, int code, unsigned long far, const char *str);
/arch/arm64/kernel/
Dtraps.c152 static void arm64_show_signal(int signo, const char *str) in arm64_show_signal() argument
162 !unhandled_signal(tsk, signo) || in arm64_show_signal()
176 void arm64_force_sig_fault(int signo, int code, unsigned long far, in arm64_force_sig_fault() argument
179 arm64_show_signal(signo, str); in arm64_force_sig_fault()
180 if (signo == SIGKILL) in arm64_force_sig_fault()
183 force_sig_fault(signo, code, (void __user *)far); in arm64_force_sig_fault()
201 int signo, int sicode, unsigned long far, in arm64_notify_die() argument
209 arm64_force_sig_fault(signo, sicode, far, str); in arm64_notify_die()
/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
/arch/powerpc/kernel/
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
/arch/riscv/include/asm/
Dbug.h89 void do_trap(struct pt_regs *regs, int signo, int code, unsigned long addr);
/arch/arm/include/asm/
Dbug.h66 int signo, int si_code, void __user *addr,
/arch/m68k/include/asm/
Dprocessor.h86 int signo, code; member
/arch/microblaze/kernel/
Dkgdb.c113 int kgdb_arch_handle_exception(int vector, int signo, int err_code, in kgdb_arch_handle_exception() argument
/arch/h8300/kernel/
Dkgdb.c101 int kgdb_arch_handle_exception(int vector, int signo, int err_code, in kgdb_arch_handle_exception() argument
/arch/c6x/kernel/
Dtraps.c248 except_info->signo, except_info->code); in do_trap()
252 force_sig_fault(except_info->signo, except_info->code, in do_trap()
/arch/sparc/kernel/
Dkgdb_32.c110 int kgdb_arch_handle_exception(int e_vector, int signo, int err_code, in kgdb_arch_handle_exception() argument
/arch/hexagon/kernel/
Dkgdb.c141 int kgdb_arch_handle_exception(int vector, int signo, int err_code, in kgdb_arch_handle_exception() argument

12