Lines Matching refs:symbol
167 struct symbol { struct
168 struct symbol *next; argument
183 static struct symbol *symbolhash[SYMBOL_HASH_SIZE]; argument
202 static struct symbol *alloc_symbol(const char *name, unsigned int weak, in alloc_symbol()
203 struct symbol *next) in alloc_symbol()
205 struct symbol *s = NOFAIL(malloc(sizeof(*s) + strlen(name) + 1)); in alloc_symbol()
216 static struct symbol *new_symbol(const char *name, struct module *module, in new_symbol()
220 struct symbol *new; in new_symbol()
229 static struct symbol *find_symbol(const char *name) in find_symbol()
231 struct symbol *s; in find_symbol()
363 struct symbol *s = find_symbol(symname); in sym_update_namespace()
384 static struct symbol *sym_add_exported(const char *name, struct module *mod, in sym_add_exported()
387 struct symbol *s = find_symbol(name); in sym_add_exported()
411 struct symbol *s = find_symbol(name); in sym_update_crc()
2079 struct symbol *s = in read_symbols()
2202 struct symbol *s, *exp; in check_exports()
2316 struct symbol *s, *exp; in add_versions()
2360 struct symbol *s; in add_depends()
2460 struct symbol *s; in read_dump()
2503 static int dump_sym(struct symbol *sym) in dump_sym()
2515 struct symbol *symbol; in write_dump() local
2520 symbol = symbolhash[n]; in write_dump()
2521 while (symbol) { in write_dump()
2522 if (dump_sym(symbol)) { in write_dump()
2523 namespace = symbol->namespace; in write_dump()
2525 symbol->crc, symbol->name, in write_dump()
2527 symbol->module->name, in write_dump()
2528 export_str(symbol->export)); in write_dump()
2530 symbol = symbol->next; in write_dump()
2684 struct symbol *s; in main()