Home
last modified time | relevance | path

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

/linux-4.4.14/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-4.4.14/arch/x86/boot/
Dcpuflags.c86 u32 tfms; in get_cpuflags() local
102 cpuid(0x1, &tfms, &ignored, &cpu.flags[4], in get_cpuflags()
104 cpu.level = (tfms >> 8) & 15; in get_cpuflags()
105 cpu.model = (tfms >> 4) & 15; in get_cpuflags()
107 cpu.model += ((tfms >> 16) & 0xf) << 4; in get_cpuflags()
/linux-4.4.14/drivers/md/
Ddm-crypt.c156 struct crypto_ablkcipher **tfms; member
194 return cc->tfms[0]; in any_tfm()
894 ablkcipher_request_set_tfm(ctx->req, cc->tfms[key_index]); in crypt_alloc_req()
1435 if (!cc->tfms) in crypt_free_tfms()
1439 if (cc->tfms[i] && !IS_ERR(cc->tfms[i])) { in crypt_free_tfms()
1440 crypto_free_ablkcipher(cc->tfms[i]); in crypt_free_tfms()
1441 cc->tfms[i] = NULL; in crypt_free_tfms()
1444 kfree(cc->tfms); in crypt_free_tfms()
1445 cc->tfms = NULL; in crypt_free_tfms()
1453 cc->tfms = kmalloc(cc->tfms_count * sizeof(struct crypto_ablkcipher *), in crypt_alloc_tfms()
[all …]
/linux-4.4.14/arch/x86/kernel/cpu/
Dcommon.c581 u32 junk, tfms, cap0, misc; in cpu_detect() local
583 cpuid(0x00000001, &tfms, &misc, &junk, &cap0); in cpu_detect()
584 c->x86 = (tfms >> 8) & 0xf; in cpu_detect()
585 c->x86_model = (tfms >> 4) & 0xf; in cpu_detect()
586 c->x86_mask = tfms & 0xf; in cpu_detect()
589 c->x86 += (tfms >> 20) & 0xff; in cpu_detect()
591 c->x86_model += ((tfms >> 16) & 0xf) << 4; in cpu_detect()
602 u32 tfms, xlvl; in get_cpu_cap() local
609 cpuid(0x00000001, &tfms, &ebx, &excap, &capability); in get_cpu_cap()
/linux-4.4.14/include/net/
Dipcomp.h12 struct crypto_comp * __percpu *tfms; member
/linux-4.4.14/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()