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