Lines Matching refs:symbol
40 static struct symbol *expansion_trail;
41 static struct symbol *visited_symbols;
153 struct symbol *find_symbol(const char *name, enum symbol_type ns, int exact) in find_symbol()
155 struct symbol *sym; in find_symbol()
169 static int is_unknown_symbol(struct symbol *sym) in is_unknown_symbol()
227 static struct symbol *__add_symbol(const char *name, enum symbol_type type, in __add_symbol()
232 struct symbol *sym; in __add_symbol()
313 struct symbol *add_symbol(const char *name, enum symbol_type type, in add_symbol()
319 static struct symbol *add_reference_symbol(const char *name, enum symbol_type type, in add_reference_symbol()
466 struct symbol *subsym; in read_reference()
534 static uint32_t expand_and_crc_sym(struct symbol *sym, uint32_t crc) in expand_and_crc_sym()
558 struct symbol *subsym; in expand_and_crc_sym()
626 static struct symbol **end = &visited_symbols; in expand_and_crc_sym()
631 sym->visited = (struct symbol *)-1L; in expand_and_crc_sym()
640 struct symbol *sym; in export_symbol()
653 expansion_trail = (struct symbol *)-1L; in export_symbol()
660 while (sym != (struct symbol *)-1L) { in export_symbol()
661 struct symbol *n = sym->expansion_trail; in export_symbol()
819 while (visited_symbols != (struct symbol *)-1L) { in main()
820 struct symbol *sym = visited_symbols; in main()