Lines Matching refs:symbol
88 int __weak arch__choose_best_symbol(struct symbol *syma, in arch__choose_best_symbol()
89 struct symbol *symb __maybe_unused) in arch__choose_best_symbol()
100 static int choose_best_symbol(struct symbol *syma, struct symbol *symb) in choose_best_symbol()
152 struct symbol *curr, *next; in symbols__fixup_duplicate()
157 curr = rb_entry(nd, struct symbol, rb_node); in symbols__fixup_duplicate()
160 next = rb_entry(nd, struct symbol, rb_node); in symbols__fixup_duplicate()
183 struct symbol *curr, *prev; in symbols__fixup_end()
188 curr = rb_entry(prevnd, struct symbol, rb_node); in symbols__fixup_end()
192 curr = rb_entry(nd, struct symbol, rb_node); in symbols__fixup_end()
229 struct symbol *symbol__new(u64 start, u64 len, u8 binding, const char *name) in symbol__new()
232 struct symbol *sym = calloc(1, (symbol_conf.priv_size + in symbol__new()
252 void symbol__delete(struct symbol *sym) in symbol__delete()
257 size_t symbol__fprintf(struct symbol *sym, FILE *fp) in symbol__fprintf()
266 size_t symbol__fprintf_symname_offs(const struct symbol *sym, in symbol__fprintf_symname_offs()
286 size_t symbol__fprintf_symname(const struct symbol *sym, FILE *fp) in symbol__fprintf_symname()
293 struct symbol *pos; in symbols__delete()
297 pos = rb_entry(next, struct symbol, rb_node); in symbols__delete()
304 void symbols__insert(struct rb_root *symbols, struct symbol *sym) in symbols__insert()
309 struct symbol *s; in symbols__insert()
313 s = rb_entry(parent, struct symbol, rb_node); in symbols__insert()
323 static struct symbol *symbols__find(struct rb_root *symbols, u64 ip) in symbols__find()
333 struct symbol *s = rb_entry(n, struct symbol, rb_node); in symbols__find()
346 static struct symbol *symbols__first(struct rb_root *symbols) in symbols__first()
351 return rb_entry(n, struct symbol, rb_node); in symbols__first()
356 static struct symbol *symbols__next(struct symbol *sym) in symbols__next()
361 return rb_entry(n, struct symbol, rb_node); in symbols__next()
368 struct symbol sym;
371 static void symbols__insert_by_name(struct rb_root *symbols, struct symbol *sym) in symbols__insert_by_name()
397 struct symbol *pos = rb_entry(nd, struct symbol, rb_node); in symbols__sort_by_name()
402 static struct symbol *symbols__find_by_name(struct rb_root *symbols, in symbols__find_by_name()
450 dso->last_find_result[type].symbol = NULL; in dso__reset_find_symbol_cache()
454 struct symbol *dso__find_symbol(struct dso *dso, in dso__find_symbol()
459 dso->last_find_result[type].symbol = symbols__find(&dso->symbols[type], addr); in dso__find_symbol()
462 return dso->last_find_result[type].symbol; in dso__find_symbol()
465 struct symbol *dso__first_symbol(struct dso *dso, enum map_type type) in dso__first_symbol()
470 struct symbol *dso__next_symbol(struct symbol *sym) in dso__next_symbol()
475 struct symbol *symbol__next_by_name(struct symbol *sym) in symbol__next_by_name()
486 struct symbol *dso__find_symbol_by_name(struct dso *dso, enum map_type type, in dso__find_symbol_by_name()
581 bool symbol__is_idle(struct symbol *sym) in symbol__is_idle()
615 struct symbol *sym; in map__process_kallsym_symbol()
656 struct symbol *pos; in dso__split_kallsyms_for_kcore()
670 pos = rb_entry(next, struct symbol, rb_node); in dso__split_kallsyms_for_kcore()
710 struct symbol *pos; in dso__split_kallsyms()
724 pos = rb_entry(next, struct symbol, rb_node); in dso__split_kallsyms()
1124 struct symbol *sym; in dso__load_kcore()
1306 struct symbol *sym; in dso__load_perf_map()
1987 sizeof(struct symbol)); in symbol__init()