Lines Matching refs:vq
84 struct virtqueue *vq; member
143 static void req_done(struct virtqueue *vq) in req_done() argument
145 struct virtio_chan *chan = vq->vdev->priv; in req_done()
155 rc = virtqueue_get_buf(chan->vq, &len); in req_done()
276 err = virtqueue_add_buf(chan->vq, chan->sg, out, in, req->tc, in p9_virtio_request()
296 virtqueue_kick(chan->vq); in p9_virtio_request()
419 err = virtqueue_add_buf(chan->vq, chan->sg, out, in, req->tc, in p9_virtio_zc_request()
440 virtqueue_kick(chan->vq); in p9_virtio_zc_request()
505 chan->vq = virtio_find_single_vq(vdev, req_done, "requests"); in p9_virtio_probe()
506 if (IS_ERR(chan->vq)) { in p9_virtio_probe()
507 err = PTR_ERR(chan->vq); in p9_virtio_probe()
510 chan->vq->vdev->priv = chan; in p9_virtio_probe()