Lines Matching refs:out_sgs
254 int in, out, out_sgs, in_sgs; in p9_virtio_request() local
265 out_sgs = in_sgs = 0; in p9_virtio_request()
270 sgs[out_sgs++] = chan->sg; in p9_virtio_request()
275 sgs[out_sgs + in_sgs++] = chan->sg + out; in p9_virtio_request()
277 err = virtqueue_add_sgs(chan->vq, sgs, out_sgs, in_sgs, req, in p9_virtio_request()
391 int in, out, err, out_sgs, in_sgs; in p9_virtio_zc_request() local
441 out_sgs = in_sgs = 0; in p9_virtio_zc_request()
448 sgs[out_sgs++] = chan->sg; in p9_virtio_zc_request()
451 sgs[out_sgs++] = chan->sg + out; in p9_virtio_zc_request()
466 sgs[out_sgs + in_sgs++] = chan->sg + out; in p9_virtio_zc_request()
469 sgs[out_sgs + in_sgs++] = chan->sg + out + in; in p9_virtio_zc_request()
474 BUG_ON(out_sgs + in_sgs > ARRAY_SIZE(sgs)); in p9_virtio_zc_request()
475 err = virtqueue_add_sgs(chan->vq, sgs, out_sgs, in_sgs, req, in p9_virtio_zc_request()