Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/char/tpm/
Dtpm2-cmd.c176 for (i = 0; i < chip->nr_allocated_banks && in tpm2_pcr_read()
180 if (i == chip->nr_allocated_banks) in tpm2_pcr_read()
257 tpm_buf_append_u32(&buf, chip->nr_allocated_banks); in tpm2_pcr_extend()
259 for (i = 0; i < chip->nr_allocated_banks; i++) { in tpm2_pcr_extend()
620 chip->nr_allocated_banks = nr_alloc_banks; in tpm2_get_pcr_allocation()
Dtpm-sysfs.c360 for (i = 0; i < chip->nr_allocated_banks; i++) in pcr_value_show()
492 for (i = 0; i < chip->nr_allocated_banks; i++) { in tpm_sysfs_add_device()
Dtpm-interface.c324 for (i = 0; i < chip->nr_allocated_banks; i++) { in tpm_pcr_extend()
Dtpm1-cmd.c810 chip->nr_allocated_banks = 1; in tpm1_get_pcr_allocation()
/linux-6.1.9/security/integrity/ima/
Dima_queue.c223 digests = kcalloc(ima_tpm_chip->nr_allocated_banks, sizeof(*digests), in ima_init_digests()
228 for (i = 0; i < ima_tpm_chip->nr_allocated_banks; i++) { in ima_init_digests()
Dima.h44 #define NR_BANKS(chip) ((chip != NULL) ? chip->nr_allocated_banks : 0)
Dima_crypto.c850 for (i = 0; i < ima_tpm_chip->nr_allocated_banks; i++) { in ima_calc_boot_aggregate()
/linux-6.1.9/include/linux/
Dtpm.h159 u32 nr_allocated_banks; member
/linux-6.1.9/security/keys/trusted-keys/
Dtrusted_tpm1.c1019 digests = kcalloc(chip->nr_allocated_banks, sizeof(*digests), in init_digests()
1024 for (i = 0; i < chip->nr_allocated_banks; i++) in init_digests()