Home
last modified time | relevance | path

Searched refs:swtmrHandler (Results 1 – 2 of 2) sorted by relevance

/kernel/liteos_a/kernel/base/core/
Dlos_swtmr.c137 STATIC INLINE VOID SwtmrDebugWaitTimeCalculate(UINT32 swtmrID, SwtmrHandlerItemPtr swtmrHandler) in SwtmrDebugWaitTimeCalculate() argument
141 swtmrHandler->swtmrID = swtmrID; in SwtmrDebugWaitTimeCalculate()
189 SwtmrHandlerItemPtr swtmrHandler = (SwtmrHandlerItemPtr)LOS_MemboxAlloc(g_swtmrHandlerPool); in SwtmrWake() local
190 LOS_ASSERT(swtmrHandler != NULL); in SwtmrWake()
195 swtmrHandler->handler = swtmr->pfnHandler; in SwtmrWake()
196 swtmrHandler->arg = swtmr->uwArg; in SwtmrWake()
197 LOS_ListTailInsert(&srq->swtmrHandlerQueue, &swtmrHandler->node); in SwtmrWake()
198 SwtmrDebugWaitTimeCalculate(swtmr->usTimerID, swtmrHandler); in SwtmrWake()
/kernel/liteos_m/kernel/src/
Dlos_swtmr.c284 SwtmrHandlerItem swtmrHandler; in OsSwtmrTimeoutHandle() local
286 swtmrHandler.handler = swtmr->pfnHandler; in OsSwtmrTimeoutHandle()
287 swtmrHandler.arg = swtmr->uwArg; in OsSwtmrTimeoutHandle()
288 swtmrHandler.swtmrID = swtmr->usTimerID; in OsSwtmrTimeoutHandle()
290 …(VOID)LOS_QueueWriteCopy(g_swtmrHandlerQueue, &swtmrHandler, sizeof(SwtmrHandlerItem), LOS_NO_WAIT… in OsSwtmrTimeoutHandle()