Lines Matching refs:memory_map
777 struct efi_mem_desc *memory_map, in efi_get_memory_map() argument
807 if (!memory_map) in efi_get_memory_map()
812 memory_map = &memory_map[map_entries - 1]; in efi_get_memory_map()
814 *memory_map = lmem->desc; in efi_get_memory_map()
815 memory_map--; in efi_get_memory_map()
834 struct efi_mem_desc **memory_map) in efi_get_memory_map_alloc() argument
838 *memory_map = NULL; in efi_get_memory_map_alloc()
840 ret = efi_get_memory_map(map_size, *memory_map, NULL, NULL, NULL); in efi_get_memory_map_alloc()
844 (void **)memory_map); in efi_get_memory_map_alloc()
847 ret = efi_get_memory_map(map_size, *memory_map, in efi_get_memory_map_alloc()
850 efi_free_pool(*memory_map); in efi_get_memory_map_alloc()
851 *memory_map = NULL; in efi_get_memory_map_alloc()