Lines Matching defs:log
15 /* read binary bios log from EFI configuration table */
22 struct tpm_bios_log *log;
34 log = &chip->log;
38 pr_err("Could not map UEFI TPM log table !\n");
46 pr_warn("UEFI TPM log area empty\n");
53 pr_err("Could not map UEFI TPM log table payload!\n");
58 log->bios_event_log = kmemdup(log_tbl->log, log_size, GFP_KERNEL);
59 if (!log->bios_event_log) {
64 log->bios_event_log_end = log->bios_event_log + log_size;
78 pr_err("Could not map UEFI TPM final log\n");
79 kfree(log->bios_event_log);
85 * The 'final events log' size excludes the 'final events preboot log'
91 * Allocate memory for the 'combined log' where we will append the
92 * 'final events log' to.
94 tmp = krealloc(log->bios_event_log,
98 kfree(log->bios_event_log);
103 log->bios_event_log = tmp;
106 * Append any of the 'final events log' that didn't also end up in the
107 * 'main log'. Events can be logged in both if events are generated
110 memcpy((void *)log->bios_event_log + log_size,
114 * The size of the 'combined log' is the size of the 'main log' plus
115 * the size of the 'final events log'.
117 log->bios_event_log_end = log->bios_event_log +