Lines Matching refs:semaphore_id
1144 const char *osSemaphoreGetName(osSemaphoreId_t semaphore_id) in osSemaphoreGetName() argument
1146 UNUSED(semaphore_id); in osSemaphoreGetName()
1150 osStatus_t osSemaphoreAcquire(osSemaphoreId_t semaphore_id, uint32_t timeout) in osSemaphoreAcquire() argument
1152 LosSemCB *semCB = (LosSemCB *)semaphore_id; in osSemaphoreAcquire()
1171 osStatus_t osSemaphoreRelease(osSemaphoreId_t semaphore_id) in osSemaphoreRelease() argument
1175 if (semaphore_id == NULL) { in osSemaphoreRelease()
1179 ret = LOS_SemPost(((LosSemCB *)semaphore_id)->semID); in osSemaphoreRelease()
1189 uint32_t osSemaphoreGetCount(osSemaphoreId_t semaphore_id) in osSemaphoreGetCount() argument
1191 LosSemCB *semCB = (LosSemCB *)semaphore_id; in osSemaphoreGetCount()
1211 osStatus_t osSemaphoreDelete(osSemaphoreId_t semaphore_id) in osSemaphoreDelete() argument
1219 if (semaphore_id == NULL) { in osSemaphoreDelete()
1223 ret = LOS_SemDelete(((LosSemCB *)semaphore_id)->semID); in osSemaphoreDelete()