Lines Matching refs:symbol
158 struct symbol { struct
159 struct symbol *next; argument
172 static struct symbol *symbolhash[SYMBOL_HASH_SIZE]; argument
191 static struct symbol *alloc_symbol(const char *name, unsigned int weak, in alloc_symbol()
192 struct symbol *next) in alloc_symbol()
194 struct symbol *s = NOFAIL(malloc(sizeof(*s) + strlen(name) + 1)); in alloc_symbol()
204 static struct symbol *new_symbol(const char *name, struct module *module, in new_symbol()
208 struct symbol *new; in new_symbol()
217 static struct symbol *find_symbol(const char *name) in find_symbol()
219 struct symbol *s; in find_symbol()
305 static struct symbol *sym_add_exported(const char *name, struct module *mod, in sym_add_exported()
308 struct symbol *s = find_symbol(name); in sym_add_exported()
333 struct symbol *s = find_symbol(name); in sym_update_crc()
2079 struct symbol *s, *exp; in check_exports()
2140 struct symbol *s, *exp; in add_versions()
2191 struct symbol *s; in add_depends()
2293 struct symbol *s; in read_dump()
2331 static int dump_sym(struct symbol *sym) in dump_sym()
2343 struct symbol *symbol; in write_dump() local
2347 symbol = symbolhash[n]; in write_dump()
2348 while (symbol) { in write_dump()
2349 if (dump_sym(symbol)) in write_dump()
2351 symbol->crc, symbol->name, in write_dump()
2352 symbol->module->name, in write_dump()
2353 export_str(symbol->export)); in write_dump()
2354 symbol = symbol->next; in write_dump()