Home
last modified time | relevance | path

Searched refs:tfms (Results 1 – 2 of 2) sorted by relevance

/net/xfrm/
Dxfrm_ipcomp.c29 struct crypto_comp * __percpu *tfms; member
45 struct crypto_comp *tfm = *this_cpu_ptr(ipcd->tfms); in ipcomp_decompress()
137 tfm = *this_cpu_ptr(ipcd->tfms); in ipcomp_compress()
235 static void ipcomp_free_tfms(struct crypto_comp * __percpu *tfms) in ipcomp_free_tfms() argument
241 if (pos->tfms == tfms) in ipcomp_free_tfms()
253 if (!tfms) in ipcomp_free_tfms()
257 struct crypto_comp *tfm = *per_cpu_ptr(tfms, cpu); in ipcomp_free_tfms()
260 free_percpu(tfms); in ipcomp_free_tfms()
266 struct crypto_comp * __percpu *tfms; in ipcomp_alloc_tfms() local
274 tfm = this_cpu_read(*pos->tfms); in ipcomp_alloc_tfms()
[all …]
/net/ipv6/
Dseg6_hmac.c130 tfm = *this_cpu_ptr(algo->tfms); in __do_hmac()
365 algo->tfms = alloc_percpu(struct crypto_shash *); in seg6_hmac_init_algo()
366 if (!algo->tfms) in seg6_hmac_init_algo()
373 p_tfm = per_cpu_ptr(algo->tfms, cpu); in seg6_hmac_init_algo()
377 p_tfm = raw_cpu_ptr(algo->tfms); in seg6_hmac_init_algo()
426 tfm = *per_cpu_ptr(algo->tfms, cpu); in seg6_hmac_exit()
429 free_percpu(algo->tfms); in seg6_hmac_exit()