Home
last modified time | relevance | path

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

12

/linux-6.12.1/drivers/crypto/virtio/ !
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-6.12.1/drivers/scsi/ !
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-6.12.1/drivers/virtio/ !
Dvirtio_pci_common.c378 struct virtqueue_info vqs_info[], in vp_find_vqs_msix() argument
406 vqi = &vqs_info[i]; in vp_find_vqs_msix()
424 vqi = &vqs_info[i]; in vp_find_vqs_msix()
459 struct virtqueue_info vqs_info[]) in vp_find_vqs_intx() argument
485 struct virtqueue_info *vqi = &vqs_info[i]; in vp_find_vqs_intx()
519 struct virtqueue *vqs[], struct virtqueue_info vqs_info[], in vp_find_vqs() argument
525 err = vp_find_vqs_msix(vdev, nvqs, vqs, vqs_info, in vp_find_vqs()
532 err = vp_find_vqs_msix(vdev, nvqs, vqs, vqs_info, in vp_find_vqs()
537 err = vp_find_vqs_msix(vdev, nvqs, vqs, vqs_info, in vp_find_vqs()
545 return vp_find_vqs_intx(vdev, nvqs, vqs, vqs_info); in vp_find_vqs()
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 …]
Dvirtio_pci_common.h133 struct virtqueue *vqs[], struct virtqueue_info vqs_info[],
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()
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()
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()
Dvirtio_pci_modern.c627 struct virtqueue_info vqs_info[], in vp_modern_find_vqs() argument
632 int rc = vp_find_vqs(vdev, nvqs, vqs, vqs_info, desc); in vp_modern_find_vqs()
/linux-6.12.1/drivers/char/ !
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()
1820 if (!vqs || !vqs_info || !portdev->in_vqs || !portdev->out_vqs) { in init_vqs()
1831 vqs_info[j].callback = in_intr; in init_vqs()
1832 vqs_info[j + 1].callback = out_intr; in init_vqs()
1833 vqs_info[j].name = "input"; in init_vqs()
1834 vqs_info[j + 1].name = "output"; in init_vqs()
1838 vqs_info[j].callback = control_intr; in init_vqs()
1839 vqs_info[j].name = "control-i"; in init_vqs()
1840 vqs_info[j + 1].name = "control-o"; in init_vqs()
[all …]
/linux-6.12.1/include/linux/ !
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-6.12.1/fs/fuse/ !
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-6.12.1/drivers/block/ !
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-6.12.1/sound/virtio/ !
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-6.12.1/drivers/bluetooth/ !
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-6.12.1/drivers/gpu/drm/virtio/ !
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-6.12.1/drivers/remoteproc/ !
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-6.12.1/drivers/gpio/ !
Dgpio-virtio.c460 struct virtqueue_info vqs_info[] = { in virtio_gpio_alloc_vqs() local
468 vqs_info, NULL); in virtio_gpio_alloc_vqs()
/linux-6.12.1/net/vmw_vsock/ !
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-6.12.1/arch/um/drivers/ !
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()
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-6.12.1/drivers/rpmsg/ !
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-6.12.1/drivers/net/ !
Dvirtio_net.c6044 struct virtqueue_info *vqs_info; in virtnet_find_vqs() local
6062 vqs_info = kcalloc(total_vqs, sizeof(*vqs_info), GFP_KERNEL); in virtnet_find_vqs()
6063 if (!vqs_info) in virtnet_find_vqs()
6075 vqs_info[total_vqs - 1].name = "control"; in virtnet_find_vqs()
6080 vqs_info[rxq2vq(i)].callback = skb_recv_done; in virtnet_find_vqs()
6081 vqs_info[txq2vq(i)].callback = skb_xmit_done; in virtnet_find_vqs()
6084 vqs_info[rxq2vq(i)].name = vi->rq[i].name; in virtnet_find_vqs()
6085 vqs_info[txq2vq(i)].name = vi->sq[i].name; in virtnet_find_vqs()
6087 vqs_info[rxq2vq(i)].ctx = true; in virtnet_find_vqs()
6090 ret = virtio_find_vqs(vi->vdev, total_vqs, vqs, vqs_info, NULL); in virtnet_find_vqs()
[all …]
/linux-6.12.1/drivers/iommu/ !
Dvirtio-iommu.c1087 struct virtqueue_info vqs_info[] = { in viommu_init_vqs() local
1093 vqs_info, NULL); in viommu_init_vqs()
/linux-6.12.1/drivers/platform/mellanox/ !
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