Home
last modified time | relevance | path

Searched refs:nvqs (Results 1 – 12 of 12) sorted by relevance

/drivers/virtio/
Dvirtio_pci_common.c279 static int vp_find_vqs_msix(struct virtio_device *vdev, unsigned nvqs, in vp_find_vqs_msix() argument
289 vp_dev->vqs = kcalloc(nvqs, sizeof(*vp_dev->vqs), GFP_KERNEL); in vp_find_vqs_msix()
296 for (i = 0; i < nvqs; ++i) in vp_find_vqs_msix()
311 for (i = 0; i < nvqs; ++i) { in vp_find_vqs_msix()
353 static int vp_find_vqs_intx(struct virtio_device *vdev, unsigned nvqs, in vp_find_vqs_intx() argument
360 vp_dev->vqs = kcalloc(nvqs, sizeof(*vp_dev->vqs), GFP_KERNEL); in vp_find_vqs_intx()
371 for (i = 0; i < nvqs; ++i) { in vp_find_vqs_intx()
392 int vp_find_vqs(struct virtio_device *vdev, unsigned nvqs, in vp_find_vqs() argument
400 err = vp_find_vqs_msix(vdev, nvqs, vqs, callbacks, names, true, ctx, desc); in vp_find_vqs()
404 err = vp_find_vqs_msix(vdev, nvqs, vqs, callbacks, names, false, ctx, desc); in vp_find_vqs()
[all …]
Dvirtio_pci_common.h130 int vp_find_vqs(struct virtio_device *vdev, unsigned nvqs,
Dvirtio_mmio.c458 static int vm_find_vqs(struct virtio_device *vdev, unsigned nvqs, in vm_find_vqs() argument
479 for (i = 0; i < nvqs; ++i) { in vm_find_vqs()
Dvirtio_pci_modern.c402 static int vp_modern_find_vqs(struct virtio_device *vdev, unsigned nvqs, in vp_modern_find_vqs() argument
410 int rc = vp_find_vqs(vdev, nvqs, vqs, callbacks, names, ctx, desc); in vp_modern_find_vqs()
/drivers/vhost/
Dvhost.c297 for (i = 0; i < d->nvqs; ++i) in vhost_vq_meta_reset()
389 for (i = 0; i < dev->nvqs; ++i) { in vhost_dev_alloc_iovecs()
413 for (i = 0; i < dev->nvqs; ++i) in vhost_dev_free_iovecs()
459 struct vhost_virtqueue **vqs, int nvqs, in vhost_dev_init() argument
466 dev->nvqs = nvqs; in vhost_dev_init()
483 for (i = 0; i < dev->nvqs; ++i) { in vhost_dev_init()
603 for (i = 0; i < dev->nvqs; ++i) in vhost_dev_reset_owner()
612 for (i = 0; i < dev->nvqs; ++i) { in vhost_dev_stop()
666 for (i = 0; i < dev->nvqs; ++i) { in vhost_dev_cleanup()
763 for (i = 0; i < d->nvqs; ++i) { in memory_access_ok()
[all …]
Dvhost.h163 int nvqs; member
181 int nvqs, int iov_limit, int weight, int byte_weight);
Dtest.c187 for (index = 0; index < n->dev.nvqs; ++index) { in vhost_test_run()
195 for (index = 0; index < n->dev.nvqs; ++index) { in vhost_test_run()
Dscsi.c1399 for (index = 0; index < vs->dev.nvqs; ++index) { in vhost_scsi_set_endpoint()
1501 for (index = 0; index < vs->dev.nvqs; ++index) { in vhost_scsi_clear_endpoint()
/drivers/s390/virtio/
Dvirtio_ccw.c261 static unsigned long get_airq_indicator(struct virtqueue *vqs[], int nvqs, in get_airq_indicator() argument
278 bit = airq_iv_alloc(info->aiv, nvqs); in get_airq_indicator()
287 for (j = 0; j < nvqs; j++) { in get_airq_indicator()
604 struct virtqueue *vqs[], int nvqs, in virtio_ccw_register_adapter_ind() argument
618 thinint_area->indicator = get_airq_indicator(vqs, nvqs, in virtio_ccw_register_adapter_ind()
652 static int virtio_ccw_find_vqs(struct virtio_device *vdev, unsigned nvqs, in virtio_ccw_find_vqs() argument
668 for (i = 0; i < nvqs; ++i) { in virtio_ccw_find_vqs()
694 ret = virtio_ccw_register_adapter_ind(vcdev, vqs, nvqs, ccw); in virtio_ccw_find_vqs()
/drivers/remoteproc/
Dremoteproc_virtio.c143 static int rproc_virtio_find_vqs(struct virtio_device *vdev, unsigned int nvqs, in rproc_virtio_find_vqs() argument
152 for (i = 0; i < nvqs; ++i) { in rproc_virtio_find_vqs()
/drivers/misc/mic/vop/
Dvop_main.c383 static int vop_find_vqs(struct virtio_device *dev, unsigned nvqs, in vop_find_vqs() argument
395 if (nvqs > ioread8(&vdev->desc->num_vq)) in vop_find_vqs()
398 for (i = 0; i < nvqs; ++i) { in vop_find_vqs()
/drivers/platform/mellanox/
Dmlxbf-tmfifo.c915 unsigned int nvqs, in mlxbf_tmfifo_virtio_find_vqs() argument
927 if (nvqs > ARRAY_SIZE(tm_vdev->vrings)) in mlxbf_tmfifo_virtio_find_vqs()
930 for (i = 0; i < nvqs; ++i) { in mlxbf_tmfifo_virtio_find_vqs()