Searched refs:tfms (Results 1 – 8 of 8) sorted by relevance
/Linux-v5.4/net/xfrm/ |
D | xfrm_ipcomp.c | 29 struct crypto_comp * __percpu *tfms; member 46 struct crypto_comp *tfm = *per_cpu_ptr(ipcd->tfms, cpu); in ipcomp_decompress() 146 tfm = *this_cpu_ptr(ipcd->tfms); in ipcomp_compress() 243 static void ipcomp_free_tfms(struct crypto_comp * __percpu *tfms) in ipcomp_free_tfms() argument 249 if (pos->tfms == tfms) in ipcomp_free_tfms() 261 if (!tfms) in ipcomp_free_tfms() 265 struct crypto_comp *tfm = *per_cpu_ptr(tfms, cpu); in ipcomp_free_tfms() 268 free_percpu(tfms); in ipcomp_free_tfms() 274 struct crypto_comp * __percpu *tfms; in ipcomp_alloc_tfms() local 282 tfm = this_cpu_read(*pos->tfms); in ipcomp_alloc_tfms() [all …]
|
/Linux-v5.4/arch/x86/boot/ |
D | cpuflags.c | 90 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-v5.4/net/ipv6/ |
D | seg6_hmac.c | 132 tfm = *this_cpu_ptr(algo->tfms); in __do_hmac() 367 algo->tfms = alloc_percpu(struct crypto_shash *); in seg6_hmac_init_algo() 368 if (!algo->tfms) in seg6_hmac_init_algo() 375 p_tfm = per_cpu_ptr(algo->tfms, cpu); in seg6_hmac_init_algo() 379 p_tfm = raw_cpu_ptr(algo->tfms); in seg6_hmac_init_algo() 430 tfm = *per_cpu_ptr(algo->tfms, cpu); in seg6_hmac_exit() 433 free_percpu(algo->tfms); in seg6_hmac_exit()
|
/Linux-v5.4/include/net/ |
D | ipcomp.h | 13 struct crypto_comp * __percpu *tfms; member
|
D | seg6_hmac.h | 38 struct crypto_shash * __percpu *tfms; member
|
/Linux-v5.4/drivers/md/ |
D | dm-crypt.c | 162 struct crypto_skcipher **tfms; member 231 return cc->cipher_tfm.tfms[0]; in any_tfm() 1141 skcipher_request_set_tfm(ctx->r.req, cc->cipher_tfm.tfms[key_index]); in crypt_alloc_req_skcipher() 1742 if (!cc->cipher_tfm.tfms) in crypt_free_tfms_skcipher() 1746 if (cc->cipher_tfm.tfms[i] && !IS_ERR(cc->cipher_tfm.tfms[i])) { in crypt_free_tfms_skcipher() 1747 crypto_free_skcipher(cc->cipher_tfm.tfms[i]); in crypt_free_tfms_skcipher() 1748 cc->cipher_tfm.tfms[i] = NULL; in crypt_free_tfms_skcipher() 1751 kfree(cc->cipher_tfm.tfms); in crypt_free_tfms_skcipher() 1752 cc->cipher_tfm.tfms = NULL; in crypt_free_tfms_skcipher() 1768 cc->cipher_tfm.tfms = kcalloc(cc->tfms_count, in crypt_alloc_tfms_skcipher() [all …]
|
/Linux-v5.4/arch/x86/kernel/cpu/ |
D | common.c | 810 u32 junk, tfms, cap0, misc; in cpu_detect() local 812 cpuid(0x00000001, &tfms, &misc, &junk, &cap0); in cpu_detect() 813 c->x86 = x86_family(tfms); in cpu_detect() 814 c->x86_model = x86_model(tfms); in cpu_detect() 815 c->x86_stepping = x86_stepping(tfms); in cpu_detect()
|
/Linux-v5.4/drivers/gpu/drm/gma500/ |
D | mmu.c | 473 uint32_t tfms, misc, cap0, cap4, clflush_size; in psb_mmu_driver_init() local 480 cpuid(0x00000001, &tfms, &misc, &cap0, &cap4); in psb_mmu_driver_init()
|