Searched refs:tfms (Results 1 – 7 of 7) sorted by relevance
| /linux-6.15/arch/x86/boot/ |
| H A D | cpuflags.c | 71 u32 tfms; in get_cpuflags() local 87 cpuid(0x1, &tfms, &ignored, &cpu.flags[4], in get_cpuflags() 89 cpu.level = (tfms >> 8) & 15; in get_cpuflags() 91 cpu.model = (tfms >> 4) & 15; in get_cpuflags() 93 cpu.model += ((tfms >> 16) & 0xf) << 4; in get_cpuflags()
|
| /linux-6.15/net/ipv6/ |
| H A D | seg6_hmac.c | 130 tfm = *this_cpu_ptr(algo->tfms); in __do_hmac() 368 algo->tfms = alloc_percpu(struct crypto_shash *); in seg6_hmac_init_algo() 369 if (!algo->tfms) in seg6_hmac_init_algo() 378 p_tfm = per_cpu_ptr(algo->tfms, cpu); in seg6_hmac_init_algo() 382 p_tfm = raw_cpu_ptr(algo->tfms); in seg6_hmac_init_algo() 438 if (algo->tfms) { in seg6_hmac_exit() 440 tfm = *per_cpu_ptr(algo->tfms, cpu); in seg6_hmac_exit() 443 free_percpu(algo->tfms); in seg6_hmac_exit()
|
| /linux-6.15/block/ |
| H A D | blk-crypto-fallback.c | 78 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->bytes, in blk_crypto_fallback_keyslot_program() 197 ciph_req = skcipher_request_alloc(slotp->tfms[slotp->crypto_mode], in blk_crypto_fallback_alloc_cipher_req() 648 slotp->tfms[mode_num] = crypto_alloc_skcipher(cipher_str, 0, 0); in blk_crypto_fallback_start_using_mode() 649 if (IS_ERR(slotp->tfms[mode_num])) { in blk_crypto_fallback_start_using_mode() 650 err = PTR_ERR(slotp->tfms[mode_num]); in blk_crypto_fallback_start_using_mode() 656 slotp->tfms[mode_num] = NULL; in blk_crypto_fallback_start_using_mode() 660 crypto_skcipher_set_flags(slotp->tfms[mode_num], in blk_crypto_fallback_start_using_mode() 674 crypto_free_skcipher(slotp->tfms[mode_num]); in blk_crypto_fallback_start_using_mode() [all …]
|
| /linux-6.15/include/net/ |
| H A D | seg6_hmac.h | 38 struct crypto_shash * __percpu *tfms; member
|
| /linux-6.15/drivers/md/ |
| H A D | dm-crypt.c | 187 struct crypto_skcipher **tfms; member 285 return cc->cipher_tfm.tfms[0]; in any_tfm() 2330 if (!cc->cipher_tfm.tfms) in crypt_free_tfms_skcipher() 2334 if (cc->cipher_tfm.tfms[i] && !IS_ERR(cc->cipher_tfm.tfms[i])) { in crypt_free_tfms_skcipher() 2336 cc->cipher_tfm.tfms[i] = NULL; in crypt_free_tfms_skcipher() 2339 kfree(cc->cipher_tfm.tfms); in crypt_free_tfms_skcipher() 2340 cc->cipher_tfm.tfms = NULL; in crypt_free_tfms_skcipher() 2359 if (!cc->cipher_tfm.tfms) in crypt_alloc_tfms_skcipher() 2365 if (IS_ERR(cc->cipher_tfm.tfms[i])) { in crypt_alloc_tfms_skcipher() 2366 err = PTR_ERR(cc->cipher_tfm.tfms[i]); in crypt_alloc_tfms_skcipher() [all …]
|
| /linux-6.15/arch/x86/kernel/cpu/ |
| H A D | common.c | 906 u32 junk, tfms, cap0, misc; in cpu_detect() local 908 cpuid(0x00000001, &tfms, &misc, &junk, &cap0); in cpu_detect() 909 c->x86 = x86_family(tfms); in cpu_detect() 910 c->x86_model = x86_model(tfms); in cpu_detect() 911 c->x86_stepping = x86_stepping(tfms); in cpu_detect()
|
| /linux-6.15/drivers/gpu/drm/gma500/ |
| H A D | mmu.c | 454 uint32_t tfms, misc, cap0, cap4, clflush_size; in psb_mmu_driver_init() local 461 cpuid(0x00000001, &tfms, &misc, &cap0, &cap4); in psb_mmu_driver_init()
|