Lines Matching defs:maps

18 #define maps__for_each_entry(maps, map) \  argument
21 #define maps__for_each_entry_safe(maps, map, next) \ argument
25 static struct rb_root *maps__entries(struct maps *maps) in maps__entries()
30 static struct rw_semaphore *maps__lock(struct maps *maps) in maps__lock()
35 static struct map **maps__maps_by_name(struct maps *maps) in maps__maps_by_name()
40 static struct map_rb_node *maps__first(struct maps *maps) in maps__first()
64 static struct map_rb_node *maps__find_node(struct maps *maps, struct map *map) in maps__find_node()
75 static void maps__init(struct maps *maps, struct machine *machine) in maps__init()
86 static void __maps__free_maps_by_name(struct maps *maps) in __maps__free_maps_by_name()
98 static int __maps__insert(struct maps *maps, struct map *map) in __maps__insert()
126 int maps__insert(struct maps *maps, struct map *map) in maps__insert()
167 maps__maps_by_name(maps)[maps__nr_maps(maps) - 1] = map__get(map); in maps__insert() local
175 static void __maps__remove(struct maps *maps, struct map_rb_node *rb_node) in __maps__remove()
182 void maps__remove(struct maps *maps, struct map *map) in maps__remove()
199 static void __maps__purge(struct maps *maps) in __maps__purge()
213 static void maps__exit(struct maps *maps) in maps__exit()
220 bool maps__empty(struct maps *maps) in maps__empty()
236 static void maps__delete(struct maps *maps) in maps__delete()
243 struct maps *maps__get(struct maps *maps) in maps__get()
253 void maps__put(struct maps *maps) in maps__put()
261 int maps__for_each_map(struct maps *maps, int (*cb)(struct map *map, void *data), void *data) in maps__for_each_map()
276 void maps__remove_maps(struct maps *maps, bool (*cb)(struct map *map, void *data), void *data) in maps__remove_maps()
296 struct symbol *maps__find_symbol(struct maps *maps, u64 addr, struct map **mapp) in maps__find_symbol()
334 struct symbol *maps__find_symbol_by_name(struct maps *maps, const char *name, struct map **mapp) in maps__find_symbol_by_name()
346 int maps__find_ams(struct maps *maps, struct addr_map_symbol *ams) in maps__find_ams()
380 size_t maps__fprintf(struct maps *maps, FILE *fp) in maps__fprintf()
396 static struct rb_node *first_ending_after(struct maps *maps, const struct map *map) in first_ending_after()
422 int maps__fixup_overlap_and_insert(struct maps *maps, struct map *new) in maps__fixup_overlap_and_insert()
511 int maps__copy_from(struct maps *maps, struct maps *parent) in maps__copy_from()
543 struct map *maps__find(struct maps *maps, u64 ip) in maps__find()
596 void __maps__sort_by_name(struct maps *maps) in __maps__sort_by_name()
601 static int map__groups__sort_by_name_from_rbtree(struct maps *maps) in map__groups__sort_by_name_from_rbtree()
628 static struct map *__maps__find_by_name(struct maps *maps, const char *name) in __maps__find_by_name()
643 struct map *maps__find_by_name(struct maps *maps, const char *name) in maps__find_by_name()
686 struct map *maps__find_next_entry(struct maps *maps, struct map *map) in maps__find_next_entry()
697 void maps__fixup_end(struct maps *maps) in maps__fixup_end()
828 void maps__load_first(struct maps *maps) in maps__load_first()