Home
last modified time | relevance | path

Searched refs:virtqueue_get_vring_size (Results 1 – 19 of 19) sorted by relevance

/linux-6.6.21/drivers/net/caif/
Dcaif_virtio.c198 virtqueue_get_vring_size(cfv->vq_tx); in cfv_release_used_buf()
208 virtqueue_get_vring_size(cfv->vq_tx)); in cfv_release_used_buf()
210 virtqueue_get_vring_size(cfv->vq_tx) / 4; in cfv_release_used_buf()
384 cfv->allocsz = (virtqueue_get_vring_size(cfv->vq_tx) * in cfv_create_genpool()
430 cfv->watermark_tx = virtqueue_get_vring_size(cfv->vq_tx); in cfv_create_genpool()
563 cfv->watermark_tx = virtqueue_get_vring_size(cfv->vq_tx) / 4; in cfv_netdev_tx()
/linux-6.6.21/net/vmw_vsock/
Dvirtio_transport.c138 if (val + 1 == virtqueue_get_vring_size(rx_vq)) in virtio_transport_send_pkt_work()
209 if (new_cnt + cnt >= virtqueue_get_vring_size(rx_vq) && in virtio_transport_cancel_pkt()
210 new_cnt < virtqueue_get_vring_size(rx_vq)) in virtio_transport_cancel_pkt()
292 return val < virtqueue_get_vring_size(vq); in virtio_transport_more_replies()
/linux-6.6.21/drivers/rpmsg/
Dvirtio_rpmsg_bus.c902 WARN_ON(virtqueue_get_vring_size(vrp->rvq) != in rpmsg_probe()
903 virtqueue_get_vring_size(vrp->svq)); in rpmsg_probe()
906 if (virtqueue_get_vring_size(vrp->rvq) < MAX_RPMSG_NUM_BUFS / 2) in rpmsg_probe()
907 vrp->num_bufs = virtqueue_get_vring_size(vrp->rvq) * 2; in rpmsg_probe()
/linux-6.6.21/include/linux/
Dvirtio.h92 unsigned int virtqueue_get_vring_size(const struct virtqueue *vq);
/linux-6.6.21/sound/virtio/
Dvirtio_card.c142 n = virtqueue_get_vring_size(vqs[VIRTIO_SND_VQ_EVENT]); in virtsnd_find_vqs()
/linux-6.6.21/drivers/virtio/
Dvirtio_balloon.c904 if (virtqueue_get_vring_size(vb->free_page_vq) < 2) { in virtballoon_probe()
963 capacity = virtqueue_get_vring_size(vb->reporting_vq); in virtballoon_probe()
Dvirtio_input.c209 size = virtqueue_get_vring_size(vi->evt); in virtinput_fill_evt()
Dvirtio_vdpa.c220 ops->set_vq_num(vdpa, index, virtqueue_get_vring_size(vq)); in virtio_vdpa_setup_vq()
Dvirtio_pci_modern.c191 vp_modern_set_queue_size(mdev, index, virtqueue_get_vring_size(vq)); in vp_active_vq()
Dvirtio_mmio.c426 writel(virtqueue_get_vring_size(vq), vm_dev->base + VIRTIO_MMIO_QUEUE_NUM); in vm_setup_vq()
Dvirtio_ring.c2979 unsigned int virtqueue_get_vring_size(const struct virtqueue *_vq) in virtqueue_get_vring_size() function
2986 EXPORT_SYMBOL_GPL(virtqueue_get_vring_size);
/linux-6.6.21/drivers/crypto/virtio/
Dvirtio_crypto_core.c149 virtqueue_get_vring_size(vqs[i])); in virtcrypto_find_vqs()
/linux-6.6.21/drivers/firmware/arm_scmi/
Dvirtio.c851 sz = virtqueue_get_vring_size(channels[i].vqueue); in scmi_vio_probe()
/linux-6.6.21/drivers/net/
Dvirtio_net.c2101 if (rq->vq->num_free > min((unsigned int)budget, virtqueue_get_vring_size(rq->vq)) / 2) { in virtnet_receive()
2870 ring->rx_pending = virtqueue_get_vring_size(vi->rq[0].vq); in virtnet_get_ringparam()
2871 ring->tx_pending = virtqueue_get_vring_size(vi->sq[0].vq); in virtnet_get_ringparam()
2891 rx_pending = virtqueue_get_vring_size(vi->rq[0].vq); in virtnet_set_ringparam()
2892 tx_pending = virtqueue_get_vring_size(vi->sq[0].vq); in virtnet_set_ringparam()
4086 unsigned int rq_size = virtqueue_get_vring_size(vq); in mergeable_min_buf_len()
/linux-6.6.21/drivers/scsi/
Dvirtio_scsi.c886 shost->can_queue = virtqueue_get_vring_size(vscsi->req_vqs[0].vq); in virtscsi_probe()
/linux-6.6.21/arch/um/drivers/
Dvirtio_uml.c966 num = virtqueue_get_vring_size(vq); in vu_setup_vq()
/linux-6.6.21/fs/fuse/
Dvirtio_fs.c1433 virtqueue_size = virtqueue_get_vring_size(fs->vqs[VQ_REQUEST].vq); in virtio_fs_get_tree()
/linux-6.6.21/drivers/s390/virtio/
Dvirtio_ccw.c554 info->num = virtqueue_get_vring_size(vq); in virtio_ccw_setup_vq()
/linux-6.6.21/drivers/net/wireless/virtual/
Dmac80211_hwsim.c6428 for (i = 0; i < virtqueue_get_vring_size(vq); i++) { in fill_vq()