Searched refs:virtqueue_get_vring_size (Results 1 – 19 of 19) sorted by relevance
198 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()
138 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()
902 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()
92 unsigned int virtqueue_get_vring_size(const struct virtqueue *vq);
142 n = virtqueue_get_vring_size(vqs[VIRTIO_SND_VQ_EVENT]); in virtsnd_find_vqs()
904 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()
209 size = virtqueue_get_vring_size(vi->evt); in virtinput_fill_evt()
220 ops->set_vq_num(vdpa, index, virtqueue_get_vring_size(vq)); in virtio_vdpa_setup_vq()
191 vp_modern_set_queue_size(mdev, index, virtqueue_get_vring_size(vq)); in vp_active_vq()
426 writel(virtqueue_get_vring_size(vq), vm_dev->base + VIRTIO_MMIO_QUEUE_NUM); in vm_setup_vq()
2979 unsigned int virtqueue_get_vring_size(const struct virtqueue *_vq) in virtqueue_get_vring_size() function2986 EXPORT_SYMBOL_GPL(virtqueue_get_vring_size);
149 virtqueue_get_vring_size(vqs[i])); in virtcrypto_find_vqs()
851 sz = virtqueue_get_vring_size(channels[i].vqueue); in scmi_vio_probe()
2101 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()
886 shost->can_queue = virtqueue_get_vring_size(vscsi->req_vqs[0].vq); in virtscsi_probe()
966 num = virtqueue_get_vring_size(vq); in vu_setup_vq()
1433 virtqueue_size = virtqueue_get_vring_size(fs->vqs[VQ_REQUEST].vq); in virtio_fs_get_tree()
554 info->num = virtqueue_get_vring_size(vq); in virtio_ccw_setup_vq()
6428 for (i = 0; i < virtqueue_get_vring_size(vq); i++) { in fill_vq()