Lines Matching defs:map
22 #include "../../util/map.h"
39 #include "map.h"
2463 static struct symbol *symbol__new_unresolved(u64 addr, struct map *map)
2479 dso__insert_symbol(map->dso, sym);
2491 if (!ms->map || !ms->map->dso || ms->map->dso->annotate_warned)
2495 ms->sym = symbol__new_unresolved(addr, ms->map);
2570 static int hists_browser__zoom_map(struct hist_browser *browser, struct map *map)
2572 if (!hists__has(browser->hists, dso) || map == NULL)
2582 __map__is_kernel(map) ? "the Kernel" : map->dso->short_name);
2583 browser->hists->dso_filter = map->dso;
2596 return hists_browser__zoom_map(browser, act->ms.map);
2601 char **optstr, struct map *map)
2603 if (!hists__has(browser->hists, dso) || map == NULL)
2608 __map__is_kernel(map) ? "the Kernel" : map->dso->short_name) < 0)
2611 act->ms.map = map;
2642 map__browse(act->ms.map);
2648 struct popup_action *act, char **optstr, struct map *map)
2650 if (!hists__has(browser->hists, dso) || map == NULL)
2653 if (asprintf(optstr, "Browse map details") < 0)
2656 act->ms.map = map;
2977 "k Zoom into the kernel map\n" \
3028 struct map *map = NULL;
3039 map = browser->selection->map;
3086 !browser->selection->map ||
3087 !browser->selection->map->dso ||
3088 browser->selection->map->dso->annotate_warned) {
3098 if (!bi || !bi->to.ms.map)
3101 actions->ms.sym = symbol__new_unresolved(bi->to.al_addr, bi->to.ms.map);
3102 actions->ms.map = bi->to.ms.map;
3105 browser->selection->map);
3106 actions->ms.map = browser->selection->map;
3120 actions->ms.map = browser->selection->map;
3130 actions->ms.map = map;
3238 actions->ms.map = map;
3314 &options[nr_options], map);
3319 browser->selection->map : NULL);
3339 * we do before fetching browser->selection->map.
3710 action.ms.map = browser->selection->map;