Lines Matching defs:map

3  * Common EFI memory map functions.
55 * efi_memmap_alloc - Allocate memory for the EFI memory map
56 * @num_entries: Number of entries in the allocated map.
62 * Returns the physical address of the allocated memory map on
91 * __efi_memmap_init - Common code for mapping the EFI memory map
92 * @data: EFI memory map data
95 * map the EFI memory map in efi.memmap based on how far into the boot
107 struct efi_memory_map map;
116 map.map = memremap(phys_map, data->size, MEMREMAP_WB);
118 map.map = early_memremap(phys_map, data->size);
120 if (!map.map) {
121 pr_err("Could not map the memory map!\n");
128 map.phys_map = data->phys_map;
129 map.nr_map = data->size / data->desc_size;
130 map.map_end = map.map + data->size;
132 map.desc_version = data->desc_version;
133 map.desc_size = data->desc_size;
134 map.flags = data->flags;
138 efi.memmap = map;
144 * efi_memmap_init_early - Map the EFI memory map data structure
145 * @data: EFI memory map data
147 * Use early_memremap() to map the passed in EFI memory map and assign
168 early_memunmap(efi.memmap.map, size);
170 memunmap(efi.memmap.map);
173 efi.memmap.map = NULL;
179 * @phys_addr: Physical address of the new EFI memory map
180 * @size: Size in bytes of the new EFI memory map
182 * Setup a mapping of the EFI memory map using ioremap_cache(). This
191 * initialisation is complete as the fixmap space used to map the EFI
209 WARN_ON(efi.memmap.map);
226 * efi_memmap_install - Install a new EFI memory map in efi.memmap
227 * @ctx: map allocation parameters (address, size, flags)
283 * @old_memmap: The existing EFI memory map structure
284 * @buf: Address of buffer to store new map
285 * @mem: Memory map entry to insert
304 * The EFI memory map deals with regions in EFI_PAGE_SIZE
314 for (old = old_memmap->map, new = buf;