Home
last modified time | relevance | path

Searched refs:ih_buckets (Results 1 – 2 of 2) sorted by relevance

/titanic_41/usr/src/lib/libipmi/common/
H A Dipmi_hash.c106 if ((ihp->ih_buckets = ipmi_zalloc(hp, in ipmi_hash_create()
119 ipmi_free(ihp->ih_handle, ihp->ih_buckets); in ipmi_hash_destroy()
195 while ((link = ihp->ih_buckets[idx]) != NULL) { in ipmi_hash_resize()
203 ihp->ih_buckets[idx] = link->ihl_next; in ipmi_hash_resize()
212 ipmi_free(hp, ihp->ih_buckets); in ipmi_hash_resize()
213 ihp->ih_buckets = nbuckets; in ipmi_hash_resize()
222 for (hl = ihp->ih_buckets[idx]; hl != NULL; hl = hl->ihl_next) { in ipmi_hash_lookup()
262 link->ihl_next = ihp->ih_buckets[idx]; in ipmi_hash_insert()
263 ihp->ih_buckets[idx] = link; in ipmi_hash_insert()
276 ipmi_hash_link_t **hlp = &ihp->ih_buckets[idx]; in ipmi_hash_remove()
H A Dipmi_impl.h49 ipmi_hash_link_t **ih_buckets; /* array of buckets */ member