Home | History | Annotate | Download | only in src

Lines Matching refs:map

29 /* Global to hold the map for all local unwinds. */
59 the current map. As we progress, simply start from the last element
76 after advancing to the next map element. */
85 we gather a map of the process before starting. If the cache is missing
86 a map, or a map exists but doesn't have the "expected_flags" set, then
93 struct map_info *map;
99 map = map_find_from_addr (new_list, addr);
100 if (map && (map->end - addr >= bytes) && (expected_flags == 0 || (map->flags & expected_flags)))
105 /* Just in case another thread rebuilt the map, check to see if the
107 is that new_list is newer than local_map_list because the map only
111 map = map_find_from_addr (local_map_list, addr);
112 if (!map || (map->end - addr < bytes) || (expected_flags != 0 && !(map->flags & expected_flags)))
116 map = local_map_list;
118 new_list = map;
132 struct map_info *map;
137 map = map_find_from_addr (local_map_list, addr);
138 if (map != NULL)
140 if (map->flags & MAP_FLAGS_DEVICE_MEM)
145 /* Do not bother checking if the next map is readable and right at
146 * the end of this map. All of the reads/writes are of small values
147 * that should never span a map.
149 if (map->end - addr < bytes)
152 ret = map->flags & flag;
179 struct map_info *map;
184 map = map_find_from_addr (local_map_list, ip);
185 if (!map)
192 map = map_find_from_addr (local_map_list, ip);
195 if (map && elf_map_cached_image (as, as_arg, map, ip, true))
198 * the map data. The map could be rebuilt and the old ei pointer
201 *ei = map->ei;
202 *segbase = map->start;
204 *mapoff = map->offset;
206 /* Always use zero as the map offset for in memory maps. The
215 if (map->path)
216 *path = strdup(map->path);
230 struct map_info *map;
235 map = map_find_from_addr (local_map_list, ip);
236 if (!map)
243 map = map_find_from_addr (local_map_list, ip);
245 if (map)
246 image_name = strdup (map->path);