Searched refs:sgs (Results 1 – 3 of 3) sorted by relevance
/net/9p/ |
D | trans_virtio.c | 262 struct scatterlist *sgs[2]; in p9_virtio_request() local 275 sgs[out_sgs++] = chan->sg; in p9_virtio_request() 280 sgs[out_sgs + in_sgs++] = chan->sg + out; in p9_virtio_request() 282 err = virtqueue_add_sgs(chan->vq, sgs, out_sgs, in_sgs, req, in p9_virtio_request() 401 struct scatterlist *sgs[4]; in p9_virtio_zc_request() local 453 sgs[out_sgs++] = chan->sg; in p9_virtio_zc_request() 456 sgs[out_sgs++] = chan->sg + out; in p9_virtio_zc_request() 471 sgs[out_sgs + in_sgs++] = chan->sg + out; in p9_virtio_zc_request() 474 sgs[out_sgs + in_sgs++] = chan->sg + out + in; in p9_virtio_zc_request() 479 BUG_ON(out_sgs + in_sgs > ARRAY_SIZE(sgs)); in p9_virtio_zc_request() [all …]
|
/net/vmw_vsock/ |
D | virtio_transport.c | 105 struct scatterlist hdr, buf, *sgs[2]; in virtio_transport_send_pkt_work() local 125 sgs[out_sg++] = &hdr; in virtio_transport_send_pkt_work() 128 sgs[out_sg++] = &buf; in virtio_transport_send_pkt_work() 131 ret = virtqueue_add_sgs(vq, sgs, out_sg, in_sg, pkt, GFP_KERNEL); in virtio_transport_send_pkt_work() 251 struct scatterlist hdr, buf, *sgs[2]; in virtio_vsock_rx_fill() local 272 sgs[0] = &hdr; in virtio_vsock_rx_fill() 275 sgs[1] = &buf; in virtio_vsock_rx_fill() 276 ret = virtqueue_add_sgs(vq, sgs, 0, 2, pkt, GFP_KERNEL); in virtio_vsock_rx_fill()
|
/net/ceph/ |
D | messenger_v2.c | 1033 struct scatterlist sgs[2]; in decrypt_control_remainder() local 1038 sg_init_table(sgs, 2); in decrypt_control_remainder() 1039 sg_set_buf(&sgs[0], con->v2.in_kvecs[0].iov_base, rem_len); in decrypt_control_remainder() 1040 sg_set_buf(&sgs[1], con->v2.in_buf, pt_len); in decrypt_control_remainder() 1042 return gcm_crypt(con, false, sgs, sgs, in decrypt_control_remainder() 1182 struct scatterlist sgs[2]; in prepare_head_secure_big() local 1185 sg_init_table(sgs, 2); in prepare_head_secure_big() 1186 sg_set_buf(&sgs[0], base, rem - base); in prepare_head_secure_big() 1187 sg_set_buf(&sgs[1], pmbl_tag, CEPH_GCM_TAG_LEN); in prepare_head_secure_big() 1188 ret = gcm_crypt(con, true, sgs, sgs, rem - base); in prepare_head_secure_big() [all …]
|