Lines Matching refs:mapinfo
11 struct mapinfo { struct
12 mapinfo *next; argument
43 static int parse_header(const char* line, const mapinfo* prev, mapinfo** mi) { in parse_header() argument
74 struct mapinfo* info = reinterpret_cast<mapinfo*>(calloc(1, sizeof(mapinfo) + name_size)); in parse_header()
90 static int parse_field(mapinfo* mi, const char* line) { in parse_field()
121 static int order_before(const mapinfo *a, const mapinfo *b, int sort_by_address) { in order_before()
130 static void enqueue_map(mapinfo **head, mapinfo *map, int sort_by_address, int coalesce_by_name) { in enqueue_map()
131 mapinfo *prev = NULL; in enqueue_map()
132 mapinfo *current = *head; in enqueue_map()
169 static mapinfo *load_maps(int pid, int sort_by_address, int coalesce_by_name) in load_maps()
174 mapinfo *head = NULL; in load_maps()
175 mapinfo *current = NULL; in load_maps()
195 mapinfo *next; in load_maps()
242 static void print_mi(mapinfo *mi, bool total) in print_mi()
263 mapinfo total; in show_map()
266 mapinfo *milist = load_maps(pid, addresses, !verbose && !addresses); in show_map()
274 for (mapinfo *mi = milist; mi;) { in show_map()
275 mapinfo* last = mi; in show_map()