Home
last modified time | relevance | path

Searched refs:semList (Results 1 – 9 of 9) sorted by relevance

/kernel/liteos_m/kernel/src/
Dlos_sem.c74 LOS_ListTailInsert(&g_unusedSemList, &semNode->semList); in OsSemInit()
116 LOS_ListInit(&semCreated->semList); in OsSemCreate()
175 if (!LOS_ListEmpty(&semDeleted->semList)) { in LOS_SemDelete()
180 LOS_ListAdd(&g_unusedSemList, &semDeleted->semList); in LOS_SemDelete()
253 OsSchedTaskWait(&semPended->semList, timeout); in LOS_SemPend()
301 if (!LOS_ListEmpty(&semPosted->semList)) { in LOS_SemPost()
302 resumedTask = OS_TCB_FROM_PENDLIST(LOS_DL_LIST_FIRST(&(semPosted->semList))); in LOS_SemPost()
/kernel/liteos_a/kernel/base/ipc/
Dlos_sem.c72 LOS_ListTailInsert(&g_unusedSemList, &semNode->semList); in OsSemInit()
119 LOS_ListInit(&semCreated->semList); in OsSemCreate()
159 if (!LOS_ListEmpty(&semDeleted->semList)) { in LOS_SemDelete()
164 LOS_ListTailInsert(&g_unusedSemList, &semDeleted->semList); in LOS_SemDelete()
228 retErr = runTask->ops->wait(runTask, &semPended->semList, timeout); in LOS_SemPend()
252 if (!LOS_ListEmpty(&semPosted->semList)) { in OsSemPostUnsafe()
253 resumedTask = OS_TCB_FROM_PENDLIST(LOS_DL_LIST_FIRST(&(semPosted->semList))); in OsSemPostUnsafe()
Dlos_sem_debug.c53 if ((semNode->semStat == OS_SEM_UNUSED) || (LOS_ListEmpty(&semNode->semList))) { in OsSemPendedTaskNamePrint()
58 LOS_DL_LIST_FOR_EACH_ENTRY(tskCB, &semNode->semList, LosTaskCB, pendList) { in OsSemPendedTaskNamePrint()
153 if (!LOS_ListEmpty(&semNode.semList)) { in OsSemSort()
254 if (LOS_ListEmpty(&semNode.semList)) { in OsSemInfoOutput()
/kernel/uniproton/src/core/ipc/sem/
Dprt_sem.c37 LIST_FOR_EACH(curTskCb, &semPended->semList, struct TagTskCb, pendList) { in OsSemPendListPut()
45 ListTailAdd(pendObj, &semPended->semList); in OsSemPendListPut()
62 struct TagTskCb *taskCb = GET_TCB_PEND(LIST_FIRST(&(semPended->semList))); in OsSemPendListGet()
64 ListDelete(LIST_FIRST(&(semPended->semList))); in OsSemPendListGet()
214 if (!ListEmpty(&semPosted->semList)) { in PRT_SemPost()
Dprt_sem_init.c57 ListTailAdd(&semNode->semList, &g_unusedSemList); in OsSemInit()
97 INIT_LIST_OBJECT(&semCreated->semList); in OsSemCreate()
138 if (!ListEmpty(&semDeleted->semList)) { in PRT_SemDelete()
143 ListAdd(&semDeleted->semList, &g_unusedSemList); in PRT_SemDelete()
Dprt_sem_minor.c100 LIST_FOR_EACH(tskCb, &semCb->semList, struct TagTskCb, pendList) { in PRT_SemGetPendList()
/kernel/uniproton/src/core/ipc/include/
Dprt_sem_external.h27 #define GET_SEM_LIST(ptr) LIST_COMPONENT(ptr, struct TagSemCb, semList)
40 struct TagListObject semList; member
/kernel/liteos_a/kernel/base/include/
Dlos_sem_pri.h52 LOS_DL_LIST semList; /**< Queue of tasks that are waiting on a semaphore */ member
72 #define GET_SEM_LIST(ptr) LOS_DL_LIST_ENTRY(ptr, LosSemCB, semList)
/kernel/liteos_m/kernel/include/
Dlos_sem.h308 LOS_DL_LIST semList; /**< Queue of tasks that are waiting on a semaphore */ member
333 #define GET_SEM_LIST(ptr) LOS_DL_LIST_ENTRY(ptr, LosSemCB, semList)