Lines Matching defs:ht_buckets
217 static struct ht_elem **ht_buckets = NULL;
228 for (elem = ht_buckets[i]; elem != NULL; elem = next) {
235 free(ht_buckets);
237 ht_buckets = NULL;
243 assert(ht_buckets == NULL);
246 ht_buckets = safe_malloc(sizeof (*ht_buckets) * ht_buckets_num);
247 bzero(ht_buckets, sizeof (*ht_buckets) * ht_buckets_num);
291 for (elem = ht_buckets[i]; elem != NULL; elem = next) {
304 free(ht_buckets);
306 ht_buckets = new_ht_buckets;
322 elem = ht_buckets[h & (ht_buckets_num - 1)];
337 elem->next = ht_buckets[h & (ht_buckets_num - 1)];
338 ht_buckets[h & (ht_buckets_num - 1)] = elem;
3017 if (wip->pg == NULL && ht_buckets != NULL && ht_add(wip->fmri)) {
3849 if (ht_buckets != NULL)