Lines Matching refs:tsg
67 struct scatterlist *tsg; member
95 sgl = sreq->tsg; in skcipher_free_async_sgls()
100 kfree(sreq->tsg); in skcipher_free_async_sgls()
533 sreq->tsg = kcalloc(tx_nents, sizeof(*sg), GFP_KERNEL); in skcipher_recvmsg_async()
534 if (unlikely(!sreq->tsg)) { in skcipher_recvmsg_async()
538 sg_init_table(sreq->tsg, tx_nents); in skcipher_recvmsg_async()
576 sg_set_page(&tmp[x], sg_page(&sreq->tsg[x]), in skcipher_recvmsg_async()
577 sreq->tsg[x].length, in skcipher_recvmsg_async()
578 sreq->tsg[x].offset); in skcipher_recvmsg_async()
579 kfree(sreq->tsg); in skcipher_recvmsg_async()
580 sreq->tsg = tmp; in skcipher_recvmsg_async()
586 sg_set_page(sreq->tsg + txbufs++, sg_page(sg), sg->length, in skcipher_recvmsg_async()
615 sg_mark_end(sreq->tsg + txbufs - 1); in skcipher_recvmsg_async()
617 ablkcipher_request_set_crypt(req, sreq->tsg, sreq->first_sgl.sgl.sg, in skcipher_recvmsg_async()