Searched refs:prealloc_sg (Results 1 – 3 of 3) sorted by relevance
/linux-4.4.14/net/ceph/ |
D | crypto.c | 101 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/ |
D | ms_block.h | 196 struct scatterlist prealloc_sg[MS_BLOCK_MAX_SEGS+1]; member
|
D | ms_block.c | 1876 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()
|