Searched refs:prealloc_sg (Results 1 – 3 of 3) sorted by relevance
/linux-4.1.27/net/ceph/ |
D | crypto.c | 105 static int setup_sgtable(struct sg_table *sgt, struct scatterlist *prealloc_sg, in setup_sgtable() argument 132 sg_init_table(prealloc_sg, 1); in setup_sgtable() 133 sgt->sgl = prealloc_sg; in setup_sgtable() 167 struct scatterlist sg_in[2], prealloc_sg; in ceph_aes_encrypt() local 187 ret = setup_sgtable(&sg_out, &prealloc_sg, dst, *dst_len); in ceph_aes_encrypt() 227 struct scatterlist sg_in[3], prealloc_sg; in ceph_aes_encrypt2() local 248 ret = setup_sgtable(&sg_out, &prealloc_sg, dst, *dst_len); in ceph_aes_encrypt2() 290 struct scatterlist sg_out[2], prealloc_sg; in ceph_aes_decrypt() local 305 ret = setup_sgtable(&sg_in, &prealloc_sg, src, src_len); in ceph_aes_decrypt() 355 struct scatterlist sg_out[3], prealloc_sg; in ceph_aes_decrypt2() local [all …]
|
/linux-4.1.27/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()
|