Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/net/
Dvirtio_net.c55 struct virtqueue *rvq, *svq, *cvq; member
237 page = virtqueue_get_buf(vi->rvq, &len); in receive_mergeable()
373 err = virtqueue_add_buf(vi->rvq, vi->rx_sg, 0, 2, skb, gfp); in add_recvbuf_small()
418 err = virtqueue_add_buf(vi->rvq, vi->rx_sg, 0, MAX_SKB_FRAGS + 2, in add_recvbuf_big()
437 err = virtqueue_add_buf(vi->rvq, vi->rx_sg, 0, 1, page, gfp); in add_recvbuf_mergeable()
471 virtqueue_kick(vi->rvq); in try_fill_recv()
475 static void skb_recv_done(struct virtqueue *rvq) in skb_recv_done() argument
477 struct virtnet_info *vi = rvq->vdev->priv; in skb_recv_done()
480 virtqueue_disable_cb(rvq); in skb_recv_done()
494 virtqueue_disable_cb(vi->rvq); in virtnet_napi_enable()
[all …]
/linux-3.4.99/drivers/rpmsg/
Dvirtio_rpmsg_bus.c61 struct virtqueue *rvq, *svq; member
788 static void rpmsg_recv_done(struct virtqueue *rvq) in rpmsg_recv_done() argument
794 struct virtproc_info *vrp = rvq->vdev->priv; in rpmsg_recv_done()
795 struct device *dev = &rvq->vdev->dev; in rpmsg_recv_done()
798 msg = virtqueue_get_buf(rvq, &len); in rpmsg_recv_done()
850 err = virtqueue_add_buf(vrp->rvq, &sg, 0, 1, msg, GFP_KERNEL); in rpmsg_recv_done()
857 virtqueue_kick(vrp->rvq); in rpmsg_recv_done()
955 vrp->rvq = vqs[0]; in rpmsg_probe()
980 err = virtqueue_add_buf(vrp->rvq, &sg, 0, 1, cpu_addr, in rpmsg_probe()
1003 virtqueue_kick(vrp->rvq); in rpmsg_probe()