Lines Matching refs:tfm
50 struct crypto_comp *tfm = *per_cpu_ptr(ipcd->tfms, cpu); in ipcomp_decompress() local
51 int err = crypto_comp_decompress(tfm, start, plen, scratch, &dlen); in ipcomp_decompress()
144 struct crypto_comp *tfm; in ipcomp_compress() local
150 tfm = *this_cpu_ptr(ipcd->tfms); in ipcomp_compress()
151 err = crypto_comp_compress(tfm, start, plen, scratch, &dlen); in ipcomp_compress()
269 struct crypto_comp *tfm = *per_cpu_ptr(tfms, cpu); in ipcomp_free_tfms() local
270 crypto_free_comp(tfm); in ipcomp_free_tfms()
283 struct crypto_comp *tfm; in ipcomp_alloc_tfms() local
286 tfm = this_cpu_read(*pos->tfms); in ipcomp_alloc_tfms()
288 if (!strcmp(crypto_comp_name(tfm), alg_name)) { in ipcomp_alloc_tfms()
307 struct crypto_comp *tfm = crypto_alloc_comp(alg_name, 0, in ipcomp_alloc_tfms() local
309 if (IS_ERR(tfm)) in ipcomp_alloc_tfms()
311 *per_cpu_ptr(tfms, cpu) = tfm; in ipcomp_alloc_tfms()