Searched refs:tsgl (Results 1 – 5 of 5) sorted by relevance
/openbmc/linux/crypto/ |
H A D | algif_aead.c | 101 struct af_alg_tsgl *tsgl, *tmp; in _aead_recvmsg() local 182 list_for_each_entry_safe(tsgl, tmp, &ctx->tsgl_list, list) { in _aead_recvmsg() 183 for (i = 0; i < tsgl->cur; i++) { in _aead_recvmsg() 184 struct scatterlist *process_sg = tsgl->sg + i; in _aead_recvmsg() 256 areq->tsgl = sock_kmalloc(sk, array_size(sizeof(*areq->tsgl), in _aead_recvmsg() 259 if (!areq->tsgl) { in _aead_recvmsg() 263 sg_init_table(areq->tsgl, areq->tsgl_entries); in _aead_recvmsg() 266 af_alg_pull_tsgl(sk, processed, areq->tsgl, processed - as); in _aead_recvmsg() 275 sg_chain(sg, sgl_prev->sgt.nents + 1, areq->tsgl); in _aead_recvmsg() 278 rsgl_src = areq->tsgl; in _aead_recvmsg()
|
H A D | testmgr.c | 623 sg_init_table(tsgl->sgl, tsgl->nents); in build_test_sglist() 659 sg_mark_end(&tsgl->sgl[tsgl->nents - 1]); in build_test_sglist() 660 tsgl->sgl_ptr = tsgl->sgl; in build_test_sglist() 661 memcpy(tsgl->sgl_saved, tsgl->sgl, tsgl->nents * sizeof(tsgl->sgl[0])); in build_test_sglist() 721 if (tsgl->sgl[i].offset != tsgl->sgl_saved[i].offset) in is_test_sglist_corrupted() 723 if (tsgl->sgl[i].length != tsgl->sgl_saved[i].length) in is_test_sglist_corrupted() 1941 tsgl = kmalloc(sizeof(*tsgl), GFP_KERNEL); in __alg_test_hash() 1942 if (!tsgl || init_test_sglist(tsgl) != 0) { in __alg_test_hash() 1945 kfree(tsgl); in __alg_test_hash() 1946 tsgl = NULL; in __alg_test_hash() [all …]
|
H A D | algif_skcipher.c | 95 areq->tsgl = sock_kmalloc(sk, array_size(sizeof(*areq->tsgl), in _skcipher_recvmsg() 98 if (!areq->tsgl) { in _skcipher_recvmsg() 102 sg_init_table(areq->tsgl, areq->tsgl_entries); in _skcipher_recvmsg() 103 af_alg_pull_tsgl(sk, len, areq->tsgl, 0); in _skcipher_recvmsg() 107 skcipher_request_set_crypt(&areq->cra_u.skcipher_req, areq->tsgl, in _skcipher_recvmsg()
|
H A D | af_alg.c | 775 struct scatterlist *tsgl; in af_alg_free_areq_sgls() local 787 tsgl = areq->tsgl; in af_alg_free_areq_sgls() 788 if (tsgl) { in af_alg_free_areq_sgls() 789 for_each_sg(tsgl, sg, areq->tsgl_entries, i) { in af_alg_free_areq_sgls() 795 sock_kfree_s(sk, tsgl, areq->tsgl_entries * sizeof(*tsgl)); in af_alg_free_areq_sgls() 1213 areq->tsgl = NULL; in af_alg_alloc_areq()
|
/openbmc/linux/include/crypto/ |
H A D | if_alg.h | 102 struct scatterlist *tsgl; member
|