Lines Matching refs:log
16 /* read binary bios log from EFI configuration table */
23 struct tpm_bios_log *log;
35 log = &chip->log;
39 pr_err("Could not map UEFI TPM log table !\n");
47 pr_warn("UEFI TPM log area empty\n");
54 pr_err("Could not map UEFI TPM log table payload!\n");
59 log->bios_event_log = devm_kmemdup(&chip->dev, log_tbl->log, log_size, GFP_KERNEL);
60 if (!log->bios_event_log) {
65 log->bios_event_log_end = log->bios_event_log + log_size;
79 pr_err("Could not map UEFI TPM final log\n");
80 devm_kfree(&chip->dev, log->bios_event_log);
86 * The 'final events log' size excludes the 'final events preboot log'
92 * Allocate memory for the 'combined log' where we will append the
93 * 'final events log' to.
95 tmp = devm_krealloc(&chip->dev, log->bios_event_log,
99 devm_kfree(&chip->dev, log->bios_event_log);
104 log->bios_event_log = tmp;
107 * Append any of the 'final events log' that didn't also end up in the
108 * 'main log'. Events can be logged in both if events are generated
111 memcpy((void *)log->bios_event_log + log_size,
115 * The size of the 'combined log' is the size of the 'main log' plus
116 * the size of the 'final events log'.
118 log->bios_event_log_end = log->bios_event_log +