Lines Matching full:maps

16 struct maps;
24 struct map_rb_node *maps__first(struct maps *maps);
26 struct map_rb_node *maps__find_node(struct maps *maps, struct map *map);
27 struct map *maps__find(struct maps *maps, u64 addr);
29 #define maps__for_each_entry(maps, map) \ argument
30 for (map = maps__first(maps); map; map = map_rb_node__next(map))
32 #define maps__for_each_entry_safe(maps, map, next) \ argument
33 for (map = maps__first(maps), next = map_rb_node__next(map); map; \
36 DECLARE_RC_STRUCT(maps) { in DECLARE_RC_STRUCT() argument
55 struct maps *kmaps;
59 struct maps *maps__new(struct machine *machine);
60 bool maps__empty(struct maps *maps);
61 int maps__clone(struct thread *thread, struct maps *parent);
63 struct maps *maps__get(struct maps *maps);
64 void maps__put(struct maps *maps);
66 static inline void __maps__zput(struct maps **map) in __maps__zput()
74 static inline struct rb_root *maps__entries(struct maps *maps) in maps__entries() argument
76 return &RC_CHK_ACCESS(maps)->entries; in maps__entries()
79 static inline struct machine *maps__machine(struct maps *maps) in maps__machine() argument
81 return RC_CHK_ACCESS(maps)->machine; in maps__machine()
84 static inline struct rw_semaphore *maps__lock(struct maps *maps) in maps__lock() argument
86 return &RC_CHK_ACCESS(maps)->lock; in maps__lock()
89 static inline struct map **maps__maps_by_name(struct maps *maps) in maps__maps_by_name() argument
91 return RC_CHK_ACCESS(maps)->maps_by_name; in maps__maps_by_name()
94 static inline unsigned int maps__nr_maps(const struct maps *maps) in maps__nr_maps() argument
96 return RC_CHK_ACCESS(maps)->nr_maps; in maps__nr_maps()
99 static inline refcount_t *maps__refcnt(struct maps *maps) in maps__refcnt() argument
101 return &RC_CHK_ACCESS(maps)->refcnt; in maps__refcnt()
105 static inline void *maps__addr_space(struct maps *maps) in maps__addr_space() argument
107 return RC_CHK_ACCESS(maps)->addr_space; in maps__addr_space()
110 static inline const struct unwind_libunwind_ops *maps__unwind_libunwind_ops(const struct maps *maps) in maps__unwind_libunwind_ops() argument
112 return RC_CHK_ACCESS(maps)->unwind_libunwind_ops; in maps__unwind_libunwind_ops()
116 size_t maps__fprintf(struct maps *maps, FILE *fp);
118 int maps__insert(struct maps *maps, struct map *map);
119 void maps__remove(struct maps *maps, struct map *map);
121 struct symbol *maps__find_symbol(struct maps *maps, u64 addr, struct map **mapp);
122 struct symbol *maps__find_symbol_by_name(struct maps *maps, const char *name, struct map **mapp);
126 int maps__find_ams(struct maps *maps, struct addr_map_symbol *ams);
128 int maps__fixup_overlappings(struct maps *maps, struct map *map, FILE *fp);
130 struct map *maps__find_by_name(struct maps *maps, const char *name);
132 int maps__merge_in(struct maps *kmaps, struct map *new_map);
134 void __maps__sort_by_name(struct maps *maps);