Lines Matching defs:sgs
257 struct scatterlist *sgs[2];
270 sgs[out_sgs++] = chan->sg;
275 sgs[out_sgs + in_sgs++] = chan->sg + out;
277 err = virtqueue_add_sgs(chan->vq, sgs, out_sgs, in_sgs, req,
396 struct scatterlist *sgs[4];
448 sgs[out_sgs++] = chan->sg;
451 sgs[out_sgs++] = chan->sg + out;
466 sgs[out_sgs + in_sgs++] = chan->sg + out;
469 sgs[out_sgs + in_sgs++] = chan->sg + out + in;
474 BUG_ON(out_sgs + in_sgs > ARRAY_SIZE(sgs));
475 err = virtqueue_add_sgs(chan->vq, sgs, out_sgs, in_sgs, req,