Searched refs:shadow_vqs (Results 1 – 3 of 3) sorted by relevance
/openbmc/qemu/hw/virtio/ |
H A D | vhost-vdpa.c | 583 g_autoptr(GPtrArray) shadow_vqs = NULL; in vhost_vdpa_init_svq() 585 shadow_vqs = g_ptr_array_new_full(hdev->nvqs, vhost_svq_free); in vhost_vdpa_init_svq() 590 g_ptr_array_add(shadow_vqs, svq); in vhost_vdpa_init_svq() 593 v->shadow_vqs = g_steal_pointer(&shadow_vqs); in vhost_vdpa_init_svq() 751 for (idx = 0; idx < v->shadow_vqs->len; ++idx) { in vhost_vdpa_svq_cleanup() 752 vhost_svq_stop(g_ptr_array_index(v->shadow_vqs, idx)); in vhost_vdpa_svq_cleanup() 754 g_ptr_array_free(v->shadow_vqs, true); in vhost_vdpa_svq_cleanup() 1253 for (i = 0; i < v->shadow_vqs->len; ++i) { in vhost_vdpa_svqs_start() 1255 VhostShadowVirtqueue *svq = g_ptr_array_index(v->shadow_vqs, i); in vhost_vdpa_svqs_start() 1282 vhost_vdpa_svq_unmap_rings(dev, g_ptr_array_index(v->shadow_vqs, i)); in vhost_vdpa_svqs_start() [all …]
|
/openbmc/qemu/include/hw/virtio/ |
H A D | vhost-vdpa.h | 69 GPtrArray *shadow_vqs; member
|
/openbmc/qemu/net/ |
H A D | vhost-vdpa.c | 643 VhostShadowVirtqueue *svq = g_ptr_array_index(s->vhost_vdpa.shadow_vqs, 0); in vhost_vdpa_net_cvq_add() 665 VhostShadowVirtqueue *svq = g_ptr_array_index(s->vhost_vdpa.shadow_vqs, 0); in vhost_vdpa_net_svq_poll() 721 VhostShadowVirtqueue *svq = g_ptr_array_index(s->vhost_vdpa.shadow_vqs, 0); in vhost_vdpa_net_load_cmd()
|