Searched refs:sigNo (Results 1 – 3 of 3) sorted by relevance
/kernel/liteos_m/components/signal/ |
D | los_signal.c | 93 STATIC VOID DeleteSigInfoFromList(OsSigCB *sigCB, INT32 sigNo) in DeleteSigInfoFromList() argument 99 if (tmpInfo->info.si_signo == sigNo) { in DeleteSigInfoFromList() 126 INT32 sigNo = LOS_SIGNAL_SUPPORT_MAX - CLZ(sigFlag) + 1; in SignalHandle() local 127 DeleteSigInfoFromList(sigCB, sigNo); in SignalHandle() 129 SIG_HANDLER handler = sigCB->sigHandlers[sigNo - 1]; in SignalHandle() 130 sigCB->sigPendFlag &= ~LOS_SIGNAL_MASK(sigNo); in SignalHandle() 134 handler(sigNo); in SignalHandle() 145 STATIC VOID SignalEntry(INT32 sigNo) in SignalEntry() argument 147 (void)sigNo; in SignalEntry() 161 STATIC VOID SignalSend(LosTaskCB *task, INT32 sigNo) in SignalSend() argument [all …]
|
D | los_signal.h | 101 #define LOS_SIGNAL_MASK(sigNo) (1U << ((sigNo) - 1)) argument 113 typedef VOID (*SIG_HANDLER)(INT32 sigNo); 133 #define OS_SIGNAL_VALID(sigNo) (((sigNo) > 0) && ((sigNo) <= LOS_SIGNAL_SUPPORT_MAX)) argument 156 SIG_HANDLER LOS_SignalSet(INT32 sigNo, SIG_HANDLER handler); 226 UINT32 LOS_SignalSend(UINT32 taskID, INT32 sigNo);
|
/kernel/liteos_a/kernel/base/misc/ |
D | kill_shellcmd.c | 59 INT32 sigNo = 0; in OsShellCmdKill() local 65 sigNo = strtoul(argv[0], &endPtr, 0); in OsShellCmdKill() 77 ret = OsKill(pidNo, abs(sigNo), OS_USER_KILL_PERMISSION); in OsShellCmdKill() 78 HILOG_INFO(LOG_CORE, "Send signal(%d) to pidNo = %d!\n", abs(sigNo), pidNo); in OsShellCmdKill()
|