Lines Matching defs:map
3 * Common EFI memory map functions.
23 * __efi_memmap_init - Common code for mapping the EFI memory map
24 * @data: EFI memory map data
27 * map the EFI memory map in efi.memmap based on how far into the boot
39 struct efi_memory_map map;
45 map.map = memremap(phys_map, data->size, MEMREMAP_WB);
47 map.map = early_memremap(phys_map, data->size);
49 if (!map.map) {
50 pr_err("Could not map the memory map!\n");
59 map.phys_map = data->phys_map;
60 map.nr_map = data->size / data->desc_size;
61 map.map_end = map.map + data->size;
63 map.desc_version = data->desc_version;
64 map.desc_size = data->desc_size;
65 map.flags = data->flags;
69 efi.memmap = map;
75 * efi_memmap_init_early - Map the EFI memory map data structure
76 * @data: EFI memory map data
78 * Use early_memremap() to map the passed in EFI memory map and assign
99 early_memunmap(efi.memmap.map, size);
101 memunmap(efi.memmap.map);
104 efi.memmap.map = NULL;
110 * @phys_addr: Physical address of the new EFI memory map
111 * @size: Size in bytes of the new EFI memory map
113 * Setup a mapping of the EFI memory map using ioremap_cache(). This
122 * initialisation is complete as the fixmap space used to map the EFI
140 WARN_ON(efi.memmap.map);