Home
last modified time | relevance | path

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

/linux-2.6.39/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()
143 struct crypto_comp *tfm = *per_cpu_ptr(ipcd->tfms, cpu); in ipcomp_compress()
242 static void ipcomp_free_tfms(struct crypto_comp * __percpu *tfms) in ipcomp_free_tfms() argument
248 if (pos->tfms == tfms) in ipcomp_free_tfms()
260 if (!tfms) in ipcomp_free_tfms()
264 struct crypto_comp *tfm = *per_cpu_ptr(tfms, cpu); in ipcomp_free_tfms()
267 free_percpu(tfms); in ipcomp_free_tfms()
273 struct crypto_comp * __percpu *tfms; in ipcomp_alloc_tfms() local
282 tfms = pos->tfms; in ipcomp_alloc_tfms()
[all …]
/linux-2.6.39/arch/x86/boot/
Dcpucheck.c112 u32 tfms; in get_flags() local
128 : "=a" (tfms), in get_flags()
133 cpu.level = (tfms >> 8) & 15; in get_flags()
134 cpu.model = (tfms >> 4) & 15; in get_flags()
136 cpu.model += ((tfms >> 16) & 0xf) << 4; in get_flags()
/linux-2.6.39/arch/x86/kernel/cpu/
Dcommon.c529 u32 junk, tfms, cap0, misc; in cpu_detect() local
531 cpuid(0x00000001, &tfms, &misc, &junk, &cap0); in cpu_detect()
532 c->x86 = (tfms >> 8) & 0xf; in cpu_detect()
533 c->x86_model = (tfms >> 4) & 0xf; in cpu_detect()
534 c->x86_mask = tfms & 0xf; in cpu_detect()
537 c->x86 += (tfms >> 20) & 0xff; in cpu_detect()
539 c->x86_model += ((tfms >> 16) & 0xf) << 4; in cpu_detect()
550 u32 tfms, xlvl; in get_cpu_cap() local
557 cpuid(0x00000001, &tfms, &ebx, &excap, &capability); in get_cpu_cap()
/linux-2.6.39/include/net/
Dipcomp.h12 struct crypto_comp * __percpu *tfms; member
/linux-2.6.39/drivers/md/
Ddm-crypt.c115 struct crypto_ablkcipher *tfms[0]; member
198 return __this_cpu_ptr(cc->cpu)->tfms[0]; in any_tfm()
759 ablkcipher_request_set_tfm(this_cc->req, this_cc->tfms[key_index]); in crypt_alloc_req()
1284 if (cpu_cc->tfms[i] && !IS_ERR(cpu_cc->tfms[i])) { in crypt_free_tfms()
1285 crypto_free_ablkcipher(cpu_cc->tfms[i]); in crypt_free_tfms()
1286 cpu_cc->tfms[i] = NULL; in crypt_free_tfms()
1297 cpu_cc->tfms[i] = crypto_alloc_ablkcipher(ciphermode, 0, 0); in crypt_alloc_tfms()
1298 if (IS_ERR(cpu_cc->tfms[i])) { in crypt_alloc_tfms()
1299 err = PTR_ERR(cpu_cc->tfms[i]); in crypt_alloc_tfms()
1315 r = crypto_ablkcipher_setkey(per_cpu_ptr(cc->cpu, cpu)->tfms[i], in crypt_setkey_allcpus()
[all …]
/linux-2.6.39/drivers/staging/gma500/
Dpsb_mmu.c594 uint32_t tfms, misc, cap0, cap4, clflush_size; in psb_mmu_driver_init() local
601 cpuid(0x00000001, &tfms, &misc, &cap0, &cap4); in psb_mmu_driver_init()