Home
last modified time | relevance | path

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

/linux/crypto/
H A Dtestmgr.c557 static int init_test_sglist(struct test_sglist *tsgl) in init_test_sglist() argument
559 return __testmgr_alloc_buf(tsgl->bufs, 1 /* two pages per buffer */); in init_test_sglist()
562 static void destroy_test_sglist(struct test_sglist *tsgl) in destroy_test_sglist() argument
564 return __testmgr_free_buf(tsgl->bufs, 1 /* two pages per buffer */); in destroy_test_sglist()
585 static int build_test_sglist(struct test_sglist *tsgl, in build_test_sglist() argument
600 BUILD_BUG_ON(ARRAY_SIZE(partitions) != ARRAY_SIZE(tsgl->sgl)); in build_test_sglist()
605 tsgl->nents = 0; in build_test_sglist()
613 partitions[tsgl->nents].div = &divs[i]; in build_test_sglist()
614 partitions[tsgl->nents].length = len_this_sg; in build_test_sglist()
615 tsgl->nents++; in build_test_sglist()
[all …]
H A Dalgif_skcipher.c144 areq->tsgl = sock_kmalloc(sk, array_size(sizeof(*areq->tsgl), in _skcipher_recvmsg()
147 if (!areq->tsgl) { in _skcipher_recvmsg()
151 sg_init_table(areq->tsgl, areq->tsgl_entries); in _skcipher_recvmsg()
152 af_alg_pull_tsgl(sk, len, areq->tsgl, 0); in _skcipher_recvmsg()
156 skcipher_request_set_crypt(&areq->cra_u.skcipher_req, areq->tsgl, in _skcipher_recvmsg()
/linux/include/crypto/
H A Dif_alg.h102 struct scatterlist *tsgl; member