Searched refs:semNode (Results 1 – 11 of 11) sorted by relevance
/kernel/liteos_a/kernel/base/ipc/ |
D | los_sem_debug.c | 45 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 …]
|
D | los_sem.c | 58 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/ |
D | It_los_sem_008.c | 41 LosSemCB *semNode = NULL; in Testcase() local 46 semNode = g_allSem + i; in Testcase() 47 if (semNode->semStat == OS_SEM_USED) { in Testcase()
|
D | it_los_sem_041.c | 82 LosSemCB *semNode = NULL; in Testcase() local 87 semNode = g_allSem + loop; in Testcase() 88 if (semNode->semStat == OS_SEM_USED) { in Testcase()
|
D | It_los_sem_040.c | 79 LosSemCB *semNode = NULL; in Testcase() local 84 semNode = g_allSem + loop; in Testcase() 85 if (semNode->semStat == OS_SEM_USED) { in Testcase()
|
D | It_los_sem_039.c | 80 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/ |
D | prt_sem_init.c | 36 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/ |
D | los_sem.c | 55 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/ |
D | sysinfo_shellcmd.c | 70 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/ |
D | iCunit.c | 234 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()
|
D | osTest.c | 190 LosSemCB *semNode = (LosSemCB *)NULL; in SemCountGetTest() local 194 semNode = GET_SEM(loop); in SemCountGetTest() 195 if (semNode->semStat == OS_SEM_USED) { in SemCountGetTest()
|