Searched refs:rvq (Results 1 – 3 of 3) sorted by relevance
/linux/drivers/rpmsg/ |
H A D | virtio_rpmsg_bus.c | 58 struct virtqueue *rvq, *svq; member 768 err = virtqueue_add_inbuf(vrp->rvq, &sg, 1, msg, GFP_KERNEL); in rpmsg_recv_single() 778 static void rpmsg_recv_done(struct virtqueue *rvq) in rpmsg_recv_done() argument 780 struct virtproc_info *vrp = rvq->vdev->priv; in rpmsg_recv_done() 781 struct device *dev = &rvq->vdev->dev; in rpmsg_recv_done() 786 msg = virtqueue_get_buf(rvq, &len); in rpmsg_recv_done() 799 msg = virtqueue_get_buf(rvq, &len); in rpmsg_recv_done() 806 virtqueue_kick(vrp->rvq); in rpmsg_recv_done() 900 vrp->rvq = vqs[0]; in rpmsg_probe() 904 WARN_ON(virtqueue_get_vring_size(vrp->rvq) != in rpmsg_probe() [all …]
|
/linux/drivers/vhost/ |
H A D | net.c | 524 struct vhost_virtqueue *rvq, in vhost_net_busy_poll() argument 532 struct vhost_virtqueue *vq = poll_rx ? tvq : rvq; in vhost_net_busy_poll() 542 sock = vhost_vq_get_backend(rvq); in vhost_net_busy_poll() 544 busyloop_timeout = poll_rx ? rvq->busyloop_timeout: in vhost_net_busy_poll() 557 !vhost_vq_avail_empty(&net->dev, rvq)) || in vhost_net_busy_poll() 569 vhost_enable_notify(&net->dev, rvq); in vhost_net_busy_poll() 580 struct vhost_virtqueue *rvq = &rnvq->vq; in vhost_net_tx_get_vq_desc() local 593 vhost_net_busy_poll(net, rvq, tvq, busyloop_intr, false); in vhost_net_tx_get_vq_desc() 966 static int peek_head_len(struct vhost_net_virtqueue *rvq, struct sock *sk) in peek_head_len() argument 972 if (rvq->rx_ring) in peek_head_len() [all …]
|
/linux/drivers/net/ |
H A D | virtio_net.c | 2620 static void skb_recv_done(struct virtqueue *rvq) in skb_recv_done() argument 2622 struct virtnet_info *vi = rvq->vdev->priv; in skb_recv_done() 2623 struct receive_queue *rq = &vi->rq[vq2rxq(rvq)]; in skb_recv_done() 2626 virtqueue_napi_schedule(&rq->napi, rvq); in skb_recv_done()
|