Home
last modified time | relevance | path

Searched refs:semNode (Results 1 – 11 of 11) sorted by relevance

/kernel/liteos_a/kernel/base/ipc/
Dlos_sem_debug.c45 STATIC VOID OsSemPendedTaskNamePrint(LosSemCB *semNode) in OsSemPendedTaskNamePrint() argument
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()
126 LosSemCB semNode = {0}; in OsSemSort() local
145 (VOID)memcpy_s(&semNode, sizeof(LosSemCB), semCB, sizeof(LosSemCB)); in OsSemSort()
148 if ((semNode.semStat != OS_SEM_USED) || (semDebug.creator == NULL)) { in OsSemSort()
151 PRINTK(" 0x%-07x0x%-07u0x%-14u%-22p0x%llx\n", semNode.semID, semDebug.origSemCount, in OsSemSort()
152 semNode.semCount, semDebug.creator, semDebug.lastAccessTime); in OsSemSort()
153 if (!LOS_ListEmpty(&semNode.semList)) { in OsSemSort()
162 LosSemCB *semNode = NULL; in OsSemInfoGetFullData() local
[all …]
Dlos_sem.c58 LosSemCB *semNode = NULL; in OsSemInit() local
69 semNode = ((LosSemCB *)g_allSem) + index; in OsSemInit()
70 semNode->semID = SET_SEM_ID(0, index); in OsSemInit()
71 semNode->semStat = OS_SEM_UNUSED; in OsSemInit()
72 LOS_ListTailInsert(&g_unusedSemList, &semNode->semList); in OsSemInit()
/kernel/liteos_m/testsuites/sample/kernel/sem/
DIt_los_sem_008.c41 LosSemCB *semNode = NULL; in Testcase() local
46 semNode = g_allSem + i; in Testcase()
47 if (semNode->semStat == OS_SEM_USED) { in Testcase()
Dit_los_sem_041.c82 LosSemCB *semNode = NULL; in Testcase() local
87 semNode = g_allSem + loop; in Testcase()
88 if (semNode->semStat == OS_SEM_USED) { in Testcase()
DIt_los_sem_040.c79 LosSemCB *semNode = NULL; in Testcase() local
84 semNode = g_allSem + loop; in Testcase()
85 if (semNode->semStat == OS_SEM_USED) { in Testcase()
DIt_los_sem_039.c80 LosSemCB *semNode = NULL; in Testcase() local
85 semNode = g_allSem + loop; in Testcase()
86 if (semNode->semStat == OS_SEM_USED) { in Testcase()
/kernel/uniproton/src/core/ipc/sem/
Dprt_sem_init.c36 struct TagSemCb *semNode = NULL; in OsSemInit() local
55 semNode = ((struct TagSemCb *)g_allSem) + idx; in OsSemInit()
56 semNode->semId = (U16)idx; in OsSemInit()
57 ListTailAdd(&semNode->semList, &g_unusedSemList); in OsSemInit()
/kernel/liteos_m/kernel/src/
Dlos_sem.c55 LosSemCB *semNode = NULL; in OsSemInit() local
71 semNode = ((LosSemCB *)g_allSem) + index; in OsSemInit()
72 semNode->semID = index; in OsSemInit()
73 semNode->semStat = OS_SEM_UNUSED; in OsSemInit()
74 LOS_ListTailInsert(&g_unusedSemList, &semNode->semList); in OsSemInit()
/kernel/liteos_a/kernel/base/misc/
Dsysinfo_shellcmd.c70 LosSemCB *semNode = NULL; in OsShellCmdSemCntGet() local
74 semNode = GET_SEM(loop); in OsShellCmdSemCntGet()
75 if (semNode->semStat == OS_SEM_USED) { in OsShellCmdSemCntGet()
/kernel/liteos_a/testsuites/kernel/src/
DiCunit.c234 static LosSemCB *semNode; in ICunitRunF() local
267 semNode = GET_SEM(i); in ICunitRunF()
268 if (semNode->semStat == OS_SEM_UNUSED) { in ICunitRunF()
347 semNode = GET_SEM(i); in ICunitRunF()
348 if (semNode->semStat == OS_SEM_UNUSED) { in ICunitRunF()
DosTest.c190 LosSemCB *semNode = (LosSemCB *)NULL; in SemCountGetTest() local
194 semNode = GET_SEM(loop); in SemCountGetTest()
195 if (semNode->semStat == OS_SEM_USED) { in SemCountGetTest()