Home
last modified time | relevance | path

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

/Linux-v6.6/net/9p/
Dtrans_virtio.c258 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()
[all …]
/Linux-v6.6/tools/testing/selftests/bpf/progs/
Dloop6.c70 unsigned int out_sgs, unsigned int in_sgs) in BPF_KPROBE() argument
79 for (i = 0; (i < VIRTIO_MAX_SGS) && (i < out_sgs); i++) { in BPF_KPROBE()
80 __sink(out_sgs); in BPF_KPROBE()
/Linux-v6.6/sound/virtio/
Dvirtio_ctl_msg.c122 struct scatterlist *out_sgs, in virtsnd_ctl_msg_send() argument
143 if (out_sgs) in virtsnd_ctl_msg_send()
144 psgs[nouts++] = out_sgs; in virtsnd_ctl_msg_send()
Dvirtio_ctl_msg.h27 struct scatterlist *out_sgs,
/Linux-v6.6/drivers/virtio/
Dvirtio_ring.c547 unsigned int out_sgs, in virtqueue_add_split() argument
602 if (out_sgs) in virtqueue_add_split()
610 for (n = 0; n < out_sgs; n++) { in virtqueue_add_split()
626 for (; n < (out_sgs + in_sgs); n++) { in virtqueue_add_split()
1286 unsigned int out_sgs, in virtqueue_add_indirect_packed() argument
1313 for (n = 0; n < out_sgs + in_sgs; n++) { in virtqueue_add_indirect_packed()
1315 if (vring_map_one_sg(vq, sg, n < out_sgs ? in virtqueue_add_indirect_packed()
1319 desc[i].flags = cpu_to_le16(n < out_sgs ? in virtqueue_add_indirect_packed()
1404 unsigned int out_sgs, in virtqueue_add_packed() argument
1433 err = virtqueue_add_indirect_packed(vq, sgs, total_sg, out_sgs, in virtqueue_add_packed()
[all …]
/Linux-v6.6/arch/powerpc/platforms/powernv/
Dopal-sensor-groups.c178 goto out_sgs; in opal_sensor_groups_init()
236 out_sgs: in opal_sensor_groups_init()
/Linux-v6.6/fs/fuse/
Dvirtio_fs.c1132 unsigned int out_sgs = 0; in virtio_fs_enqueue_req() local
1157 sg_init_one(&sg[out_sgs++], &req->in.h, sizeof(req->in.h)); in virtio_fs_enqueue_req()
1158 out_sgs += sg_init_fuse_args(&sg[out_sgs], req, in virtio_fs_enqueue_req()
1165 sg_init_one(&sg[out_sgs + in_sgs++], in virtio_fs_enqueue_req()
1167 in_sgs += sg_init_fuse_args(&sg[out_sgs + in_sgs], req, in virtio_fs_enqueue_req()
1173 WARN_ON(out_sgs + in_sgs != total_sgs); in virtio_fs_enqueue_req()
1187 ret = virtqueue_add_sgs(vq, sgs, out_sgs, in_sgs, req, GFP_ATOMIC); in virtio_fs_enqueue_req()
/Linux-v6.6/tools/virtio/linux/
Dvirtio.h35 unsigned int out_sgs,
/Linux-v6.6/drivers/crypto/virtio/
Dvirtio_crypto_common.h149 unsigned int out_sgs, unsigned int in_sgs,
Dvirtio_crypto_core.c52 unsigned int out_sgs, unsigned int in_sgs, in virtio_crypto_ctrl_vq_request() argument
61 err = virtqueue_add_sgs(vcrypto->ctrl_vq, sgs, out_sgs, in_sgs, vc_ctrl_req, GFP_ATOMIC); in virtio_crypto_ctrl_vq_request()
/Linux-v6.6/include/linux/
Dvirtio.h60 unsigned int out_sgs,