Lines Matching refs:prealloc_sg
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
371 ret = setup_sgtable(&sg_in, &prealloc_sg, src, src_len); in ceph_aes_decrypt2()