Home
last modified time | relevance | path

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

/Linux-v4.19/net/xfrm/
Dxfrm_ipcomp.c33 struct crypto_comp * __percpu *tfms; member
50 struct crypto_comp *tfm = *per_cpu_ptr(ipcd->tfms, cpu); in ipcomp_decompress()
150 tfm = *this_cpu_ptr(ipcd->tfms); in ipcomp_compress()
247 static void ipcomp_free_tfms(struct crypto_comp * __percpu *tfms) in ipcomp_free_tfms() argument
253 if (pos->tfms == tfms) in ipcomp_free_tfms()
265 if (!tfms) in ipcomp_free_tfms()
269 struct crypto_comp *tfm = *per_cpu_ptr(tfms, cpu); in ipcomp_free_tfms()
272 free_percpu(tfms); in ipcomp_free_tfms()
278 struct crypto_comp * __percpu *tfms; in ipcomp_alloc_tfms() local
286 tfm = this_cpu_read(*pos->tfms); in ipcomp_alloc_tfms()
[all …]
/Linux-v4.19/arch/x86/boot/
Dcpuflags.c90 u32 tfms; in get_cpuflags() local
106 cpuid(0x1, &tfms, &ignored, &cpu.flags[4], in get_cpuflags()
108 cpu.level = (tfms >> 8) & 15; in get_cpuflags()
110 cpu.model = (tfms >> 4) & 15; in get_cpuflags()
112 cpu.model += ((tfms >> 16) & 0xf) << 4; in get_cpuflags()
/Linux-v4.19/net/ipv6/
Dseg6_hmac.c137 tfm = *this_cpu_ptr(algo->tfms); in __do_hmac()
372 algo->tfms = alloc_percpu(struct crypto_shash *); in seg6_hmac_init_algo()
373 if (!algo->tfms) in seg6_hmac_init_algo()
380 p_tfm = per_cpu_ptr(algo->tfms, cpu); in seg6_hmac_init_algo()
384 p_tfm = raw_cpu_ptr(algo->tfms); in seg6_hmac_init_algo()
435 tfm = *per_cpu_ptr(algo->tfms, cpu); in seg6_hmac_exit()
438 free_percpu(algo->tfms); in seg6_hmac_exit()
/Linux-v4.19/include/net/
Dipcomp.h13 struct crypto_comp * __percpu *tfms; member
Dseg6_hmac.h43 struct crypto_shash * __percpu *tfms; member
/Linux-v4.19/drivers/md/
Ddm-crypt.c171 struct crypto_skcipher **tfms; member
240 return cc->cipher_tfm.tfms[0]; in any_tfm()
1247 skcipher_request_set_tfm(ctx->r.req, cc->cipher_tfm.tfms[key_index]); in crypt_alloc_req_skcipher()
1847 if (!cc->cipher_tfm.tfms) in crypt_free_tfms_skcipher()
1851 if (cc->cipher_tfm.tfms[i] && !IS_ERR(cc->cipher_tfm.tfms[i])) { in crypt_free_tfms_skcipher()
1852 crypto_free_skcipher(cc->cipher_tfm.tfms[i]); in crypt_free_tfms_skcipher()
1853 cc->cipher_tfm.tfms[i] = NULL; in crypt_free_tfms_skcipher()
1856 kfree(cc->cipher_tfm.tfms); in crypt_free_tfms_skcipher()
1857 cc->cipher_tfm.tfms = NULL; in crypt_free_tfms_skcipher()
1873 cc->cipher_tfm.tfms = kcalloc(cc->tfms_count, in crypt_alloc_tfms_skcipher()
[all …]
/Linux-v4.19/arch/x86/kernel/cpu/
Dcommon.c746 u32 junk, tfms, cap0, misc; in cpu_detect() local
748 cpuid(0x00000001, &tfms, &misc, &junk, &cap0); in cpu_detect()
749 c->x86 = x86_family(tfms); in cpu_detect()
750 c->x86_model = x86_model(tfms); in cpu_detect()
751 c->x86_stepping = x86_stepping(tfms); in cpu_detect()
/Linux-v4.19/drivers/gpu/drm/gma500/
Dmmu.c483 uint32_t tfms, misc, cap0, cap4, clflush_size; in psb_mmu_driver_init() local
490 cpuid(0x00000001, &tfms, &misc, &cap0, &cap4); in psb_mmu_driver_init()