Lines Matching refs:scatterlist

13 #include <linux/scatterlist.h>
113 * spu_skcipher_rx_sg_create() - Build up the scatterlist of buffers used to
118 * @rx_frag_num: number of scatterlist elements required to hold the
124 * The scatterlist that gets allocated here is freed in spu_chunk_cleanup()
139 struct scatterlist *sg; /* used to build sgs in mbox message */
143 mssg->spu.dst = kcalloc(rx_frag_num, sizeof(struct scatterlist),
178 * spu_skcipher_tx_sg_create() - Build up the scatterlist of buffers used to
183 * @tx_frag_num: number of scatterlist elements required to construct the
188 * The scatterlist that gets allocated here is freed in spu_chunk_cleanup()
202 struct scatterlist *sg; /* used to build sgs in mbox message */
207 mssg->spu.src = kcalloc(tx_frag_num, sizeof(struct scatterlist),
432 /* Create rx scatterlist to catch result */
444 /* Create tx scatterlist containing SPU request message */
506 * spu_ahash_rx_sg_create() - Build up the scatterlist of buffers used to
510 * @rx_frag_num: number of scatterlist elements required to hold the
516 * The scatterlist that gets allocated here is freed in spu_chunk_cleanup()
531 struct scatterlist *sg; /* used to build sgs in mbox message */
534 mssg->spu.dst = kcalloc(rx_frag_num, sizeof(struct scatterlist),
556 * spu_ahash_tx_sg_create() - Build up the scatterlist of buffers used to send
561 * @tx_frag_num: number of scatterlist elements required to construct the
568 * The scatterlist that gets allocated here is freed in spu_chunk_cleanup()
585 struct scatterlist *sg; /* used to build sgs in mbox message */
589 mssg->spu.src = kcalloc(tx_frag_num, sizeof(struct scatterlist),
633 * constructed as a scatterlist, including entries from the crypto API's
634 * src scatterlist to avoid copying the data to be hashed. This function is
864 /* Create rx scatterlist to catch result */
870 /* Create tx scatterlist containing SPU request message */
1017 * spu_aead_rx_sg_create() - Build up the scatterlist of buffers used to receive
1023 * @rx_frag_num: number of scatterlist elements required to hold the
1033 * The scatterlist that gets allocated here is freed in spu_chunk_cleanup()
1050 struct scatterlist *sg; /* used to build sgs in mbox message */
1079 mssg->spu.dst = kcalloc(rx_frag_num, sizeof(struct scatterlist),
1135 * spu_aead_tx_sg_create() - Build up the scatterlist of buffers used to send a
1140 * @tx_frag_num: number of scatterlist elements required to construct the
1143 * @assoc: crypto API associated data scatterlist
1145 * @assoc_nents: number of scatterlist entries containing assoc data
1153 * The scatterlist that gets allocated here is freed in spu_chunk_cleanup()
1165 struct scatterlist *assoc,
1173 struct scatterlist *sg; /* used to build sgs in mbox message */
1174 struct scatterlist *assoc_sg = assoc;
1181 mssg->spu.src = kcalloc(tx_frag_num, sizeof(struct scatterlist),
1419 /* Copy ICV from end of src scatterlist to digest buf */
1471 /* Create rx scatterlist to catch result */
1501 /* Create tx scatterlist containing SPU request message */
1919 /* Initialize position in src scatterlist */
2109 /* Copy data from req scatterlist to tmp buffer */
2205 /* Copy data from req scatterlist to tmp buffer */
2631 * Init current position in src scatterlist to be after assoc data.