Lines Matching refs:nvqs
289 for (i = 0; i < d->nvqs; ++i) in vhost_vq_meta_reset()
390 for (i = 0; i < dev->nvqs; ++i) { in vhost_dev_alloc_iovecs()
414 for (i = 0; i < dev->nvqs; ++i) in vhost_dev_free_iovecs()
460 struct vhost_virtqueue **vqs, int nvqs, in vhost_dev_init() argument
470 dev->nvqs = nvqs; in vhost_dev_init()
489 for (i = 0; i < dev->nvqs; ++i) { in vhost_dev_init()
646 for (i = 0; i < dev->nvqs; ++i) in vhost_dev_reset_owner()
655 for (i = 0; i < dev->nvqs; ++i) { in vhost_dev_stop()
687 for (i = 0; i < dev->nvqs; ++i) { in vhost_dev_cleanup()
787 for (i = 0; i < d->nvqs; ++i) { in memory_access_ok()
999 for (i = 0; i < d->nvqs; ++i) in vhost_dev_lock_vqs()
1006 for (i = 0; i < d->nvqs; ++i) in vhost_dev_unlock_vqs()
1482 for (i = 0; i < d->nvqs; ++i) { in vhost_set_memory()
1610 if (idx >= d->nvqs) in vhost_vring_ioctl()
1613 idx = array_index_nospec(idx, d->nvqs); in vhost_vring_ioctl()
1744 for (i = 0; i < d->nvqs; ++i) { in vhost_init_device_iotlb()
1791 for (i = 0; i < d->nvqs; ++i) { in vhost_dev_ioctl()
1814 for (i = 0; i < d->nvqs; ++i) { in vhost_dev_ioctl()
2630 for (i = 0; i < dev->nvqs; ++i) { in vhost_set_backend_features()