Lines Matching refs:vq_index
574 return dev->vq_index + dev->nvqs == dev->vq_index_end; in vhost_vdpa_last_dev()
754 for (i = dev->vq_index; i < dev->vq_index + n; i++) { in vhost_vdpa_host_notifiers_uninit()
778 for (i = dev->vq_index; i < dev->vq_index + dev->nvqs; i++) { in vhost_vdpa_host_notifiers_init()
780 vhost_vdpa_host_notifiers_uninit(dev, i - dev->vq_index); in vhost_vdpa_host_notifiers_init()
914 assert(idx >= dev->vq_index && idx < dev->vq_index + dev->nvqs); in vhost_vdpa_get_vq_index()
1072 .index = dev->vq_index + idx, in vhost_vdpa_svq_set_fds()
1252 uint16_t vq_index = dev->vq_index + idx; in vhost_vdpa_svq_setup() local
1254 .index = vq_index, in vhost_vdpa_svq_setup()
1279 VirtQueue *vq = virtio_get_queue(dev->vdev, dev->vq_index + i); in vhost_vdpa_svqs_start()
1282 .index = dev->vq_index + i, in vhost_vdpa_svqs_start()
1501 int vdpa_idx = file->index - dev->vq_index; in vhost_vdpa_set_vring_kick()
1516 int vdpa_idx = file->index - dev->vq_index; in vhost_vdpa_set_vring_call()