Home
last modified time | relevance | path

Searched refs:out_sgs (Results 1 – 6 of 6) sorted by relevance

/Linux-v5.4/net/9p/
Dtrans_virtio.c254 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()
[all …]
/Linux-v5.4/drivers/virtio/
Dvirtio_ring.c418 unsigned int out_sgs, in virtqueue_add_split() argument
473 if (out_sgs) in virtqueue_add_split()
481 for (n = 0; n < out_sgs; n++) { in virtqueue_add_split()
494 for (; n < (out_sgs + in_sgs); n++) { in virtqueue_add_split()
982 unsigned int out_sgs, in virtqueue_add_indirect_packed() argument
1007 for (n = 0; n < out_sgs + in_sgs; n++) { in virtqueue_add_indirect_packed()
1009 addr = vring_map_one_sg(vq, sg, n < out_sgs ? in virtqueue_add_indirect_packed()
1014 desc[i].flags = cpu_to_le16(n < out_sgs ? in virtqueue_add_indirect_packed()
1094 unsigned int out_sgs, in virtqueue_add_packed() argument
1123 out_sgs, in_sgs, data, gfp); in virtqueue_add_packed()
[all …]
/Linux-v5.4/fs/fuse/
Dvirtio_fs.c886 unsigned int out_sgs = 0; in virtio_fs_enqueue_req() local
911 sg_init_one(&sg[out_sgs++], &req->in.h, sizeof(req->in.h)); in virtio_fs_enqueue_req()
912 out_sgs += sg_init_fuse_args(&sg[out_sgs], req, in virtio_fs_enqueue_req()
919 sg_init_one(&sg[out_sgs + in_sgs++], in virtio_fs_enqueue_req()
921 in_sgs += sg_init_fuse_args(&sg[out_sgs + in_sgs], req, in virtio_fs_enqueue_req()
927 WARN_ON(out_sgs + in_sgs != total_sgs); in virtio_fs_enqueue_req()
941 ret = virtqueue_add_sgs(vq, sgs, out_sgs, in_sgs, req, GFP_ATOMIC); in virtio_fs_enqueue_req()
/Linux-v5.4/arch/powerpc/platforms/powernv/
Dopal-sensor-groups.c178 goto out_sgs; in opal_sensor_groups_init()
234 out_sgs: in opal_sensor_groups_init()
/Linux-v5.4/tools/virtio/linux/
Dvirtio.h31 unsigned int out_sgs,
/Linux-v5.4/include/linux/
Dvirtio.h56 unsigned int out_sgs,