Home
last modified time | relevance | path

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

/linux/drivers/net/caif/
H A 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/net/vmw_vsock/
H A Dvirtio_transport.c194 if (val + 1 == virtqueue_get_vring_size(rx_vq)) in virtio_transport_send_pkt_work()
296 if (new_cnt + cnt >= virtqueue_get_vring_size(rx_vq) && in virtio_transport_cancel_pkt()
297 new_cnt < virtqueue_get_vring_size(rx_vq)) in virtio_transport_cancel_pkt()
379 return val < virtqueue_get_vring_size(vq); in virtio_transport_more_replies()
/linux/drivers/rpmsg/
H A Dvirtio_rpmsg_bus.c904 WARN_ON(virtqueue_get_vring_size(vrp->rvq) != in rpmsg_probe()
905 virtqueue_get_vring_size(vrp->svq)); in rpmsg_probe()
908 if (virtqueue_get_vring_size(vrp->rvq) < MAX_RPMSG_NUM_BUFS / 2) in rpmsg_probe()
909 vrp->num_bufs = virtqueue_get_vring_size(vrp->rvq) * 2; in rpmsg_probe()
/linux/include/linux/
H A Dvirtio.h102 unsigned int virtqueue_get_vring_size(const struct virtqueue *vq);
/linux/sound/virtio/
H A Dvirtio_card.c140 n = virtqueue_get_vring_size(vqs[VIRTIO_SND_VQ_EVENT]); in virtsnd_find_vqs()
/linux/drivers/virtio/
H A Dvirtio_balloon.c985 if (virtqueue_get_vring_size(vb->free_page_vq) < 2) { in virtballoon_probe()
1044 capacity = virtqueue_get_vring_size(vb->reporting_vq); in virtballoon_probe()
H A Dvirtio_input.c210 size = virtqueue_get_vring_size(vi->evt); in virtinput_fill_evt()
H A Dvirtio_mmio.c426 writel(virtqueue_get_vring_size(vq), vm_dev->base + VIRTIO_MMIO_QUEUE_NUM); in vm_setup_vq()
H A Dvirtio_ring.c3001 unsigned int virtqueue_get_vring_size(const struct virtqueue *_vq) in virtqueue_get_vring_size() function
3008 EXPORT_SYMBOL_GPL(virtqueue_get_vring_size);
/linux/drivers/crypto/virtio/
H A Dvirtio_crypto_core.c143 virtqueue_get_vring_size(vqs[i])); in virtcrypto_find_vqs()
/linux/drivers/firmware/arm_scmi/transports/
H A Dvirtio.c854 sz = virtqueue_get_vring_size(channels[i].vqueue); in scmi_vio_probe()
/linux/drivers/net/
H A Dvirtio_net.c2913 if (rq->vq->num_free > min((unsigned int)budget, virtqueue_get_vring_size(rq->vq)) / 2) { in virtnet_receive()
3984 ring->rx_pending = virtqueue_get_vring_size(vi->rq[0].vq); in virtnet_get_ringparam()
3985 ring->tx_pending = virtqueue_get_vring_size(vi->sq[0].vq); in virtnet_get_ringparam()
4002 rx_pending = virtqueue_get_vring_size(vi->rq[0].vq); in virtnet_set_ringparam()
4003 tx_pending = virtqueue_get_vring_size(vi->sq[0].vq); in virtnet_set_ringparam()
5797 size = virtqueue_get_vring_size(rq->vq); in virtnet_xsk_pool_enable()
6286 unsigned int rq_size = virtqueue_get_vring_size(vq); in mergeable_min_buf_len()
/linux/drivers/scsi/
H A Dvirtio_scsi.c946 shost->can_queue = virtqueue_get_vring_size(vscsi->req_vqs[0].vq); in virtscsi_probe()
/linux/arch/um/drivers/
H A Dvirtio_uml.c982 num = virtqueue_get_vring_size(vq); in vu_setup_vq()
/linux/drivers/net/wireless/virtual/
H A Dmac80211_hwsim.c6644 for (i = 0; i < virtqueue_get_vring_size(vq); i++) { in fill_vq()