Searched refs:NR_BANKS (Results 1 – 5 of 5) sorted by relevance
97 for (i = 0; i < NR_BANKS(ima_tpm_chip) + ima_extra_slots; i++) in ima_alloc_tfm()123 for (i = 0; i < NR_BANKS(ima_tpm_chip); i++) { in ima_init_crypto()133 ima_sha1_idx = NR_BANKS(ima_tpm_chip) + ima_extra_slots++; in ima_init_crypto()139 ima_hash_algo_idx = NR_BANKS(ima_tpm_chip) + ima_extra_slots++; in ima_init_crypto()141 ima_algo_array = kcalloc(NR_BANKS(ima_tpm_chip) + ima_extra_slots, in ima_init_crypto()148 for (i = 0; i < NR_BANKS(ima_tpm_chip); i++) { in ima_init_crypto()173 if (ima_sha1_idx >= NR_BANKS(ima_tpm_chip)) { in ima_init_crypto()188 if (ima_hash_algo_idx >= NR_BANKS(ima_tpm_chip) && in ima_init_crypto()196 for (i = 0; i < NR_BANKS(ima_tpm_chip) + ima_extra_slots; i++) { in ima_init_crypto()216 for (i = 0; i < NR_BANKS(ima_tpm_chip) + ima_extra_slots; i++) in ima_free_tfm()[all …]
397 int count = NR_BANKS(ima_tpm_chip); in create_securityfs_measurement_lists()399 if (ima_sha1_idx >= NR_BANKS(ima_tpm_chip)) in create_securityfs_measurement_lists()
55 digests = kcalloc(NR_BANKS(ima_tpm_chip) + ima_extra_slots, in ima_alloc_init_template()
370 digests = kcalloc(NR_BANKS(ima_tpm_chip) + ima_extra_slots, in ima_restore_template_data()
44 #define NR_BANKS(chip) ((chip != NULL) ? chip->nr_allocated_banks : 0) macro
Completed in 15 milliseconds