Searched refs:prealloc_sg (Results 1 – 2 of 2) sorted by relevance
144 * @prealloc_sg is to avoid memory allocation inside sg_alloc_table()149 static int setup_sgtable(struct sg_table *sgt, struct scatterlist *prealloc_sg, in setup_sgtable() argument 176 sg_init_table(prealloc_sg, 1); in setup_sgtable() 177 sgt->sgl = prealloc_sg; in setup_sgtable() 212 struct scatterlist prealloc_sg; in ceph_aes_crypt() local 221 ret = setup_sgtable(&sgt, &prealloc_sg, buf, crypt_len); in ceph_aes_crypt()
192 struct scatterlist prealloc_sg[MS_BLOCK_MAX_SEGS+1]; member