/drivers/virtio/ |
D | virtio_pci_common.c | 279 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 …]
|
D | virtio_pci_common.h | 130 int vp_find_vqs(struct virtio_device *vdev, unsigned nvqs,
|
D | virtio_mmio.c | 458 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()
|
D | virtio_pci_modern.c | 402 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/ |
D | vhost.c | 297 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 …]
|
D | vhost.h | 163 int nvqs; member 181 int nvqs, int iov_limit, int weight, int byte_weight);
|
D | test.c | 187 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()
|
D | scsi.c | 1399 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/ |
D | virtio_ccw.c | 261 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/ |
D | remoteproc_virtio.c | 143 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/ |
D | vop_main.c | 383 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/ |
D | mlxbf-tmfifo.c | 915 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()
|