Home
last modified time | relevance | path

Searched refs:bios_event_log (Results 1 – 8 of 8) sorted by relevance

/linux-5.19.10/drivers/char/tpm/eventlog/
Defi.c58 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()
Dacpi.c45 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()
131 log->bios_event_log = kmalloc(len, GFP_KERNEL); in tpm_read_log_acpi()
132 if (!log->bios_event_log) in tpm_read_log_acpi()
135 log->bios_event_log_end = log->bios_event_log + len; in tpm_read_log_acpi()
142 memcpy_fromio(log->bios_event_log, virt, len); in tpm_read_log_acpi()
147 !tpm_is_tpm2_log(log->bios_event_log, len)) { in tpm_read_log_acpi()
156 kfree(log->bios_event_log); in tpm_read_log_acpi()
157 log->bios_event_log = NULL; in tpm_read_log_acpi()
Dof.c68 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()
Dtpm2.c46 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()
Dcommon.c78 if (chip->log.bios_event_log != NULL) { in tpm_read_log()
Dtpm1.c75 void *addr = log->bios_event_log; in tpm1_bios_measurements_start()
/linux-5.19.10/include/linux/
Dtpm.h110 void *bios_event_log; member
/linux-5.19.10/drivers/char/tpm/
Dtpm-chip.c270 kfree(chip->log.bios_event_log); in tpm_dev_release()