Searched refs:virtqueue_get_vring_size (Results 1 – 15 of 15) 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()
194 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()
904 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()
102 unsigned int virtqueue_get_vring_size(const struct virtqueue *vq);
140 n = virtqueue_get_vring_size(vqs[VIRTIO_SND_VQ_EVENT]); in virtsnd_find_vqs()
985 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()
210 size = virtqueue_get_vring_size(vi->evt); in virtinput_fill_evt()
426 writel(virtqueue_get_vring_size(vq), vm_dev->base + VIRTIO_MMIO_QUEUE_NUM); in vm_setup_vq()
3001 unsigned int virtqueue_get_vring_size(const struct virtqueue *_vq) in virtqueue_get_vring_size() function3008 EXPORT_SYMBOL_GPL(virtqueue_get_vring_size);
143 virtqueue_get_vring_size(vqs[i])); in virtcrypto_find_vqs()
854 sz = virtqueue_get_vring_size(channels[i].vqueue); in scmi_vio_probe()
2913 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()
946 shost->can_queue = virtqueue_get_vring_size(vscsi->req_vqs[0].vq); in virtscsi_probe()
982 num = virtqueue_get_vring_size(vq); in vu_setup_vq()
6644 for (i = 0; i < virtqueue_get_vring_size(vq); i++) { in fill_vq()