Lines Matching refs:memory_map
725 struct efi_mem_desc *memory_map, in efi_get_memory_map() argument
756 if (!memory_map) in efi_get_memory_map()
761 memory_map = &memory_map[map_entries - 1]; in efi_get_memory_map()
766 *memory_map = lmem->desc; in efi_get_memory_map()
767 memory_map--; in efi_get_memory_map()
786 struct efi_mem_desc **memory_map) in efi_get_memory_map_alloc() argument
790 *memory_map = NULL; in efi_get_memory_map_alloc()
792 ret = efi_get_memory_map(map_size, *memory_map, NULL, NULL, NULL); in efi_get_memory_map_alloc()
796 (void **)memory_map); in efi_get_memory_map_alloc()
799 ret = efi_get_memory_map(map_size, *memory_map, in efi_get_memory_map_alloc()
802 efi_free_pool(*memory_map); in efi_get_memory_map_alloc()
803 *memory_map = NULL; in efi_get_memory_map_alloc()