Home
last modified time | relevance | path

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

/linux/net/xfrm/
A Dxfrm_ipcomp.c240 if (pos->tfms == tfms) in ipcomp_free_tfms()
252 if (!tfms) in ipcomp_free_tfms()
259 free_percpu(tfms); in ipcomp_free_tfms()
277 return pos->tfms; in ipcomp_alloc_tfms()
289 pos->tfms = tfms = alloc_percpu(struct crypto_comp *); in ipcomp_alloc_tfms()
290 if (!tfms) in ipcomp_alloc_tfms()
301 return tfms; in ipcomp_alloc_tfms()
304 ipcomp_free_tfms(tfms); in ipcomp_alloc_tfms()
310 if (ipcd->tfms) in ipcomp_free_data()
311 ipcomp_free_tfms(ipcd->tfms); in ipcomp_free_data()
[all …]
/linux/arch/x86/boot/
A 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/block/
A Dblk-crypto-fallback.c78 struct crypto_skcipher *tfms[BLK_ENCRYPTION_MODE_MAX]; member
101 err = crypto_skcipher_setkey(slotp->tfms[crypto_mode], blank_key, in blk_crypto_fallback_evict_keyslot()
122 err = crypto_skcipher_setkey(slotp->tfms[crypto_mode], key->raw, in blk_crypto_fallback_keyslot_program()
196 ciph_req = skcipher_request_alloc(slotp->tfms[slotp->crypto_mode], in blk_crypto_fallback_alloc_cipher_req()
636 slotp->tfms[mode_num] = crypto_alloc_skcipher(cipher_str, 0, 0); in blk_crypto_fallback_start_using_mode()
637 if (IS_ERR(slotp->tfms[mode_num])) { in blk_crypto_fallback_start_using_mode()
638 err = PTR_ERR(slotp->tfms[mode_num]); in blk_crypto_fallback_start_using_mode()
644 slotp->tfms[mode_num] = NULL; in blk_crypto_fallback_start_using_mode()
648 crypto_skcipher_set_flags(slotp->tfms[mode_num], in blk_crypto_fallback_start_using_mode()
662 crypto_free_skcipher(slotp->tfms[mode_num]); in blk_crypto_fallback_start_using_mode()
[all …]
/linux/net/ipv6/
A Dseg6_hmac.c130 tfm = *this_cpu_ptr(algo->tfms); in __do_hmac()
365 algo->tfms = alloc_percpu(struct crypto_shash *); in seg6_hmac_init_algo()
366 if (!algo->tfms) in seg6_hmac_init_algo()
373 p_tfm = per_cpu_ptr(algo->tfms, cpu); in seg6_hmac_init_algo()
377 p_tfm = raw_cpu_ptr(algo->tfms); in seg6_hmac_init_algo()
426 tfm = *per_cpu_ptr(algo->tfms, cpu); in seg6_hmac_exit()
429 free_percpu(algo->tfms); in seg6_hmac_exit()
/linux/include/net/
A Dipcomp.h13 struct crypto_comp * __percpu *tfms; member
A Dseg6_hmac.h38 struct crypto_shash * __percpu *tfms; member
/linux/drivers/md/
A Ddm-crypt.c178 struct crypto_skcipher **tfms; member
249 return cc->cipher_tfm.tfms[0]; in any_tfm()
2273 if (!cc->cipher_tfm.tfms) in crypt_free_tfms_skcipher()
2277 if (cc->cipher_tfm.tfms[i] && !IS_ERR(cc->cipher_tfm.tfms[i])) { in crypt_free_tfms_skcipher()
2279 cc->cipher_tfm.tfms[i] = NULL; in crypt_free_tfms_skcipher()
2282 kfree(cc->cipher_tfm.tfms); in crypt_free_tfms_skcipher()
2283 cc->cipher_tfm.tfms = NULL; in crypt_free_tfms_skcipher()
2302 if (!cc->cipher_tfm.tfms) in crypt_alloc_tfms_skcipher()
2308 if (IS_ERR(cc->cipher_tfm.tfms[i])) { in crypt_alloc_tfms_skcipher()
2309 err = PTR_ERR(cc->cipher_tfm.tfms[i]); in crypt_alloc_tfms_skcipher()
[all …]
/linux/arch/x86/kernel/cpu/
A Dcommon.c837 u32 junk, tfms, cap0, misc; in cpu_detect() local
839 cpuid(0x00000001, &tfms, &misc, &junk, &cap0); in cpu_detect()
840 c->x86 = x86_family(tfms); in cpu_detect()
841 c->x86_model = x86_model(tfms); in cpu_detect()
842 c->x86_stepping = x86_stepping(tfms); in cpu_detect()
/linux/drivers/gpu/drm/gma500/
A Dmmu.c453 uint32_t tfms, misc, cap0, cap4, clflush_size; in psb_mmu_driver_init() local
460 cpuid(0x00000001, &tfms, &misc, &cap0, &cap4); in psb_mmu_driver_init()

Completed in 23 milliseconds