Lines Matching refs:shadow_vqs
567 g_autoptr(GPtrArray) shadow_vqs = NULL; in vhost_vdpa_init_svq()
569 shadow_vqs = g_ptr_array_new_full(hdev->nvqs, vhost_svq_free); in vhost_vdpa_init_svq()
574 g_ptr_array_add(shadow_vqs, svq); in vhost_vdpa_init_svq()
577 v->shadow_vqs = g_steal_pointer(&shadow_vqs); in vhost_vdpa_init_svq()
737 for (idx = 0; idx < v->shadow_vqs->len; ++idx) { in vhost_vdpa_svq_cleanup()
738 vhost_svq_stop(g_ptr_array_index(v->shadow_vqs, idx)); in vhost_vdpa_svq_cleanup()
740 g_ptr_array_free(v->shadow_vqs, true); in vhost_vdpa_svq_cleanup()
1207 for (i = 0; i < v->shadow_vqs->len; ++i) { in vhost_vdpa_svqs_start()
1209 VhostShadowVirtqueue *svq = g_ptr_array_index(v->shadow_vqs, i); in vhost_vdpa_svqs_start()
1236 vhost_vdpa_svq_unmap_rings(dev, g_ptr_array_index(v->shadow_vqs, i)); in vhost_vdpa_svqs_start()
1239 vhost_svq_stop(g_ptr_array_index(v->shadow_vqs, i)); in vhost_vdpa_svqs_start()
1244 VhostShadowVirtqueue *svq = g_ptr_array_index(v->shadow_vqs, j); in vhost_vdpa_svqs_start()
1260 for (unsigned i = 0; i < v->shadow_vqs->len; ++i) { in vhost_vdpa_svqs_stop()
1261 VhostShadowVirtqueue *svq = g_ptr_array_index(v->shadow_vqs, i); in vhost_vdpa_svqs_stop()
1427 VhostShadowVirtqueue *svq = g_ptr_array_index(v->shadow_vqs, vdpa_idx); in vhost_vdpa_set_vring_kick()
1440 VhostShadowVirtqueue *svq = g_ptr_array_index(v->shadow_vqs, vdpa_idx); in vhost_vdpa_set_vring_call()