Home
last modified time | relevance | path

Searched refs:prealloc_sg (Results 1 – 3 of 3) sorted by relevance

/linux-4.4.14/net/ceph/
Dcrypto.c101 static int setup_sgtable(struct sg_table *sgt, struct scatterlist *prealloc_sg, in setup_sgtable() argument
128 sg_init_table(prealloc_sg, 1); in setup_sgtable()
129 sgt->sgl = prealloc_sg; in setup_sgtable()
163 struct scatterlist sg_in[2], prealloc_sg; in ceph_aes_encrypt() local
183 ret = setup_sgtable(&sg_out, &prealloc_sg, dst, *dst_len); in ceph_aes_encrypt()
223 struct scatterlist sg_in[3], prealloc_sg; in ceph_aes_encrypt2() local
244 ret = setup_sgtable(&sg_out, &prealloc_sg, dst, *dst_len); in ceph_aes_encrypt2()
286 struct scatterlist sg_out[2], prealloc_sg; in ceph_aes_decrypt() local
301 ret = setup_sgtable(&sg_in, &prealloc_sg, src, src_len); in ceph_aes_decrypt()
351 struct scatterlist sg_out[3], prealloc_sg; in ceph_aes_decrypt2() local
[all …]
/linux-4.4.14/drivers/memstick/core/
Dms_block.h196 struct scatterlist prealloc_sg[MS_BLOCK_MAX_SEGS+1]; member
Dms_block.c1876 struct scatterlist *sg = msb->prealloc_sg; in msb_io_work()
2160 sg_init_table(msb->prealloc_sg, MS_BLOCK_MAX_SEGS+1); in msb_init_disk()
2265 sg_init_table(msb->prealloc_sg, MS_BLOCK_MAX_SEGS+1); in msb_resume()