Home
last modified time | relevance | path

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

/openbmc/linux/drivers/firmware/efi/
H A Dmokvar-table.c107 unsigned long map_size_needed = 0; in efi_mokvar_table_init() local
138 map_size_needed = cur_offset + sizeof(*mokvar_entry); in efi_mokvar_table_init()
139 if (map_size_needed > map_size) { in efi_mokvar_table_init()
148 map_size = min(map_size_needed + 2*EFI_PAGE_SIZE, in efi_mokvar_table_init()
174 cur_offset = map_size_needed + mokvar_entry->data_size; in efi_mokvar_table_init()
185 efi_mem_reserve(efi.mokvar_table, map_size_needed); in efi_mokvar_table_init()
187 efi_mokvar_table_size = map_size_needed; in efi_mokvar_table_init()