Lines Matching refs:req
123 struct acomp_req *req;
125 req = __acomp_request_alloc(acomp);
126 if (req && (tfm->__crt_alg->cra_type != &crypto_acomp_type))
127 return crypto_acomp_scomp_alloc_ctx(req);
129 return req;
133 void acomp_request_free(struct acomp_req *req)
135 struct crypto_acomp *acomp = crypto_acomp_reqtfm(req);
139 crypto_acomp_scomp_free_ctx(req);
141 if (req->flags & CRYPTO_ACOMP_ALLOC_OUTPUT) {
142 acomp->dst_free(req->dst);
143 req->dst = NULL;
146 __acomp_request_free(req);