Lines Matching refs:sgs
261 struct scatterlist *sgs[2]; in p9_virtio_request() local
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()
430 struct scatterlist *sgs[4]; in p9_virtio_zc_request() local
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()