Searched refs:d_bfsem (Results 1 – 2 of 2) sorted by relevance
139 sem_init(&dev->d_bfsem, 0, 1); in pipecommon_allocdev()159 sem_destroy(&dev->d_bfsem); in pipecommon_freedev()185 ret = sem_wait(&dev->d_bfsem); in pipecommon_open()202 (void)sem_post(&dev->d_bfsem); in pipecommon_open()239 (void)sem_post(&dev->d_bfsem); in pipecommon_open()294 pipecommon_semtake(&dev->d_bfsem); in pipecommon_close()368 sem_post(&dev->d_bfsem); in pipecommon_close()402 ret = sem_wait(&dev->d_bfsem); in pipecommon_read()416 sem_post(&dev->d_bfsem); in pipecommon_read()424 sem_post(&dev->d_bfsem); in pipecommon_read()[all …]
112 sem_t d_bfsem; /* Used to serialize access to d_buffer and indices */ member