Home | History | Annotate | Download | only in util

Lines Matching refs:map

33 struct map {
46 u64 (*map_ip)(struct map *, u64);
48 u64 (*unmap_ip)(struct map *, u64);
76 struct map *vmlinux_maps[MAP__NR_TYPES];
80 struct map *machine__kernel_map(struct machine *self, enum map_type type)
85 static inline struct kmap *map__kmap(struct map *self)
90 static inline u64 map__map_ip(struct map *map, u64 ip)
92 return ip - map->start + map->pgoff;
95 static inline u64 map__unmap_ip(struct map *map, u64 ip)
97 return ip + map->start - map->pgoff;
100 static inline u64 identity__map_ip(struct map *map __used, u64 ip)
107 u64 map__rip_2objdump(struct map *map, u64 rip);
108 u64 map__objdump_2ip(struct map *map, u64 addr);
112 typedef int (*symbol_filter_t)(struct map *map, struct symbol *sym);
114 void map__init(struct map *self, enum map_type type,
116 struct map *map__new(struct list_head *dsos__list, u64 start, u64 len,
119 void map__delete(struct map *self);
120 struct map *map__clone(struct map *self);
121 int map__overlap(struct map *l, struct map *r);
122 size_t map__fprintf(struct map *self, FILE *fp);
124 int map__load(struct map *self, symbol_filter_t filter);
125 struct symbol *map__find_symbol(struct map *self,
127 struct symbol *map__find_symbol_by_name(struct map *self, const char *name,
129 void map__fixup_start(struct map *self);
130 void map__fixup_end(struct map *self);
132 void map__reloc_vmlinux(struct map *self);
136 void maps__insert(struct rb_root *maps, struct map *map);
137 void maps__remove(struct rb_root *self, struct map *map);
138 struct map *maps__find(struct rb_root *maps, u64 addr);
173 static inline void map_groups__insert(struct map_groups *self, struct map *map)
175 maps__insert(&self->maps[map->type], map);
176 map->groups = self;
179 static inline void map_groups__remove(struct map_groups *self, struct map *map)
181 maps__remove(&self->maps[map->type], map);
184 static inline struct map *map_groups__find(struct map_groups *self,
192 struct map **mapp,
198 struct map **mapp,
204 struct map **mapp,
212 struct map **mapp,
220 const char *name, struct map **mapp,
229 struct map **mapp,
236 int map_groups__fixup_overlappings(struct map_groups *self, struct map *map,
239 struct map *map_groups__find_by_name(struct map_groups *self,
241 struct map *machine__new_module(struct machine *self, u64 start, const char *filename);