Lines Matching refs:memmap
49 __efi_memmap_free(efi.memmap.phys_map, in efi_memmap_free()
50 efi.memmap.desc_size * efi.memmap.nr_map, in efi_memmap_free()
51 efi.memmap.flags); in efi_memmap_free()
71 data->size = num_entries * efi.memmap.desc_size; in efi_memmap_alloc()
72 data->desc_version = efi.memmap.desc_version; in efi_memmap_alloc()
73 data->desc_size = efi.memmap.desc_size; in efi_memmap_alloc()
75 data->flags |= efi.memmap.flags & EFI_MEMMAP_LATE; in efi_memmap_alloc()
138 efi.memmap = map; in __efi_memmap_init()
153 WARN_ON(efi.memmap.flags & EFI_MEMMAP_LATE); in efi_memmap_init_early()
164 if (!(efi.memmap.flags & EFI_MEMMAP_LATE)) { in efi_memmap_unmap()
167 size = efi.memmap.desc_size * efi.memmap.nr_map; in efi_memmap_unmap()
168 early_memunmap(efi.memmap.map, size); in efi_memmap_unmap()
170 memunmap(efi.memmap.map); in efi_memmap_unmap()
173 efi.memmap.map = NULL; in efi_memmap_unmap()
209 WARN_ON(efi.memmap.map); in efi_memmap_init_late()
212 WARN_ON(efi.memmap.flags & EFI_MEMMAP_LATE); in efi_memmap_init_late()
219 data.desc_version = efi.memmap.desc_version; in efi_memmap_init_late()
220 data.desc_size = efi.memmap.desc_size; in efi_memmap_init_late()