Searched refs:bios_event_log (Results 1 – 8 of 8) sorted by relevance
/kernel/linux/linux-5.10/drivers/char/tpm/eventlog/ |
D | efi.c | 58 log->bios_event_log = kmemdup(log_tbl->log, log_size, GFP_KERNEL); in tpm_read_log_efi() 59 if (!log->bios_event_log) { in tpm_read_log_efi() 64 log->bios_event_log_end = log->bios_event_log + log_size; in tpm_read_log_efi() 79 kfree(log->bios_event_log); in tpm_read_log_efi() 94 tmp = krealloc(log->bios_event_log, in tpm_read_log_efi() 98 kfree(log->bios_event_log); in tpm_read_log_efi() 103 log->bios_event_log = tmp; in tpm_read_log_efi() 110 memcpy((void *)log->bios_event_log + log_size, in tpm_read_log_efi() 117 log->bios_event_log_end = log->bios_event_log + in tpm_read_log_efi()
|
D | acpi.c | 45 static bool tpm_is_tpm2_log(void *bios_event_log, u64 len) in tpm_is_tpm2_log() argument 54 event_header = bios_event_log; in tpm_is_tpm2_log() 138 log->bios_event_log = kmalloc(len, GFP_KERNEL); in tpm_read_log_acpi() 139 if (!log->bios_event_log) in tpm_read_log_acpi() 142 log->bios_event_log_end = log->bios_event_log + len; in tpm_read_log_acpi() 149 memcpy_fromio(log->bios_event_log, virt, len); in tpm_read_log_acpi() 154 !tpm_is_tpm2_log(log->bios_event_log, len)) { in tpm_read_log_acpi() 163 kfree(log->bios_event_log); in tpm_read_log_acpi() 164 log->bios_event_log = NULL; in tpm_read_log_acpi()
|
D | of.c | 68 log->bios_event_log = kmemdup(__va(base), size, GFP_KERNEL); in tpm_read_log_of() 69 if (!log->bios_event_log) in tpm_read_log_of() 72 log->bios_event_log_end = log->bios_event_log + size; in tpm_read_log_of()
|
D | tpm2.c | 46 void *addr = log->bios_event_log; in tpm2_bios_measurements_start() 97 event_header = log->bios_event_log; in tpm2_bios_measurements_next() 132 struct tcg_pcr_event *event_header = log->bios_event_log; in tpm2_binary_bios_measurements_show()
|
D | common.c | 78 if (chip->log.bios_event_log != NULL) { in tpm_read_log()
|
D | tpm1.c | 75 void *addr = log->bios_event_log; in tpm1_bios_measurements_start()
|
/kernel/linux/linux-5.10/include/linux/ |
D | tpm.h | 103 void *bios_event_log; member
|
/kernel/linux/linux-5.10/drivers/char/tpm/ |
D | tpm-chip.c | 270 kfree(chip->log.bios_event_log); in tpm_dev_release()
|