Lines Matching refs:tvq
557 struct vhost_virtqueue *tvq, in vhost_net_busy_poll() argument
564 struct vhost_virtqueue *vq = poll_rx ? tvq : rvq; in vhost_net_busy_poll()
577 tvq->busyloop_timeout; in vhost_net_busy_poll()
590 !vhost_vq_avail_empty(&net->dev, tvq)) in vhost_net_busy_poll()
614 struct vhost_virtqueue *tvq = &tnvq->vq; in vhost_net_tx_get_vq_desc() local
616 int r = vhost_get_vq_desc_n(tvq, tvq->iov, ARRAY_SIZE(tvq->iov), in vhost_net_tx_get_vq_desc()
619 if (r == tvq->num && tvq->busyloop_timeout) { in vhost_net_tx_get_vq_desc()
621 if (!vhost_sock_zcopy(vhost_vq_get_backend(tvq))) in vhost_net_tx_get_vq_desc()
623 vhost_vq_get_backend(tvq), in vhost_net_tx_get_vq_desc()
626 vhost_net_busy_poll(net, rvq, tvq, busyloop_intr, false); in vhost_net_tx_get_vq_desc()
628 r = vhost_get_vq_desc_n(tvq, tvq->iov, ARRAY_SIZE(tvq->iov), in vhost_net_tx_get_vq_desc()
1036 struct vhost_virtqueue *tvq = &tnvq->vq; in vhost_net_rx_peek_head_len() local
1044 vhost_net_busy_poll(net, rvq, tvq, busyloop_intr, true); in vhost_net_rx_peek_head_len()