Lines Matching defs:map
11 #include "map.h"
46 struct map *map;
49 static int find_map_cb(struct map *map, void *d)
53 if (map__dso(map) != data->dso)
55 data->map = map;
59 static struct map *find_module_map(struct machine *machine, struct dso *dso)
65 return data.map;
76 static int create_map(struct test_info *ti, char *filename, struct map **map_p)
82 * map. Find the one that already exists.
88 pr_debug("Failed to find map for current kernel module %s",
98 /* Create a dummy map at 0x100000 */
102 pr_debug("Failed to create map!");
166 struct map *map = NULL;
172 ret = create_map(ti, filename, &map);
176 dso = map__dso(map);
177 nr = dso__load(dso, map);
196 map__put(map);