Home
last modified time | relevance | path

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

/linux/net/xfrm/
H A Dxfrm_ipcomp.c29 struct crypto_comp * __percpu *tfms; member
45 struct crypto_comp *tfm = *this_cpu_ptr(ipcd->tfms); in ipcomp_decompress()
134 tfm = *this_cpu_ptr(ipcd->tfms); in ipcomp_compress()
232 static void ipcomp_free_tfms(struct crypto_comp * __percpu *tfms) in ipcomp_free_tfms() argument
238 if (pos->tfms == tfms) in ipcomp_free_tfms()
250 if (!tfms) in ipcomp_free_tfms()
254 struct crypto_comp *tfm = *per_cpu_ptr(tfms, cpu); in ipcomp_free_tfms()
257 free_percpu(tfms); in ipcomp_free_tfms()
263 struct crypto_comp * __percpu *tfms; in ipcomp_alloc_tfms() local
271 tfm = this_cpu_read(*pos->tfms); in ipcomp_alloc_tfms()
[all …]
/linux/arch/x86/boot/
H A Dcpuflags.c80 u32 tfms; in get_cpuflags() local
96 cpuid(0x1, &tfms, &ignored, &cpu.flags[4], in get_cpuflags()
98 cpu.level = (tfms >> 8) & 15; in get_cpuflags()
100 cpu.model = (tfms >> 4) & 15; in get_cpuflags()
102 cpu.model += ((tfms >> 16) & 0xf) << 4; in get_cpuflags()
/linux/net/ipv6/
H A Dseg6_hmac.c130 tfm = *this_cpu_ptr(algo->tfms); in __do_hmac()
368 algo->tfms = alloc_percpu(struct crypto_shash *); in seg6_hmac_init_algo()
369 if (!algo->tfms) in seg6_hmac_init_algo()
378 p_tfm = per_cpu_ptr(algo->tfms, cpu); in seg6_hmac_init_algo()
382 p_tfm = raw_cpu_ptr(algo->tfms); in seg6_hmac_init_algo()
438 if (algo->tfms) { in seg6_hmac_net_exit()
440 tfm = *per_cpu_ptr(algo->tfms, cpu); in seg6_hmac_net_exit()
443 free_percpu(algo->tfms);
/linux/include/net/
H A Dipcomp.h15 struct crypto_comp * __percpu *tfms; member
H A Dseg6_hmac.h38 struct crypto_shash * __percpu *tfms; member
/linux/drivers/md/
H A Ddm-crypt.c187 struct crypto_skcipher **tfms;
285 return cc->cipher_tfm.tfms[0]; in any_tfm()
1517 skcipher_request_set_tfm(ctx->r.req, cc->cipher_tfm.tfms[key_index]); in crypt_alloc_req_skcipher()
2351 if (!cc->cipher_tfm.tfms) in crypt_free_tfms_aead()
2355 if (cc->cipher_tfm.tfms[i] && !IS_ERR(cc->cipher_tfm.tfms[i])) { in crypt_free_tfms_aead()
2356 crypto_free_skcipher(cc->cipher_tfm.tfms[i]);
2357 cc->cipher_tfm.tfms[i] = NULL; in crypt_free_tfms_skcipher()
2360 kfree(cc->cipher_tfm.tfms); in crypt_free_tfms_skcipher()
2361 cc->cipher_tfm.tfms in crypt_free_tfms_skcipher()
186 struct crypto_skcipher **tfms; global() member
[all...]
/linux/arch/x86/kernel/cpu/
H A Dcommon.c908 u32 junk, tfms, cap0, misc; in cpu_detect() local
910 cpuid(0x00000001, &tfms, &misc, &junk, &cap0); in cpu_detect()
911 c->x86 = x86_family(tfms); in cpu_detect()
912 c->x86_model = x86_model(tfms); in cpu_detect()
913 c->x86_stepping = x86_stepping(tfms); in cpu_detect()