Lines Matching refs:sSemaphores
20 static semaphore sSemaphores[kSemaphoreCount]; variable
28 return sSemaphores[id].inUse; in check_sem()
36 semaphore &sem = sSemaphores[i]; in create_sem()
59 sSemaphores[id].inUse = false; in delete_sem()
60 free(sSemaphores[id].name); in delete_sem()
61 sSemaphores[id].name = NULL; in delete_sem()
83 semaphore &sem = sSemaphores[id]; in acquire_sem_etc()
146 semaphore &sem = sSemaphores[id]; in release_sem_etc()
162 *threadCount = sSemaphores[id].count; in get_sem_count()
188 strlcpy(info->name, sSemaphores[id].name, sizeof(info->name)); in _get_sem_info()
189 info->count = sSemaphores[id].count; in _get_sem_info()
204 if (sSemaphores[i].inUse) { in _get_next_sem_info()