Home
last modified time | relevance | path

Searched refs:prealloc_sg (Results 1 – 3 of 3) sorted by relevance

/linux/net/ceph/
H A Dcrypto.c206 static int setup_sgtable(struct sg_table *sgt, struct scatterlist *prealloc_sg, in setup_sgtable() argument
233 sg_init_table(prealloc_sg, 1); in setup_sgtable()
234 sgt->sgl = prealloc_sg; in setup_sgtable()
269 struct scatterlist prealloc_sg; in ceph_aes_crypt() local
278 ret = setup_sgtable(&sgt, &prealloc_sg, buf, crypt_len); in ceph_aes_crypt()
332 struct scatterlist prealloc_sg; in ceph_krb5_encrypt() local
338 ret = setup_sgtable(&sgt, &prealloc_sg, buf, buf_len); in ceph_krb5_encrypt()
362 struct scatterlist prealloc_sg; in ceph_krb5_decrypt() local
370 ret = setup_sgtable(&sgt, &prealloc_sg, buf, in_len); in ceph_krb5_decrypt()
/linux/drivers/memstick/core/
H A Dms_block.h192 struct scatterlist prealloc_sg[MS_BLOCK_MAX_SEGS+1]; member
H A Dms_block.c1880 struct scatterlist *sg = msb->prealloc_sg; in msb_io_work()
2123 sg_init_table(msb->prealloc_sg, MS_BLOCK_MAX_SEGS+1); in msb_init_disk()
2234 sg_init_table(msb->prealloc_sg, MS_BLOCK_MAX_SEGS+1); in msb_resume()