Lines Matching refs:tab
132 did_hash_t *tab = (did_hash_t *)topo_mod_getspecific(mp);
134 int idx = did_dnhash(key) % tab->dph_hashlen;
136 tab->dph_nelems++;
138 topo_mod_dprintf(tab->dph_mod, "Insert [key=%p] into %p, bucket %d\n",
139 key, (void *)tab, idx);
140 if (tab->dph_hash[idx] == NULL) {
141 tab->dph_hash[idx] = new;
142 topo_mod_dprintf(tab->dph_mod, "first entry.\n");
147 for (assertchk = tab->dph_hash[idx];
151 new->dp_next = tab->dph_hash[idx];
152 tab->dph_hash[idx] = new;
160 did_hash_t *tab = (did_hash_t *)topo_mod_getspecific(mp);
161 int idx = did_dnhash(key) % tab->dph_hashlen;
163 e = tab->dph_hash[idx];