Lines Matching full:maps

16 struct maps;
28 struct map *maps__find(struct maps *maps, u64 addr);
30 DECLARE_RC_STRUCT(maps) { in DECLARE_RC_STRUCT() argument
49 struct maps *kmaps;
53 struct maps *maps__new(struct machine *machine);
54 bool maps__empty(struct maps *maps);
55 int maps__copy_from(struct maps *maps, struct maps *parent);
57 struct maps *maps__get(struct maps *maps);
58 void maps__put(struct maps *maps);
60 static inline void __maps__zput(struct maps **map) in __maps__zput()
69 int maps__for_each_map(struct maps *maps, int (*cb)(struct map *map, void *data), void *data);
71 void maps__remove_maps(struct maps *maps, bool (*cb)(struct map *map, void *data), void *data);
73 static inline struct machine *maps__machine(struct maps *maps) in maps__machine() argument
75 return RC_CHK_ACCESS(maps)->machine; in maps__machine()
78 static inline unsigned int maps__nr_maps(const struct maps *maps) in maps__nr_maps() argument
80 return RC_CHK_ACCESS(maps)->nr_maps; in maps__nr_maps()
83 static inline refcount_t *maps__refcnt(struct maps *maps) in maps__refcnt() argument
85 return &RC_CHK_ACCESS(maps)->refcnt; in maps__refcnt()
89 static inline void *maps__addr_space(struct maps *maps) in maps__addr_space() argument
91 return RC_CHK_ACCESS(maps)->addr_space; in maps__addr_space()
94 static inline const struct unwind_libunwind_ops *maps__unwind_libunwind_ops(const struct maps *maps) in maps__unwind_libunwind_ops() argument
96 return RC_CHK_ACCESS(maps)->unwind_libunwind_ops; in maps__unwind_libunwind_ops()
100 size_t maps__fprintf(struct maps *maps, FILE *fp);
102 int maps__insert(struct maps *maps, struct map *map);
103 void maps__remove(struct maps *maps, struct map *map);
105 struct symbol *maps__find_symbol(struct maps *maps, u64 addr, struct map **mapp);
106 struct symbol *maps__find_symbol_by_name(struct maps *maps, const char *name, struct map **mapp);
110 int maps__find_ams(struct maps *maps, struct addr_map_symbol *ams);
112 int maps__fixup_overlap_and_insert(struct maps *maps, struct map *new);
114 struct map *maps__find_by_name(struct maps *maps, const char *name);
116 struct map *maps__find_next_entry(struct maps *maps, struct map *map);
118 int maps__merge_in(struct maps *kmaps, struct map *new_map);
120 void __maps__sort_by_name(struct maps *maps);
122 void maps__fixup_end(struct maps *maps);
124 void maps__load_first(struct maps *maps);