Home
last modified time | relevance | path

Searched refs:dph_hash (Results 1 – 4 of 4) sorted by relevance

/illumos-gate/usr/src/lib/fm/topo/modules/common/pcibus/
H A Ddid_hash.c97 r->dph_hash = topo_mod_zalloc(hdl, in did_hash_create()
99 if (r->dph_hash == NULL) { in did_hash_create()
116 for (e = ht->dph_hash[idx]; e != NULL; ) { in did_hash_destroy()
123 ht->dph_hash, ht->dph_hashlen * sizeof (did_t *)); in did_hash_destroy()
138 if (tab->dph_hash[idx] == NULL) { in did_hash_insert()
139 tab->dph_hash[idx] = new; in did_hash_insert()
145 for (assertchk = tab->dph_hash[idx]; in did_hash_insert()
149 new->dp_next = tab->dph_hash[idx]; in did_hash_insert()
150 tab->dph_hash[idx] = new; in did_hash_insert()
161 e = tab->dph_hash[idx]; in did_hash_lookup()
H A Ddid_impl.h91 did_t **dph_hash; /* hash bucket array */ member
/illumos-gate/usr/src/lib/libdtrace/common/
H A Ddt_proc.c675 dt_proc_t *dpr, **dpp = &dph->dph_hash[pid & (dph->dph_hashlen - 1)]; in dt_proc_lookup()
892 dpr->dpr_hash = dph->dph_hash[dpr->dpr_pid & (dph->dph_hashlen - 1)]; in dt_proc_create()
893 dph->dph_hash[dpr->dpr_pid & (dph->dph_hashlen - 1)] = dpr; in dt_proc_create()
915 for (dpr = dph->dph_hash[h]; dpr != NULL; dpr = dpr->dpr_hash) { in dt_proc_grab()
986 dpr->dpr_hash = dph->dph_hash[h]; in dt_proc_grab()
987 dph->dph_hash[h] = dpr; in dt_proc_grab()
H A Ddt_proc.h98 dt_proc_t *dph_hash[1]; /* hash chains array */ member