Lines Matching refs:map
93 struct map_info *map; in rebuild_if_necessary() local
99 map = map_find_from_addr (new_list, addr); in rebuild_if_necessary()
100 if (map && (map->end - addr >= bytes) && (expected_flags == 0 || (map->flags & expected_flags))) in rebuild_if_necessary()
111 map = map_find_from_addr (local_map_list, addr); in rebuild_if_necessary()
112 … if (!map || (map->end - addr < bytes) || (expected_flags != 0 && !(map->flags & expected_flags))) in rebuild_if_necessary()
116 map = local_map_list; in rebuild_if_necessary()
118 new_list = map; in rebuild_if_necessary()
132 struct map_info *map; in is_flag_set() local
137 map = map_find_from_addr (local_map_list, addr); in is_flag_set()
138 if (map != NULL) in is_flag_set()
140 if (map->flags & MAP_FLAGS_DEVICE_MEM) in is_flag_set()
149 if (map->end - addr < bytes) in is_flag_set()
152 ret = map->flags & flag; in is_flag_set()
179 struct map_info *map; in local_get_elf_image() local
184 map = map_find_from_addr (local_map_list, ip); in local_get_elf_image()
185 if (!map) in local_get_elf_image()
192 map = map_find_from_addr (local_map_list, ip); in local_get_elf_image()
195 if (map && elf_map_cached_image (as, as_arg, map, ip, true)) in local_get_elf_image()
201 *ei = map->ei; in local_get_elf_image()
202 *segbase = map->start; in local_get_elf_image()
204 *mapoff = map->offset; in local_get_elf_image()
215 if (map->path) in local_get_elf_image()
216 *path = strdup(map->path); in local_get_elf_image()
230 struct map_info *map; in map_local_get_image_name() local
235 map = map_find_from_addr (local_map_list, ip); in map_local_get_image_name()
236 if (!map) in map_local_get_image_name()
243 map = map_find_from_addr (local_map_list, ip); in map_local_get_image_name()
245 if (map) in map_local_get_image_name()
246 image_name = strdup (map->path); in map_local_get_image_name()