Lines Matching refs:cref_table

100 static struct cref_hash_table cref_table;  variable
168 if (!bfd_hash_table_init (&cref_table.root, cref_hash_newfunc, in add_cref()
174 h = cref_hash_lookup (&cref_table, name, TRUE, FALSE); in add_cref()
184 r = (struct cref_ref *) bfd_hash_allocate (&cref_table.root, sizeof *r); in add_cref()
220 for (i = 0; i < cref_table.root.size; i++) in handle_asneeded_cref()
226 for (p = cref_table.root.table[i]; p != NULL; p = p->next) in handle_asneeded_cref()
228 entsize += cref_table.root.entsize; in handle_asneeded_cref()
235 tabsize = cref_table.root.size * sizeof (struct bfd_hash_entry *); in handle_asneeded_cref()
238 alloc_mark = bfd_hash_allocate (&cref_table.root, 1); in handle_asneeded_cref()
242 memcpy (old_tab, cref_table.root.table, tabsize); in handle_asneeded_cref()
245 old_table = cref_table.root.table; in handle_asneeded_cref()
246 old_size = cref_table.root.size; in handle_asneeded_cref()
247 old_count = cref_table.root.count; in handle_asneeded_cref()
250 for (i = 0; i < cref_table.root.size; i++) in handle_asneeded_cref()
256 for (p = cref_table.root.table[i]; p != NULL; p = p->next) in handle_asneeded_cref()
258 memcpy (old_ent, p, cref_table.root.entsize); in handle_asneeded_cref()
259 old_ent = (char *) old_ent + cref_table.root.entsize; in handle_asneeded_cref()
279 bfd_hash_table_free (&cref_table.root); in handle_asneeded_cref()
286 cref_table.root.table = old_table; in handle_asneeded_cref()
287 cref_table.root.size = old_size; in handle_asneeded_cref()
288 cref_table.root.count = old_count; in handle_asneeded_cref()
289 memcpy (cref_table.root.table, old_tab, tabsize); in handle_asneeded_cref()
292 for (i = 0; i < cref_table.root.size; i++) in handle_asneeded_cref()
298 for (p = cref_table.root.table[i]; p != NULL; p = p->next) in handle_asneeded_cref()
300 memcpy (p, old_ent, cref_table.root.entsize); in handle_asneeded_cref()
301 old_ent = (char *) old_ent + cref_table.root.entsize; in handle_asneeded_cref()
311 objalloc_free_block ((struct objalloc *) cref_table.root.memory, in handle_asneeded_cref()
391 cref_hash_traverse (&cref_table, cref_fill_array, &csym_fill); in output_cref()
499 cref_hash_traverse (&cref_table, check_nocrossref, NULL); in check_nocrossrefs()