Lines Matching refs:symbols
93 static void symbols__fixup_end(struct rb_root *symbols)
95 struct rb_node *nd, *prevnd = rb_first(symbols);
133 * We still haven't the actual symbols, so guess the
215 dso->symbols[i] = dso->symbol_names[i] = RB_ROOT;
227 static void symbols__delete(struct rb_root *symbols)
230 struct rb_node *next = rb_first(symbols);
235 rb_erase(&pos->rb_node, symbols);
244 symbols__delete(&dso->symbols[i]);
258 static void symbols__insert(struct rb_root *symbols, struct symbol *sym)
260 struct rb_node **p = &symbols->rb_node;
274 rb_insert_color(&sym->rb_node, symbols);
277 static struct symbol *symbols__find(struct rb_root *symbols, u64 ip)
281 if (symbols == NULL)
284 n = symbols->rb_node;
305 static void symbols__insert_by_name(struct rb_root *symbols, struct symbol *sym)
307 struct rb_node **p = &symbols->rb_node;
322 rb_insert_color(&symn->rb_node, symbols);
325 static void symbols__sort_by_name(struct rb_root *symbols,
332 symbols__insert_by_name(symbols, pos);
336 static struct symbol *symbols__find_by_name(struct rb_root *symbols,
341 if (symbols == NULL)
344 n = symbols->rb_node;
367 return symbols__find(&dso->symbols[type], addr);
380 &dso->symbols[type]);
432 for (nd = rb_first(&dso->symbols[type]); nd; nd = rb_next(nd)) {
532 struct rb_root *root = &a->dso->symbols[a->map->type];
542 * We will pass the symbols to the filter later, in
563 * Split the symbols into maps, making sure there are no overlaps, i.e. the
575 struct rb_root *root = &dso->symbols[map->type];
597 * We assume all symbols of a module are
600 * symbols are in its kmap. Mark it as
669 symbols__insert(&curr_map->dso->symbols[curr_map->type], pos);
766 symbols__insert(&dso->symbols[map->type], sym);
783 * elf_symtab__for_each_symbol - iterate thru all the symbols
880 * .plt, synthesizing its symbols, that aren't on the symtabs (be it
940 * and the symbols in the .dynsym they refer to.
980 symbols__insert(&dso->symbols[map->type], f);
1002 symbols__insert(&dso->symbols[map->type], f);
1170 /* Reject ARM ELF "mapping symbols": these aren't unique and
1198 /* On ARM, symbols for thumb functions have 1 added to
1278 symbols__insert(&curr_dso->symbols[curr_map->type], f);
1287 symbols__fixup_end(&dso->symbols[map->type]);
1769 * symbols we'll know where it starts and ends.
1777 * ->end will be filled after we load all the symbols
1892 pr_debug("Using %s for symbols\n", symfs_vmlinux);
2023 pr_debug("Using %s for symbols\n", kallsyms_filename);
2073 pr_debug("Using %s for symbols\n", kallsyms_filename);
2508 * A path to symbols of "/" is identical to ""