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