Home
last modified time | relevance | path

Searched refs:semCreated (Results 1 – 5 of 5) sorted by relevance

/kernel/uniproton/src/core/ipc/sem/
Dprt_sem_init.c69 struct TagSemCb *semCreated = NULL; in OsSemCreate() local
90 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()
/kernel/liteos_a/kernel/base/ipc/
Dlos_sem.c91 LosSemCB *semCreated = NULL; in OsSemCreate() local
115 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()
/kernel/liteos_m/kernel/src/
Dlos_sem.c90 LosSemCB *semCreated = NULL; in OsSemCreate() local
112 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()
/kernel/liteos_m/utils/internal/
Dlos_hook_types.h80 …LOS_HOOK_TYPE_DEF(LOS_HOOK_TYPE_SEM_CREATE, (const LosSemCB *semCreated)) …
/kernel/liteos_a/kernel/extended/hook/include/
Dlos_hook_types.h74 …LOS_HOOK_TYPE_DEF(LOS_HOOK_TYPE_SEM_CREATE, (const LosSemCB *semCreated)) …