Searched refs:id_hash (Results 1 – 3 of 3) sorted by relevance
37 if (!a->id_hash) in id_alloc()40 memset(a->id_hash, 0, sizeof(struct id_entry *) * HASH_SIZE); in id_alloc()55 static inline unsigned int id_hash(int cat, u32 id12, u32 id34) in id_hash() function68 unsigned int h = id_hash(cat, id12, id34); in pci_id_insert()69 struct id_entry *n = a->id_hash ? a->id_hash[h] : NULL; in pci_id_insert()82 n->next = a->id_hash[h]; in pci_id_insert()83 a->id_hash[h] = n; in pci_id_insert()94 if (a->id_hash) in pci_id_lookup()96 n = a->id_hash[id_hash(cat, id12, id34)]; in pci_id_lookup()122 pci_mfree(a->id_hash); in pci_id_hash_free()[all …]
210 for (e=a->id_hash[h]; e; e=e->next) in pci_id_cache_flush()218 for (e2=a->id_hash[h]; e2 != e; e2=e2->next) in pci_id_cache_flush()
88 struct id_entry **id_hash; /* names.c */ member