Lines Matching defs:symbol

48 struct symbol {
50 /** Range of symbol [start, end). */
55 /** ELF symbol type as defined for st_info. E.g STT_OBJECT or STT_FUNC. */
71 /** The name of length namelen associated with the symbol. */
75 void symbol__delete(struct symbol *sym);
81 * @pos: the 'struct symbol *' to use as a loop cursor
86 nd && (pos = rb_entry(nd, struct symbol, rb_node)); \
89 static inline size_t symbol__size(const struct symbol *sym)
107 static inline void *symbol__priv(struct symbol *sym)
127 struct symbol *sym);
129 struct symbol *sym);
131 struct symbol *dso__find_symbol(struct dso *dso, u64 addr);
132 struct symbol *dso__find_symbol_nocache(struct dso *dso, u64 addr);
134 struct symbol *dso__next_symbol_by_name(struct dso *dso, size_t *idx);
135 struct symbol *dso__find_symbol_by_name(struct dso *dso, const char *name, size_t *idx);
137 struct symbol *dso__first_symbol(struct dso *dso);
138 struct symbol *dso__last_symbol(struct dso *dso);
139 struct symbol *dso__next_symbol(struct symbol *sym);
158 struct symbol *symbol__new(u64 start, u64 len, u8 binding, u8 type, const char *name);
159 size_t __symbol__fprintf_symname_offs(const struct symbol *sym,
163 size_t symbol__fprintf_symname_offs(const struct symbol *sym,
165 size_t __symbol__fprintf_symname(const struct symbol *sym,
168 size_t symbol__fprintf_symname(const struct symbol *sym, FILE *fp);
169 size_t symbol__fprintf(struct symbol *sym, FILE *fp);
187 void __symbols__insert(struct rb_root_cached *symbols, struct symbol *sym,
189 void symbols__insert(struct rb_root_cached *symbols, struct symbol *sym);
221 void arch__sym_update(struct symbol *s, GElf_Sym *sym);
231 int arch__choose_best_symbol(struct symbol *syma, struct symbol *symb);