Lines Matching refs:scomp
124 struct crypto_scomp *scomp = *tfm_ctx; in scomp_acomp_comp_decomp() local
143 ret = crypto_scomp_compress(scomp, scratch->src, req->slen, in scomp_acomp_comp_decomp()
146 ret = crypto_scomp_decompress(scomp, scratch->src, req->slen, in scomp_acomp_comp_decomp()
191 struct crypto_scomp *scomp; in crypto_init_scomp_ops_async() local
196 scomp = crypto_create_tfm(calg, &crypto_scomp_type); in crypto_init_scomp_ops_async()
197 if (IS_ERR(scomp)) { in crypto_init_scomp_ops_async()
199 return PTR_ERR(scomp); in crypto_init_scomp_ops_async()
202 *ctx = scomp; in crypto_init_scomp_ops_async()
218 struct crypto_scomp *scomp = *tfm_ctx; in crypto_acomp_scomp_alloc_ctx() local
221 ctx = crypto_scomp_alloc_ctx(scomp); in crypto_acomp_scomp_alloc_ctx()
237 struct crypto_scomp *scomp = *tfm_ctx; in crypto_acomp_scomp_free_ctx() local
241 crypto_scomp_free_ctx(scomp, ctx); in crypto_acomp_scomp_free_ctx()