Home
last modified time | relevance | path

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

/openbmc/linux/lib/
H A Dsg_split.c150 const size_t *split_sizes, in sg_split() argument
161 ret = sg_calculate_split(in, sg_nents(in), nb_splits, skip, split_sizes, in sg_split()
181 split_sizes, splitters, true); in sg_split()
/openbmc/linux/drivers/crypto/hisilicon/sec/
H A Dsec_algs.c548 static int sec_alg_alloc_and_calc_split_sizes(int length, size_t **split_sizes, in sec_alg_alloc_and_calc_split_sizes() argument
563 *split_sizes = sizes; in sec_alg_alloc_and_calc_split_sizes()
568 static int sec_map_and_split_sg(struct scatterlist *sgl, size_t *split_sizes, in sec_map_and_split_sg() argument
592 ret = sg_split(sgl, count, 0, steps, split_sizes, in sec_map_and_split_sg()
717 size_t *split_sizes; in sec_alg_skcipher_crypto() local
732 ret = sec_alg_alloc_and_calc_split_sizes(skreq->cryptlen, &split_sizes, in sec_alg_skcipher_crypto()
737 ret = sec_map_and_split_sg(skreq->src, split_sizes, steps, &splits_in, in sec_alg_skcipher_crypto()
745 ret = sec_map_and_split_sg(skreq->dst, split_sizes, steps, in sec_alg_skcipher_crypto()
775 split_sizes[i], in sec_alg_skcipher_crypto()
836 kfree(split_sizes); in sec_alg_skcipher_crypto()
[all …]
/openbmc/linux/include/linux/
H A Dscatterlist.h427 const size_t *split_sizes,