Home
last modified time | relevance | path

Searched refs:rvq (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/drivers/rpmsg/
Dvirtio_rpmsg_bus.c58 struct virtqueue *rvq, *svq; member
767 err = virtqueue_add_inbuf(vrp->rvq, &sg, 1, msg, GFP_KERNEL); in rpmsg_recv_single()
777 static void rpmsg_recv_done(struct virtqueue *rvq) in rpmsg_recv_done() argument
779 struct virtproc_info *vrp = rvq->vdev->priv; in rpmsg_recv_done()
780 struct device *dev = &rvq->vdev->dev; in rpmsg_recv_done()
785 msg = virtqueue_get_buf(rvq, &len); in rpmsg_recv_done()
798 msg = virtqueue_get_buf(rvq, &len); in rpmsg_recv_done()
805 virtqueue_kick(vrp->rvq); in rpmsg_recv_done()
897 vrp->rvq = vqs[0]; in rpmsg_probe()
901 WARN_ON(virtqueue_get_vring_size(vrp->rvq) != in rpmsg_probe()
[all …]
/linux-6.1.9/drivers/vhost/
Dnet.c521 struct vhost_virtqueue *rvq, in vhost_net_busy_poll() argument
529 struct vhost_virtqueue *vq = poll_rx ? tvq : rvq; in vhost_net_busy_poll()
539 sock = vhost_vq_get_backend(rvq); in vhost_net_busy_poll()
541 busyloop_timeout = poll_rx ? rvq->busyloop_timeout: in vhost_net_busy_poll()
554 !vhost_vq_avail_empty(&net->dev, rvq)) || in vhost_net_busy_poll()
566 vhost_enable_notify(&net->dev, rvq); in vhost_net_busy_poll()
577 struct vhost_virtqueue *rvq = &rnvq->vq; in vhost_net_tx_get_vq_desc() local
590 vhost_net_busy_poll(net, rvq, tvq, busyloop_intr, false); in vhost_net_tx_get_vq_desc()
988 static int peek_head_len(struct vhost_net_virtqueue *rvq, struct sock *sk) in peek_head_len() argument
994 if (rvq->rx_ring) in peek_head_len()
[all …]
/linux-6.1.9/drivers/net/
Dvirtio_net.c1475 static void skb_recv_done(struct virtqueue *rvq) in skb_recv_done() argument
1477 struct virtnet_info *vi = rvq->vdev->priv; in skb_recv_done()
1478 struct receive_queue *rq = &vi->rq[vq2rxq(rvq)]; in skb_recv_done()
1480 virtqueue_napi_schedule(&rq->napi, rvq); in skb_recv_done()