191 if (vid == MAX_INVALID_TIMER_VID) {
194 return MAX_INVALID_TIMER_VID;
198 PRINT_ERR(
"%s %d, alloc memory failed\n", __FUNCTION__, __LINE__);
201 return MAX_INVALID_TIMER_VID;
LITE_OS_SEC_ALW_INLINE STATIC INLINE VOID LOS_ListTailInsert(LOS_DL_LIST *list, LOS_DL_LIST *node)
Insert a node to the tail of a doubly linked list.
VOID * LOS_MemAlloc(VOID *pool, UINT32 size)
从指定内存池中申请size长度的内存,注意这可不是从内核堆空间中申请内存
UINT8 * m_aucSysMem0
异常交互动态内存池地址的起始地址,当不支持异常交互特性时,m_aucSysMem0等于m_aucSysMem1。
LITE_OS_SEC_TEXT UINT32 LOS_MuxUnlock(LosMux *mutex)
释放锁
LITE_OS_SEC_TEXT UINT32 LOS_MuxLock(LosMux *mutex, UINT32 timeout)
拿互斥锁,
STATIC INLINE LosProcessCB * OsCurrProcessGet(VOID)
static TimerIdMapNode * FindListNodeByRid(UINT32 rid)
static UINT16 GetFreeVid(VOID)