Searched refs:semCreated (Results 1 – 5 of 5) sorted by relevance
69 struct TagSemCb *semCreated = NULL; in OsSemCreate() local90 semCreated = (GET_SEM_LIST(unusedSem)); in OsSemCreate()91 semCreated->semCount = count; in OsSemCreate()92 semCreated->semStat = OS_SEM_USED; in OsSemCreate()93 semCreated->semMode = semMode; in OsSemCreate()94 semCreated->semOwner = OS_INVALID_OWNER_ID; in OsSemCreate()95 semCreated->maxSemCount = OS_SEM_COUNT_MAX; in OsSemCreate()97 INIT_LIST_OBJECT(&semCreated->semList); in OsSemCreate()98 *semHandle = (SemHandle)semCreated->semId; in OsSemCreate()
91 LosSemCB *semCreated = NULL; in OsSemCreate() local115 semCreated = GET_SEM_LIST(unusedSem); in OsSemCreate()116 semCreated->semCount = count; in OsSemCreate()117 semCreated->semStat = OS_SEM_USED; in OsSemCreate()118 semCreated->maxSemCount = maxCount; in OsSemCreate()119 LOS_ListInit(&semCreated->semList); in OsSemCreate()120 *semHandle = semCreated->semID; in OsSemCreate()121 OsHookCall(LOS_HOOK_TYPE_SEM_CREATE, semCreated); in OsSemCreate()122 OsSemDbgUpdateHook(semCreated->semID, OsCurrTaskGet()->taskEntry, count); in OsSemCreate()
90 LosSemCB *semCreated = NULL; in OsSemCreate() local112 semCreated = (GET_SEM_LIST(unusedSem)); in OsSemCreate()113 semCreated->semCount = count; in OsSemCreate()114 semCreated->semStat = OS_SEM_USED; in OsSemCreate()115 semCreated->maxSemCount = maxCount; in OsSemCreate()116 LOS_ListInit(&semCreated->semList); in OsSemCreate()117 *semHandle = (UINT32)semCreated->semID; in OsSemCreate()119 OsHookCall(LOS_HOOK_TYPE_SEM_CREATE, semCreated); in OsSemCreate()
80 …LOS_HOOK_TYPE_DEF(LOS_HOOK_TYPE_SEM_CREATE, (const LosSemCB *semCreated)) …
74 …LOS_HOOK_TYPE_DEF(LOS_HOOK_TYPE_SEM_CREATE, (const LosSemCB *semCreated)) …