Searched refs:semList (Results 1 – 9 of 9) sorted by relevance
/kernel/liteos_m/kernel/src/ |
D | los_sem.c | 74 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/ |
D | los_sem.c | 72 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()
|
D | los_sem_debug.c | 53 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/ |
D | prt_sem.c | 37 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()
|
D | prt_sem_init.c | 57 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()
|
D | prt_sem_minor.c | 100 LIST_FOR_EACH(tskCb, &semCb->semList, struct TagTskCb, pendList) { in PRT_SemGetPendList()
|
/kernel/uniproton/src/core/ipc/include/ |
D | prt_sem_external.h | 27 #define GET_SEM_LIST(ptr) LIST_COMPONENT(ptr, struct TagSemCb, semList) 40 struct TagListObject semList; member
|
/kernel/liteos_a/kernel/base/include/ |
D | los_sem_pri.h | 52 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/ |
D | los_sem.h | 308 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)
|