Home
last modified time | relevance | path

Searched refs:aio_context_list_lock (Results 1 – 1 of 1) sorted by relevance

/openbmc/qemu/block/
H A Dgraph-lock.c31 static QemuMutex aio_context_list_lock; variable
71 qemu_mutex_init(&aio_context_list_lock); in bdrv_init_graph_lock()
78 QEMU_LOCK_GUARD(&aio_context_list_lock); in register_aiocontext()
85 QEMU_LOCK_GUARD(&aio_context_list_lock); in unregister_aiocontext()
96 QEMU_LOCK_GUARD(&aio_context_list_lock); in reader_count()
150 WITH_QEMU_LOCK_GUARD(&aio_context_list_lock) { in bdrv_graph_wrunlock()
158 qemu_co_enter_all(&reader_queue, &aio_context_list_lock); in bdrv_graph_wrunlock()
208 WITH_QEMU_LOCK_GUARD(&aio_context_list_lock) { in bdrv_graph_co_rdlock()
231 qemu_co_queue_wait(&reader_queue, &aio_context_list_lock); in bdrv_graph_co_rdlock()