Lines Matching refs:out_sgs
258 int in, out, out_sgs, in_sgs; in p9_virtio_request() local
269 out_sgs = in_sgs = 0; in p9_virtio_request()
274 sgs[out_sgs++] = chan->sg; in p9_virtio_request()
279 sgs[out_sgs + in_sgs++] = chan->sg + out; in p9_virtio_request()
281 err = virtqueue_add_sgs(chan->vq, sgs, out_sgs, in_sgs, req, in p9_virtio_request()
425 int in, out, err, out_sgs, in_sgs; in p9_virtio_zc_request() local
475 out_sgs = in_sgs = 0; in p9_virtio_zc_request()
482 sgs[out_sgs++] = chan->sg; in p9_virtio_zc_request()
485 sgs[out_sgs++] = chan->sg + out; in p9_virtio_zc_request()
500 sgs[out_sgs + in_sgs++] = chan->sg + out; in p9_virtio_zc_request()
503 sgs[out_sgs + in_sgs++] = chan->sg + out + in; in p9_virtio_zc_request()
508 BUG_ON(out_sgs + in_sgs > ARRAY_SIZE(sgs)); in p9_virtio_zc_request()
509 err = virtqueue_add_sgs(chan->vq, sgs, out_sgs, in_sgs, req, in p9_virtio_zc_request()