Lines Matching refs:symbol
159 struct symbol { struct
160 struct symbol *next; argument
173 static struct symbol *symbolhash[SYMBOL_HASH_SIZE]; argument
192 static struct symbol *alloc_symbol(const char *name, unsigned int weak, in alloc_symbol()
193 struct symbol *next) in alloc_symbol()
195 struct symbol *s = NOFAIL(malloc(sizeof(*s) + strlen(name) + 1)); in alloc_symbol()
205 static struct symbol *new_symbol(const char *name, struct module *module, in new_symbol()
209 struct symbol *new; in new_symbol()
218 static struct symbol *find_symbol(const char *name) in find_symbol()
220 struct symbol *s; in find_symbol()
306 static struct symbol *sym_add_exported(const char *name, struct module *mod, in sym_add_exported()
309 struct symbol *s = find_symbol(name); in sym_add_exported()
334 struct symbol *s = find_symbol(name); in sym_update_crc()
2083 struct symbol *s, *exp; in check_exports()
2149 struct symbol *s, *exp; in add_versions()
2206 struct symbol *s; in add_depends()
2308 struct symbol *s; in read_dump()
2346 static int dump_sym(struct symbol *sym) in dump_sym()
2358 struct symbol *symbol; in write_dump() local
2362 symbol = symbolhash[n]; in write_dump()
2363 while (symbol) { in write_dump()
2364 if (dump_sym(symbol)) in write_dump()
2366 symbol->crc, symbol->name, in write_dump()
2367 symbol->module->name, in write_dump()
2368 export_str(symbol->export)); in write_dump()
2369 symbol = symbol->next; in write_dump()