Lines Matching refs:tvq
510 struct vhost_virtqueue *tvq, in vhost_net_busy_poll() argument
517 struct vhost_virtqueue *vq = poll_rx ? tvq : rvq; in vhost_net_busy_poll()
530 tvq->busyloop_timeout; in vhost_net_busy_poll()
543 !vhost_vq_avail_empty(&net->dev, tvq)) in vhost_net_busy_poll()
566 struct vhost_virtqueue *tvq = &tnvq->vq; in vhost_net_tx_get_vq_desc() local
568 int r = vhost_get_vq_desc(tvq, tvq->iov, ARRAY_SIZE(tvq->iov), in vhost_net_tx_get_vq_desc()
571 if (r == tvq->num && tvq->busyloop_timeout) { in vhost_net_tx_get_vq_desc()
573 if (!vhost_sock_zcopy(tvq->private_data)) in vhost_net_tx_get_vq_desc()
574 vhost_tx_batch(net, tnvq, tvq->private_data, msghdr); in vhost_net_tx_get_vq_desc()
576 vhost_net_busy_poll(net, rvq, tvq, busyloop_intr, false); in vhost_net_tx_get_vq_desc()
578 r = vhost_get_vq_desc(tvq, tvq->iov, ARRAY_SIZE(tvq->iov), in vhost_net_tx_get_vq_desc()
1001 struct vhost_virtqueue *tvq = &tnvq->vq; in vhost_net_rx_peek_head_len() local
1008 vhost_net_busy_poll(net, rvq, tvq, busyloop_intr, true); in vhost_net_rx_peek_head_len()