Searched refs:bufferResourceSem (Results 1 – 4 of 4) sorted by relevance
169 if (0 != sem_init(&inst->bufferResourceSem, 0, NUM_BUFFERS)) { in HalCreate()180 sem_destroy(&inst->bufferResourceSem); in HalCreate()200 sem_destroy(&inst->bufferResourceSem); in HalCreate()218 sem_destroy(&inst->bufferResourceSem); in HalCreate()229 sem_destroy(&inst->bufferResourceSem); in HalCreate()264 sem_destroy(&inst->bufferResourceSem); in HalDestroy()580 sem_wait_nointr(&inst->bufferResourceSem); in HalAllocBuffer()617 sem_post(&inst->bufferResourceSem); in HalFreeBuffer()
114 sem_t bufferResourceSem; member
188 if (0 != sem_init(&inst->bufferResourceSem, 0, NUM_BUFFERS)) { in HalCreate()199 sem_destroy(&inst->bufferResourceSem); in HalCreate()219 sem_destroy(&inst->bufferResourceSem); in HalCreate()236 sem_destroy(&inst->bufferResourceSem); in HalCreate()247 sem_destroy(&inst->bufferResourceSem); in HalCreate()281 sem_destroy(&inst->bufferResourceSem); in HalDestroy()598 sem_wait_nointr(&inst->bufferResourceSem); in HalAllocBuffer()634 sem_post(&inst->bufferResourceSem); in HalFreeBuffer()
115 sem_t bufferResourceSem; member