Searched refs:nvqs (Results 1 - 10 of 10) sorted by relevance

/drivers/vhost/
H A Dvhost.h155 int nvqs; member in struct:vhost_dev
163 long vhost_dev_init(struct vhost_dev *, struct vhost_virtqueue *vqs, int nvqs);
H A Dvhost.c258 for (i = 0; i < dev->nvqs; ++i) {
287 for (i = 0; i < dev->nvqs; ++i)
292 struct vhost_virtqueue *vqs, int nvqs)
297 dev->nvqs = nvqs;
307 for (i = 0; i < dev->nvqs; ++i) {
444 for (i = 0; i < dev->nvqs; ++i) {
535 for (i = 0; i < d->nvqs; ++i) {
651 if (idx >= d->nvqs)
863 for (i = 0; i < d->nvqs;
291 vhost_dev_init(struct vhost_dev *dev, struct vhost_virtqueue *vqs, int nvqs) argument
[all...]
H A Dtest.c180 for (index = 0; index < n->dev.nvqs; ++index) {
188 for (index = 0; index < n->dev.nvqs; ++index) {
/drivers/virtio/
H A Dvirtio_pci.c509 static int vp_try_to_find_vqs(struct virtio_device *vdev, unsigned nvqs, argument
529 for (i = 0; i < nvqs; ++i)
544 for (i = 0; i < nvqs; ++i) {
584 static int vp_find_vqs(struct virtio_device *vdev, unsigned nvqs, argument
592 err = vp_try_to_find_vqs(vdev, nvqs, vqs, callbacks, names, true, true);
596 err = vp_try_to_find_vqs(vdev, nvqs, vqs, callbacks, names,
601 return vp_try_to_find_vqs(vdev, nvqs, vqs, callbacks, names,
H A Dvirtio_balloon.c317 int err, nvqs; local
323 nvqs = virtio_has_feature(vb->vdev, VIRTIO_BALLOON_F_STATS_VQ) ? 3 : 2;
324 err = vb->vdev->config->find_vqs(vb->vdev, nvqs, vqs, callbacks, names);
H A Dvirtio_mmio.c339 static int vm_find_vqs(struct virtio_device *vdev, unsigned nvqs, argument
353 for (i = 0; i < nvqs; ++i) {
/drivers/lguest/
H A Dlguest_device.c366 static int lg_find_vqs(struct virtio_device *vdev, unsigned nvqs, argument
375 if (nvqs > ldev->desc->num_vq)
378 for (i = 0; i < nvqs; ++i) {
/drivers/s390/kvm/
H A Dkvm_virtio.c242 static int kvm_find_vqs(struct virtio_device *vdev, unsigned nvqs, argument
251 if (nvqs > kdev->desc->num_vq)
254 for (i = 0; i < nvqs; ++i) {
/drivers/remoteproc/
H A Dremoteproc_virtio.c131 static int rproc_virtio_find_vqs(struct virtio_device *vdev, unsigned nvqs, argument
139 for (i = 0; i < nvqs; ++i) {
/drivers/net/
H A Dvirtio_net.c994 int nvqs, err; local
998 nvqs = virtio_has_feature(vi->vdev, VIRTIO_NET_F_CTRL_VQ) ? 3 : 2;
1000 err = vi->vdev->config->find_vqs(vi->vdev, nvqs, vqs, callbacks, names);

Completed in 200 milliseconds