Searched refs:out_sgs (Results 1 - 4 of 4) sorted by relevance

/linux-4.1.27/net/9p/
H A Dtrans_virtio.c264 int in, out, out_sgs, in_sgs; p9_virtio_request() local
275 out_sgs = in_sgs = 0; p9_virtio_request()
280 sgs[out_sgs++] = chan->sg; p9_virtio_request()
285 sgs[out_sgs + in_sgs++] = chan->sg + out; p9_virtio_request()
287 err = virtqueue_add_sgs(chan->vq, sgs, out_sgs, in_sgs, req->tc, p9_virtio_request()
400 int in, out, err, out_sgs, in_sgs; p9_virtio_zc_request() local
438 out_sgs = in_sgs = 0; p9_virtio_zc_request()
445 sgs[out_sgs++] = chan->sg; p9_virtio_zc_request()
448 sgs[out_sgs++] = chan->sg + out; p9_virtio_zc_request()
463 sgs[out_sgs + in_sgs++] = chan->sg + out; p9_virtio_zc_request()
466 sgs[out_sgs + in_sgs++] = chan->sg + out + in; p9_virtio_zc_request()
471 BUG_ON(out_sgs + in_sgs > ARRAY_SIZE(sgs)); p9_virtio_zc_request()
472 err = virtqueue_add_sgs(chan->vq, sgs, out_sgs, in_sgs, req->tc, p9_virtio_zc_request()
/linux-4.1.27/tools/virtio/linux/
H A Dvirtio.h32 unsigned int out_sgs,
/linux-4.1.27/drivers/virtio/
H A Dvirtio_ring.c126 unsigned int out_sgs, virtqueue_add()
197 if (out_sgs) virtqueue_add()
206 for (n = 0; n < out_sgs; n++) { virtqueue_add()
215 for (; n < (out_sgs + in_sgs); n++) { virtqueue_add()
274 unsigned int out_sgs, virtqueue_add_sgs()
282 for (i = 0; i < out_sgs + in_sgs; i++) { virtqueue_add_sgs()
287 return virtqueue_add(_vq, sgs, total_sg, out_sgs, in_sgs, data, gfp); virtqueue_add_sgs()
123 virtqueue_add(struct virtqueue *_vq, struct scatterlist *sgs[], unsigned int total_sg, unsigned int out_sgs, unsigned int in_sgs, void *data, gfp_t gfp) virtqueue_add() argument
272 virtqueue_add_sgs(struct virtqueue *_vq, struct scatterlist *sgs[], unsigned int out_sgs, unsigned int in_sgs, void *data, gfp_t gfp) virtqueue_add_sgs() argument
/linux-4.1.27/include/linux/
H A Dvirtio.h49 unsigned int out_sgs,

Completed in 138 milliseconds