Home
last modified time | relevance | path

Searched refs:vqs_info (Results 1 – 25 of 27) sorted by relevance

12

/linux/drivers/crypto/virtio/
H A Dvirtio_crypto_core.c99 struct virtqueue_info *vqs_info; in virtcrypto_find_vqs() local
116 vqs_info = kcalloc(total_vqs, sizeof(*vqs_info), GFP_KERNEL); in virtcrypto_find_vqs()
117 if (!vqs_info) in virtcrypto_find_vqs()
121 vqs_info[total_vqs - 1].callback = virtcrypto_ctrlq_callback; in virtcrypto_find_vqs()
122 vqs_info[total_vqs - 1].name = "controlq"; in virtcrypto_find_vqs()
126 vqs_info[i].callback = virtcrypto_dataq_callback; in virtcrypto_find_vqs()
129 vqs_info[i].name = vi->data_vq[i].name; in virtcrypto_find_vqs()
132 ret = virtio_find_vqs(vi->vdev, total_vqs, vqs, vqs_info, NULL); in virtcrypto_find_vqs()
152 kfree(vqs_info); in virtcrypto_find_vqs()
159 kfree(vqs_info); in virtcrypto_find_vqs()
/linux/drivers/scsi/
H A Dvirtio_scsi.c844 struct virtqueue_info *vqs_info; in virtscsi_init() local
851 vqs_info = kcalloc(num_vqs, sizeof(*vqs_info), GFP_KERNEL); in virtscsi_init()
853 if (!vqs || !vqs_info) { in virtscsi_init()
869 vqs_info[0].callback = virtscsi_ctrl_done; in virtscsi_init()
870 vqs_info[0].name = "control"; in virtscsi_init()
871 vqs_info[1].callback = virtscsi_event_done; in virtscsi_init()
872 vqs_info[1].name = "event"; in virtscsi_init()
874 vqs_info[i].callback = virtscsi_req_done; in virtscsi_init()
875 vqs_info[i].name = "request"; in virtscsi_init()
879 vqs_info[i].name = "request_poll"; in virtscsi_init()
[all …]
/linux/drivers/virtio/
H A Dvirtio_pci_common.c366 struct virtqueue_info vqs_info[], in vp_find_vqs_msix() argument
394 vqi = &vqs_info[i]; in vp_find_vqs_msix()
412 vqi = &vqs_info[i]; in vp_find_vqs_msix()
447 struct virtqueue_info vqs_info[]) in vp_find_vqs_intx() argument
473 struct virtqueue_info *vqi = &vqs_info[i]; in vp_find_vqs_intx()
507 struct virtqueue *vqs[], struct virtqueue_info vqs_info[], in vp_find_vqs() argument
513 err = vp_find_vqs_msix(vdev, nvqs, vqs, vqs_info, in vp_find_vqs()
520 err = vp_find_vqs_msix(vdev, nvqs, vqs, vqs_info, in vp_find_vqs()
525 err = vp_find_vqs_msix(vdev, nvqs, vqs, vqs_info, in vp_find_vqs()
533 return vp_find_vqs_intx(vdev, nvqs, vqs, vqs_info); in vp_find_vqs()
H A Dvirtio_balloon.c581 struct virtqueue_info vqs_info[VIRTIO_BALLOON_VQ_MAX] = {}; in init_vqs() local
590 vqs_info[VIRTIO_BALLOON_VQ_INFLATE].callback = balloon_ack; in init_vqs()
591 vqs_info[VIRTIO_BALLOON_VQ_INFLATE].name = "inflate"; in init_vqs()
592 vqs_info[VIRTIO_BALLOON_VQ_DEFLATE].callback = balloon_ack; in init_vqs()
593 vqs_info[VIRTIO_BALLOON_VQ_DEFLATE].name = "deflate"; in init_vqs()
596 vqs_info[VIRTIO_BALLOON_VQ_STATS].name = "stats"; in init_vqs()
597 vqs_info[VIRTIO_BALLOON_VQ_STATS].callback = stats_request; in init_vqs()
601 vqs_info[VIRTIO_BALLOON_VQ_FREE_PAGE].name = "free_page_vq"; in init_vqs()
604 vqs_info[VIRTIO_BALLOON_VQ_REPORTING].name = "reporting_vq"; in init_vqs()
605 vqs_info[VIRTIO_BALLOON_VQ_REPORTING].callback = balloon_ack; in init_vqs()
[all …]
H A Dvirtio_pci_common.h133 struct virtqueue *vqs[], struct virtqueue_info vqs_info[],
H A Dvirtio_input.c188 struct virtqueue_info vqs_info[] = { in virtinput_init_vqs() local
195 err = virtio_find_vqs(vi->vdev, 2, vqs, vqs_info, NULL); in virtinput_init_vqs()
H A Dvirtio_vdpa.c361 struct virtqueue_info vqs_info[], in virtio_vdpa_find_vqs() argument
380 struct virtqueue_info *vqi = &vqs_info[i]; in virtio_vdpa_find_vqs()
H A Dvirtio_mmio.c492 struct virtqueue_info vqs_info[], in vm_find_vqs() argument
511 struct virtqueue_info *vqi = &vqs_info[i]; in vm_find_vqs()
H A Dvirtio_pci_modern.c637 struct virtqueue_info vqs_info[], in vp_modern_find_vqs() argument
642 int rc = vp_find_vqs(vdev, nvqs, vqs, vqs_info, desc); in vp_modern_find_vqs()
/linux/drivers/char/
H A Dvirtio_console.c1806 struct virtqueue_info *vqs_info; in init_vqs() local
1815 vqs_info = kcalloc(nr_queues, sizeof(*vqs_info), GFP_KERNEL); in init_vqs()
1831 vqs_info[j].callback = in_intr; in init_vqs()
1833 vqs_info[j].name = "input"; in init_vqs()
1834 vqs_info[j + 1].name = "output"; in init_vqs()
1839 vqs_info[j].name = "control-i"; in init_vqs()
1844 vqs_info[j].callback = in_intr; in init_vqs()
1846 vqs_info[j].name = "input"; in init_vqs()
1847 vqs_info[j + 1].name = "output"; in init_vqs()
1869 kfree(vqs_info); in init_vqs()
[all …]
/linux/include/linux/
H A Dvirtio_config.h119 struct virtqueue_info vqs_info[],
223 struct virtqueue_info vqs_info[], in virtio_find_vqs() argument
226 return vdev->config->find_vqs(vdev, nvqs, vqs, vqs_info, desc); in virtio_find_vqs()
233 struct virtqueue_info vqs_info[] = { in virtio_find_single_vq() local
237 int err = virtio_find_vqs(vdev, 1, &vq, vqs_info, NULL); in virtio_find_single_vq()
/linux/fs/fuse/
H A Dvirtio_fs.c928 struct virtqueue_info *vqs_info; in virtio_fs_setup_vqs() local
954 vqs_info = kcalloc(fs->nvqs, sizeof(*vqs_info), GFP_KERNEL); in virtio_fs_setup_vqs()
955 if (!vqs || !vqs_info || !fs->mq_map) { in virtio_fs_setup_vqs()
961 vqs_info[VQ_HIPRIO].callback = virtio_fs_vq_done; in virtio_fs_setup_vqs()
963 vqs_info[VQ_HIPRIO].name = fs->vqs[VQ_HIPRIO].name; in virtio_fs_setup_vqs()
971 vqs_info[i].callback = virtio_fs_vq_done; in virtio_fs_setup_vqs()
972 vqs_info[i].name = fs->vqs[i].name; in virtio_fs_setup_vqs()
975 ret = virtio_find_vqs(vdev, fs->nvqs, vqs, vqs_info, &desc); in virtio_fs_setup_vqs()
984 kfree(vqs_info); in virtio_fs_setup_vqs()
/linux/drivers/block/
H A Dvirtio_blk.c967 struct virtqueue_info *vqs_info; in init_vq() local
1004 vqs_info = kcalloc(num_vqs, sizeof(*vqs_info), GFP_KERNEL); in init_vq()
1006 if (!vqs_info || !vqs) { in init_vq()
1012 vqs_info[i].callback = virtblk_done; in init_vq()
1014 vqs_info[i].name = vblk->vqs[i].name; in init_vq()
1019 vqs_info[i].name = vblk->vqs[i].name; in init_vq()
1023 err = virtio_find_vqs(vdev, num_vqs, vqs, vqs_info, &desc); in init_vq()
1035 kfree(vqs_info); in init_vq()
/linux/drivers/gpu/drm/virtio/
H A Dvirtgpu_kms.c119 struct virtqueue_info vqs_info[] = { in virtio_gpu_init() local
209 ret = virtio_find_vqs(vgdev->vdev, 2, vqs, vqs_info, NULL); in virtio_gpu_init()
/linux/drivers/bluetooth/
H A Dvirtio_bt.c257 struct virtqueue_info vqs_info[VIRTBT_NUM_VQS] = { in virtbt_probe() local
287 err = virtio_find_vqs(vdev, VIRTBT_NUM_VQS, vbt->vqs, vqs_info, NULL); in virtbt_probe()
/linux/sound/virtio/
H A Dvirtio_card.c113 struct virtqueue_info vqs_info[VIRTIO_SND_VQ_MAX] = { in virtsnd_find_vqs() local
128 rc = virtio_find_vqs(vdev, VIRTIO_SND_VQ_MAX, vqs, vqs_info, NULL); in virtsnd_find_vqs()
/linux/drivers/remoteproc/
H A Dremoteproc_virtio.c185 struct virtqueue_info vqs_info[], in rproc_virtio_find_vqs() argument
191 struct virtqueue_info *vqi = &vqs_info[i]; in rproc_virtio_find_vqs()
/linux/drivers/gpio/
H A Dgpio-virtio.c460 struct virtqueue_info vqs_info[] = { in virtio_gpio_alloc_vqs() local
468 vqs_info, NULL); in virtio_gpio_alloc_vqs()
/linux/net/vmw_vsock/
H A Dvirtio_transport.c666 struct virtqueue_info vqs_info[] = { in virtio_vsock_vqs_init() local
673 ret = virtio_find_vqs(vdev, VSOCK_VQ_MAX, vsock->vqs, vqs_info, NULL); in virtio_vsock_vqs_init()
/linux/drivers/rpmsg/
H A Dvirtio_rpmsg_bus.c871 struct virtqueue_info vqs_info[] = { in rpmsg_probe() local
896 err = virtio_find_vqs(vdev, 2, vqs, vqs_info, NULL); in rpmsg_probe()
/linux/arch/um/drivers/
H A Dvirt-pci.c570 struct virtqueue_info vqs_info[] = { in um_pci_init_vqs() local
577 err = virtio_find_vqs(dev->vdev, 2, vqs, vqs_info, NULL); in um_pci_init_vqs()
H A Dvirtio_uml.c1018 struct virtqueue_info vqs_info[], in vu_find_vqs() argument
1034 struct virtqueue_info *vqi = &vqs_info[i]; in vu_find_vqs()
/linux/drivers/net/
H A Dvirtio_net.c5983 struct virtqueue_info *vqs_info; in virtnet_find_vqs() local
6001 vqs_info = kcalloc(total_vqs, sizeof(*vqs_info), GFP_KERNEL); in virtnet_find_vqs()
6002 if (!vqs_info) in virtnet_find_vqs()
6014 vqs_info[total_vqs - 1].name = "control"; in virtnet_find_vqs()
6019 vqs_info[rxq2vq(i)].callback = skb_recv_done; in virtnet_find_vqs()
6020 vqs_info[txq2vq(i)].callback = skb_xmit_done; in virtnet_find_vqs()
6023 vqs_info[rxq2vq(i)].name = vi->rq[i].name; in virtnet_find_vqs()
6024 vqs_info[txq2vq(i)].name = vi->sq[i].name; in virtnet_find_vqs()
6026 vqs_info[rxq2vq(i)].ctx = true; in virtnet_find_vqs()
6029 ret = virtio_find_vqs(vi->vdev, total_vqs, vqs, vqs_info, NULL); in virtnet_find_vqs()
[all …]
/linux/drivers/iommu/
H A Dvirtio-iommu.c1087 struct virtqueue_info vqs_info[] = { in viommu_init_vqs() local
1093 vqs_info, NULL); in viommu_init_vqs()
/linux/drivers/platform/mellanox/
H A Dmlxbf-tmfifo.c1061 struct virtqueue_info vqs_info[], in mlxbf_tmfifo_virtio_find_vqs() argument
1073 struct virtqueue_info *vqi = &vqs_info[i]; in mlxbf_tmfifo_virtio_find_vqs()

12