Lines Matching defs:h_buckets
45 list_t **h_buckets;
97 hash->h_buckets = xcalloc(sizeof (list_t *) * nbuckets);
110 list_add(&hash->h_buckets[bucket], key);
137 (void) list_remove(&hash->h_buckets[bucket], key,
147 return (list_iter(hash->h_buckets[bucket], fun, private) < 0);
177 return (list_iter(hash->h_buckets[bucket], (int (*)())hash_find_list_cb,
218 if (hash->h_buckets[i] != NULL) {
219 if ((cbrc = list_iter(hash->h_buckets[i], fun,
235 num += list_count(hash->h_buckets[i]);
249 list_free(hash->h_buckets[i], datafree, private);
250 free(hash->h_buckets);
257 int min = list_count(hash->h_buckets[0]);
268 count = list_count(hash->h_buckets[i]);