Searched refs:walking_aio_notifiers (Results 1 – 2 of 2) sorted by relevance
1091 bool walking_aio_notifiers; /* to make removal during iteration safe */ member
7464 assert(!bs->walking_aio_notifiers); in bdrv_detach_aio_context()7466 bs->walking_aio_notifiers = true; in bdrv_detach_aio_context()7477 bs->walking_aio_notifiers = false; in bdrv_detach_aio_context()7498 assert(!bs->walking_aio_notifiers); in bdrv_attach_aio_context()7499 bs->walking_aio_notifiers = true; in bdrv_attach_aio_context()7507 bs->walking_aio_notifiers = false; in bdrv_attach_aio_context()7709 if (bs->walking_aio_notifiers) { in bdrv_remove_aio_context_notifier()