Searched refs:prealloc_sg (Results 1 - 6 of 6) sorted by relevance
/kernel/linux/linux-5.10/net/ceph/ |
H A D | crypto.c | 155 * @prealloc_sg is to avoid memory allocation inside sg_alloc_table() 160 static int setup_sgtable(struct sg_table *sgt, struct scatterlist *prealloc_sg, in setup_sgtable() argument 187 sg_init_table(prealloc_sg, 1); in setup_sgtable() 188 sgt->sgl = prealloc_sg; in setup_sgtable() 223 struct scatterlist prealloc_sg; in ceph_aes_crypt() local 232 ret = setup_sgtable(&sgt, &prealloc_sg, buf, crypt_len); in ceph_aes_crypt()
|
/kernel/linux/linux-6.6/net/ceph/ |
H A D | crypto.c | 156 * @prealloc_sg is to avoid memory allocation inside sg_alloc_table() 161 static int setup_sgtable(struct sg_table *sgt, struct scatterlist *prealloc_sg, in setup_sgtable() argument 188 sg_init_table(prealloc_sg, 1); in setup_sgtable() 189 sgt->sgl = prealloc_sg; in setup_sgtable() 224 struct scatterlist prealloc_sg; in ceph_aes_crypt() local 233 ret = setup_sgtable(&sgt, &prealloc_sg, buf, crypt_len); in ceph_aes_crypt()
|
/kernel/linux/linux-5.10/drivers/memstick/core/ |
H A D | ms_block.h | 193 struct scatterlist prealloc_sg[MS_BLOCK_MAX_SEGS+1]; member
|
H A D | ms_block.c | 1872 struct scatterlist *sg = msb->prealloc_sg; in msb_io_work() 2150 sg_init_table(msb->prealloc_sg, MS_BLOCK_MAX_SEGS+1); in msb_init_disk() 2256 sg_init_table(msb->prealloc_sg, MS_BLOCK_MAX_SEGS+1); in msb_resume()
|
/kernel/linux/linux-6.6/drivers/memstick/core/ |
H A D | ms_block.h | 192 struct scatterlist prealloc_sg[MS_BLOCK_MAX_SEGS+1]; member
|
H A D | ms_block.c | 1881 struct scatterlist *sg = msb->prealloc_sg; in msb_io_work() 2125 sg_init_table(msb->prealloc_sg, MS_BLOCK_MAX_SEGS+1); in msb_init_disk() 2236 sg_init_table(msb->prealloc_sg, MS_BLOCK_MAX_SEGS+1); in msb_resume()
|
Completed in 8 milliseconds