Home
last modified time | relevance | path

Searched refs:semStat (Results 1 – 18 of 18) sorted by relevance

/kernel/liteos_m/kernel/src/
Dlos_sem.c73 semNode->semStat = OS_SEM_UNUSED; in OsSemInit()
114 semCreated->semStat = OS_SEM_USED; in OsSemCreate()
170 if (semDeleted->semStat == OS_SEM_UNUSED) { in LOS_SemDelete()
181 semDeleted->semStat = OS_SEM_UNUSED; in LOS_SemDelete()
191 if (semPended->semStat == OS_SEM_UNUSED) { in OsSemValidCheck()
292 if (semPosted->semStat == OS_SEM_UNUSED) { in LOS_SemPost()
/kernel/liteos_a/kernel/base/ipc/
Dlos_sem.c71 semNode->semStat = OS_SEM_UNUSED; in OsSemInit()
117 semCreated->semStat = OS_SEM_USED; in OsSemCreate()
154 if ((semDeleted->semStat == OS_SEM_UNUSED) || (semDeleted->semID != semHandle)) { in LOS_SemDelete()
165 semDeleted->semStat = OS_SEM_UNUSED; in LOS_SemDelete()
203 if ((semPended->semStat == OS_SEM_UNUSED) || (semPended->semID != semHandle)) { in LOS_SemPend()
242 if ((semPosted->semID != semHandle) || (semPosted->semStat == OS_SEM_UNUSED)) { in OsSemPostUnsafe()
Dlos_sem_debug.c53 if ((semNode->semStat == OS_SEM_UNUSED) || (LOS_ListEmpty(&semNode->semList))) { in OsSemPendedTaskNamePrint()
148 if ((semNode.semStat != OS_SEM_USED) || (semDebug.creator == NULL)) { in OsSemSort()
173 if ((semNode->semStat == OS_SEM_USED) && (semDebug->creator != NULL)) { in OsSemInfoGetFullData()
193 if ((semNode->semStat != OS_SEM_USED) || (semDebug->creator == NULL)) { in OsSemInfoGetFullData()
224 if (semCB->semStat == OS_SEM_USED) { in OsSemInfoOutput()
246 if ((semNode.semID != semID) || (semNode.semStat != OS_SEM_USED)) { in OsSemInfoOutput()
/kernel/uniproton/src/core/ipc/sem/
Dprt_sem_init.c92 semCreated->semStat = OS_SEM_USED; in OsSemCreate()
134 if (semDeleted->semStat == OS_SEM_UNUSED) { in PRT_SemDelete()
142 semDeleted->semStat = OS_SEM_UNUSED; in PRT_SemDelete()
Dprt_sem_minor.c35 if (semGet->semStat == OS_SEM_UNUSED) { in PRT_SemGetInfo()
95 if (semCb->semStat == OS_SEM_UNUSED) { in PRT_SemGetPendList()
Dprt_sem.c123 if (semPended->semStat == OS_SEM_UNUSED) { in PRT_SemPend()
179 if (semPosted->semStat == OS_SEM_UNUSED) { in OsSemPostErrorCheck()
/kernel/uniproton/src/core/ipc/include/
Dprt_sem_external.h34 U16 semStat; member
/kernel/liteos_a/kernel/base/include/
Dlos_sem_pri.h48 UINT8 semStat; /**< Semaphore state */ member
/kernel/liteos_m/testsuites/sample/kernel/sem/
DIt_los_sem_008.c47 if (semNode->semStat == OS_SEM_USED) { in Testcase()
DIt_los_sem_004.c50 if (OS_SEM_UNUSED == (semPended->semStat)) { in Testcase()
Dit_los_sem_041.c88 if (semNode->semStat == OS_SEM_USED) { in Testcase()
DIt_los_sem_039.c86 if (semNode->semStat == OS_SEM_USED) { in Testcase()
DIt_los_sem_040.c85 if (semNode->semStat == OS_SEM_USED) { in Testcase()
/kernel/liteos_m/kernel/include/
Dlos_sem.h304 UINT16 semStat; /**< Semaphore state */ member
/kernel/liteos_a/kernel/base/misc/
Dsysinfo_shellcmd.c78 if (semNode->semStat == OS_SEM_USED) { in OsShellCmdSemCntGet()
/kernel/liteos_a/testsuites/kernel/src/
DiCunit.c268 if (semNode->semStat == OS_SEM_UNUSED) { in ICunitRunF()
348 if (semNode->semStat == OS_SEM_UNUSED) { in ICunitRunF()
DosTest.c195 if (semNode->semStat == OS_SEM_USED) { in SemCountGetTest()
/kernel/liteos_m/kal/cmsis/
Dcmsis_liteos2.c1200 if (semCB->semStat == 0) { in osSemaphoreGetCount()