Lines Matching refs:vq_aio_context
1097 aio_bh_schedule_oneshot(s->vq_aio_context[i], in virtio_blk_dma_restart_cb()
1381 virtio_queue_aio_detach_host_notifier(vq, s->vq_aio_context[i]); in virtio_blk_ioeventfd_detach()
1391 virtio_queue_aio_attach_host_notifier(vq, s->vq_aio_context[i]); in virtio_blk_ioeventfd_attach()
1497 AioContext **vq_aio_context, in apply_iothread_vq_mapping() argument
1527 vq_aio_context[vq->value] = ctx; in apply_iothread_vq_mapping()
1533 vq_aio_context[i] = ctx; in apply_iothread_vq_mapping()
1581 s->vq_aio_context = g_new(AioContext *, conf->num_queues); in virtio_blk_vq_aio_context_init()
1585 s->vq_aio_context, in virtio_blk_vq_aio_context_init()
1588 g_free(s->vq_aio_context); in virtio_blk_vq_aio_context_init()
1589 s->vq_aio_context = NULL; in virtio_blk_vq_aio_context_init()
1595 s->vq_aio_context[i] = ctx; in virtio_blk_vq_aio_context_init()
1603 s->vq_aio_context[i] = ctx; in virtio_blk_vq_aio_context_init()
1630 g_free(s->vq_aio_context); in virtio_blk_vq_aio_context_cleanup()
1631 s->vq_aio_context = NULL; in virtio_blk_vq_aio_context_cleanup()
1696 r = blk_set_aio_context(s->conf.conf.blk, s->vq_aio_context[0], in virtio_blk_start_ioeventfd()
1775 AioContext *ctx = s->vq_aio_context[i]; in virtio_blk_stop_ioeventfd()