Lines Matching refs:tsg
67 struct scatterlist *tsg; member
87 sgl = sreq->tsg; in skcipher_free_async_sgls()
92 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()
536 sg_init_table(sreq->tsg, tx_nents); in skcipher_recvmsg_async()
574 sg_set_page(&tmp[x], sg_page(&sreq->tsg[x]), in skcipher_recvmsg_async()
575 sreq->tsg[x].length, in skcipher_recvmsg_async()
576 sreq->tsg[x].offset); in skcipher_recvmsg_async()
577 kfree(sreq->tsg); in skcipher_recvmsg_async()
578 sreq->tsg = tmp; in skcipher_recvmsg_async()
584 sg_set_page(sreq->tsg + txbufs++, sg_page(sg), sg->length, in skcipher_recvmsg_async()
613 sg_mark_end(sreq->tsg + txbufs - 1); in skcipher_recvmsg_async()
615 skcipher_request_set_crypt(req, sreq->tsg, sreq->first_sgl.sgl.sg, in skcipher_recvmsg_async()