Lines Matching +full:reboot +full:- +full:offset
1 // SPDX-License-Identifier: GPL-2.0
24 * Enable reboot attack mitigation. This requests that the firmware clear the
25 * RAM on next reboot before proceeding with boot, ensuring that any secrets
27 * from RAM before reboot it can simply reset this variable.
82 * back into a size is contained in the first entry - in efi_retrieve_tcg2_eventlog()
93 ((struct tcpa_event *) last_entry_addr)->event_size; in efi_retrieve_tcg2_eventlog()
95 log_size = log_last_entry - log_location + last_entry_size; in efi_retrieve_tcg2_eventlog()
111 if (final_events_table && final_events_table->nr_events) { in efi_retrieve_tcg2_eventlog()
113 int offset; in efi_retrieve_tcg2_eventlog() local
116 int i = final_events_table->nr_events; in efi_retrieve_tcg2_eventlog()
119 offset = sizeof(final_events_table->version) + in efi_retrieve_tcg2_eventlog()
120 sizeof(final_events_table->nr_events); in efi_retrieve_tcg2_eventlog()
123 header = data + offset + final_events_size; in efi_retrieve_tcg2_eventlog()
128 i--; in efi_retrieve_tcg2_eventlog()
133 log_tbl->size = log_size; in efi_retrieve_tcg2_eventlog()
134 log_tbl->final_events_preboot_size = final_events_size; in efi_retrieve_tcg2_eventlog()
135 log_tbl->version = version; in efi_retrieve_tcg2_eventlog()
136 memcpy(log_tbl->log, (void *) first_entry_addr, log_size); in efi_retrieve_tcg2_eventlog()