Lines Matching refs:memmap

226 	WARN(efi.memmap.desc_version != 1,  in efi_memblock_x86_reserve_range()
228 efi.memmap.desc_version); in efi_memblock_x86_reserve_range()
230 memblock_reserve(pmap, efi.memmap.nr_map * efi.memmap.desc_size); in efi_memblock_x86_reserve_range()
276 efi_memory_desc_t *out = efi.memmap.map; in efi_clean_memmap()
278 const efi_memory_desc_t *end = efi.memmap.map_end; in efi_clean_memmap()
284 memcpy(out, in, efi.memmap.desc_size); in efi_clean_memmap()
285 out = (void *)out + efi.memmap.desc_size; in efi_clean_memmap()
289 in = (void *)in + efi.memmap.desc_size; in efi_clean_memmap()
294 .phys_map = efi.memmap.phys_map, in efi_clean_memmap()
295 .desc_version = efi.memmap.desc_version, in efi_clean_memmap()
296 .desc_size = efi.memmap.desc_size, in efi_clean_memmap()
297 .size = efi.memmap.desc_size * (efi.memmap.nr_map - n_removal), in efi_clean_memmap()
543 return efi.memmap.map_end - efi.memmap.desc_size; in efi_map_next_entry_reverse()
545 entry -= efi.memmap.desc_size; in efi_map_next_entry_reverse()
546 if (entry < efi.memmap.map) in efi_map_next_entry_reverse()
588 return efi.memmap.map; in efi_map_next_entry()
590 entry += efi.memmap.desc_size; in efi_map_next_entry()
591 if (entry >= efi.memmap.map_end) in efi_map_next_entry()
657 desc_size = efi.memmap.desc_size; in efi_map_regions()
721 if (efi_memmap_init_late(efi.memmap.phys_map, in kexec_enter_virtual_mode()
722 efi.memmap.desc_size * efi.memmap.nr_map)) { in kexec_enter_virtual_mode()
728 num_pages = ALIGN(efi.memmap.nr_map * efi.memmap.desc_size, PAGE_SIZE); in kexec_enter_virtual_mode()
731 if (efi_setup_page_tables(efi.memmap.phys_map, num_pages)) { in kexec_enter_virtual_mode()
785 if (efi_memmap_init_late(pa, efi.memmap.desc_size * count)) { in __efi_enter_virtual_mode()
800 status = efi_set_virtual_address_map(efi.memmap.desc_size * count, in __efi_enter_virtual_mode()
801 efi.memmap.desc_size, in __efi_enter_virtual_mode()
802 efi.memmap.desc_version, in __efi_enter_virtual_mode()