Lines Matching refs:map
257 struct efi_memory_map *map = efi.memmap; in efi_mem_desc_lookup() local
265 if (!map) { in efi_mem_desc_lookup()
273 if (WARN_ON_ONCE(!map->phys_map)) in efi_mem_desc_lookup()
275 if (WARN_ON_ONCE(map->nr_map == 0) || WARN_ON_ONCE(map->desc_size == 0)) in efi_mem_desc_lookup()
278 e = map->phys_map + map->nr_map * map->desc_size; in efi_mem_desc_lookup()
279 for (p = map->phys_map; p < e; p += map->desc_size) { in efi_mem_desc_lookup()
335 struct efi_memory_map *map; in efi_lookup_mapped_addr() local
337 map = efi.memmap; in efi_lookup_mapped_addr()
338 if (!map) in efi_lookup_mapped_addr()
340 if (WARN_ON(!map->map)) in efi_lookup_mapped_addr()
342 for (p = map->map; p < map->map_end; p += map->desc_size) { in efi_lookup_mapped_addr()
649 struct efi_memory_map *map; in efi_mem_attributes() local
656 map = efi.memmap; in efi_mem_attributes()
657 for (p = map->map; p < map->map_end; p += map->desc_size) { in efi_mem_attributes()