Lines Matching refs:hash
613 unsigned long (*hash)(const char *) FAST_FUNC);
1974 unsigned long (*hash) (const char *) FAST_FUNC) in obj_set_symbol_compare()
1978 if (hash) { in obj_set_symbol_compare()
1982 f->symbol_hash = hash; in obj_set_symbol_compare()
1989 unsigned long h = hash(sym->name) % HASH_BUCKETS; in obj_set_symbol_compare()
2007 unsigned long hash = f->symbol_hash(name) % HASH_BUCKETS; in obj_add_symbol() local
2011 for (sym = f->symtab[hash]; sym; sym = sym->next) { in obj_add_symbol()
2038 for (p = &f->symtab[hash]; *p != sym; p = &(*p)->next) in obj_add_symbol()
2074 sym->next = f->symtab[hash]; in obj_add_symbol()
2075 f->symtab[hash] = sym; in obj_add_symbol()
2099 unsigned long hash = f->symbol_hash(name) % HASH_BUCKETS; in obj_find_symbol() local
2101 for (sym = f->symtab[hash]; sym; sym = sym->next) in obj_find_symbol()