/kernel/linux/linux-5.10/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() 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()
|
/kernel/liteos_a/kernel/base/ipc/ |
D | los_signal.c | 56 int OsSigIsMember(const sigset_t *set, int signo) in OsSigIsMember() argument 60 signo -= 1; in OsSigIsMember() 62 if (GOOD_SIGNO(signo)) { in OsSigIsMember() 64 ret = ((*set & SIGNO2SET((unsigned int)signo)) != 0); in OsSigIsMember() 70 STATIC VOID OsMoveTmpInfoToUnbInfo(sig_cb *sigcb, INT32 signo) in OsMoveTmpInfoToUnbInfo() argument 75 if (tmpInfoNode->info.si_signo == signo) { in OsMoveTmpInfoToUnbInfo() 124 STATIC INLINE VOID OsSigWaitTaskWake(LosTaskCB *taskCB, INT32 signo) in OsSigWaitTaskWake() argument 128 if (!LOS_ListEmpty(&sigcb->waitList) && OsSigIsMember(&sigcb->sigwaitmask, signo)) { in OsSigWaitTaskWake() 129 OsMoveTmpInfoToUnbInfo(sigcb, signo); in OsSigWaitTaskWake() 136 STATIC UINT32 OsPendingTaskWake(LosTaskCB *taskCB, INT32 signo) in OsPendingTaskWake() argument [all …]
|
/kernel/linux/linux-5.10/arch/riscv/kernel/ |
D | traps.c | 63 void do_trap(struct pt_regs *regs, int signo, int code, unsigned long addr) in do_trap() argument 67 if (show_unhandled_signals && unhandled_signal(tsk, signo) in do_trap() 70 tsk->comm, task_pid_nr(tsk), signo, code, addr); in do_trap() 76 force_sig_fault(signo, code, (void __user *)addr); in do_trap() 79 static void do_trap_error(struct pt_regs *regs, int signo, int code, in do_trap_error() argument 83 do_trap(regs, signo, code, addr); in do_trap_error() 90 #define DO_ERROR_INFO(name, signo, code, str) \ argument 93 do_trap_error(regs, signo, code, regs->epc, "Oops - " str); \
|
/kernel/linux/linux-5.10/arch/csky/kernel/ |
D | traps.c | 117 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); \
|
/kernel/linux/linux-5.10/arch/nds32/kernel/ |
D | fpu.c | 188 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()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/arch/parisc/mm/ |
D | fault.c | 353 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()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/arch/alpha/kernel/ |
D | traps.c | 236 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 …]
|
/kernel/linux/linux-5.10/tools/testing/selftests/vm/ |
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()
|
/kernel/liteos_a/kernel/base/include/ |
D | los_signal.h | 113 uint8_t signo; /* Signal associated with action */ member 165 int OsPthreadKill(UINT32 tid, int signo); 178 INT32 OsTaskKillUnsafe(UINT32 taskID, INT32 signo);
|
/kernel/linux/linux-5.10/arch/arm64/kernel/ |
D | traps.c | 150 static void arm64_show_signal(int signo, const char *str) in arm64_show_signal() argument 160 !unhandled_signal(tsk, signo) || in arm64_show_signal() 174 void arm64_force_sig_fault(int signo, int code, void __user *addr, in arm64_force_sig_fault() argument 177 arm64_show_signal(signo, str); in arm64_force_sig_fault() 178 if (signo == SIGKILL) in arm64_force_sig_fault() 181 force_sig_fault(signo, code, addr); in arm64_force_sig_fault() 199 int signo, int sicode, void __user *addr, in arm64_notify_die() argument 207 arm64_force_sig_fault(signo, sicode, addr, str); in arm64_notify_die()
|
/kernel/linux/linux-5.10/arch/arc/kernel/ |
D | traps.c | 43 int signo, int si_code, void __user *addr) in unhandled_exception() argument 50 force_sig_fault(signo, si_code, addr); in unhandled_exception()
|
/kernel/linux/linux-5.10/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
|
/kernel/liteos_a/testsuites/unittest/libc/posix/mqueue/full/ |
D | It_posix_queue_205.cpp | 37 static void SigUsr1(int signo) in SigUsr1() argument 41 g_signo = signo; in SigUsr1()
|
D | It_posix_queue_209.cpp | 55 static void SigUsr1(int signo) in SigUsr1() argument 59 g_signo = signo; in SigUsr1()
|
D | It_posix_queue_208.cpp | 37 static void SigUsr1(int signo) in SigUsr1() argument 41 g_signo = signo; in SigUsr1()
|
/kernel/linux/linux-5.10/arch/mips/kernel/ |
D | kgdb.c | 40 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
|
/kernel/linux/linux-5.10/arch/powerpc/kernel/ |
D | kgdb.c | 39 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
|
/kernel/linux/linux-5.10/include/linux/ |
D | kgdb.h | 175 kgdb_arch_handle_exception(int vector, int signo, int err_code, 332 kgdb_handle_exception(int ex_vector, int signo, int err_code,
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/arch/nios2/include/asm/ |
D | traps.h | 16 void _exception(int signo, struct pt_regs *regs, int code, unsigned long addr);
|
/kernel/linux/linux-5.10/tools/testing/vsock/ |
D | timeout.h | 10 void sigalrm(int signo);
|
/kernel/liteos_a/arch/arm/arm/src/ |
D | los_hw.c | 141 VOID OsInitSignalContext(const VOID *sp, VOID *signalContext, UINTPTR sigHandler, UINT32 signo, UIN… in OsInitSignalContext() argument 146 newSp->R0 = signo; in OsInitSignalContext()
|