Lines Matching refs:tfm
46 struct crypto_comp *tfm = *per_cpu_ptr(ipcd->tfms, cpu); in ipcomp_decompress() local
47 int err = crypto_comp_decompress(tfm, start, plen, scratch, &dlen); in ipcomp_decompress()
140 struct crypto_comp *tfm; in ipcomp_compress() local
146 tfm = *this_cpu_ptr(ipcd->tfms); in ipcomp_compress()
147 err = crypto_comp_compress(tfm, start, plen, scratch, &dlen); in ipcomp_compress()
266 struct crypto_comp *tfm = *per_cpu_ptr(tfms, cpu); in ipcomp_free_tfms() local
267 crypto_free_comp(tfm); in ipcomp_free_tfms()
280 struct crypto_comp *tfm; in ipcomp_alloc_tfms() local
283 tfm = this_cpu_read(*pos->tfms); in ipcomp_alloc_tfms()
285 if (!strcmp(crypto_comp_name(tfm), alg_name)) { in ipcomp_alloc_tfms()
304 struct crypto_comp *tfm = crypto_alloc_comp(alg_name, 0, in ipcomp_alloc_tfms() local
306 if (IS_ERR(tfm)) in ipcomp_alloc_tfms()
308 *per_cpu_ptr(tfms, cpu) = tfm; in ipcomp_alloc_tfms()