Searched refs:reader_count (Results 1 – 1 of 1) sorted by relevance
52 uint32_t reader_count; member79 assert(ctx->bdrv_graph->reader_count == 0); in register_aiocontext()91 static uint32_t reader_count(void) in reader_count() function101 rd += qatomic_read(&brdv_graph->reader_count); in reader_count()140 } while (reader_count() >= 1); in bdrv_graph_wrlock()179 qatomic_set(&bdrv_graph->reader_count, in bdrv_graph_co_rdlock()180 bdrv_graph->reader_count + 1); in bdrv_graph_co_rdlock()229 bdrv_graph->reader_count--; in bdrv_graph_co_rdlock()241 qatomic_store_release(&bdrv_graph->reader_count, in bdrv_graph_co_rdunlock()242 bdrv_graph->reader_count - 1); in bdrv_graph_co_rdunlock()[all …]