Searched refs:h_buckets (Results 1 – 2 of 2) sorted by relevance
47 hp->h_buckets = (ushort_t *)_CTF_EMPTY; in ctf_hash_create()56 hp->h_buckets = ctf_alloc(sizeof (ushort_t) * hp->h_nbuckets); in ctf_hash_create()59 if (hp->h_buckets == NULL || hp->h_chains == NULL) { in ctf_hash_create()64 bzero(hp->h_buckets, sizeof (ushort_t) * hp->h_nbuckets); in ctf_hash_create()121 hep->h_next = hp->h_buckets[h]; in ctf_hash_insert()122 hp->h_buckets[h] = hp->h_free++; in ctf_hash_insert()155 for (i = hp->h_buckets[h]; i != 0; i = hep->h_next) { in ctf_hash_lookup()170 if (hp->h_buckets != NULL && hp->h_nbuckets != 1) { in ctf_hash_destroy()171 ctf_free(hp->h_buckets, sizeof (ushort_t) * hp->h_nbuckets); in ctf_hash_destroy()172 hp->h_buckets = NULL; in ctf_hash_destroy()[all …]
77 ushort_t *h_buckets; /* hash bucket array (chain indices) */ member