Searched refs:h_buckets (Results 1 - 3 of 3) sorted by relevance
/freebsd-9.3-release/cddl/contrib/opensolaris/common/ctf/ |
H A D | ctf_hash.c | 46 hp->h_buckets = (ushort_t *)_CTF_EMPTY; 55 hp->h_buckets = ctf_alloc(sizeof (ushort_t) * hp->h_nbuckets); 58 if (hp->h_buckets == NULL || hp->h_chains == NULL) { 63 bzero(hp->h_buckets, sizeof (ushort_t) * hp->h_nbuckets); 120 hep->h_next = hp->h_buckets[h]; 121 hp->h_buckets[h] = hp->h_free++; 154 for (i = hp->h_buckets[h]; i != 0; i = hep->h_next) { 169 if (hp->h_buckets != NULL && hp->h_nbuckets != 1) { 170 ctf_free(hp->h_buckets, sizeof (ushort_t) * hp->h_nbuckets); 171 hp->h_buckets [all...] |
H A D | ctf_impl.h | 72 ushort_t *h_buckets; /* hash bucket array (chain indices) */ member in struct:ctf_hash
|
/freebsd-9.3-release/cddl/contrib/opensolaris/tools/ctf/cvt/ |
H A D | hash.c | 45 list_t **h_buckets; member in struct:hash 98 hash->h_buckets = xcalloc(sizeof (list_t *) * nbuckets); 111 list_add(&hash->h_buckets[bucket], key); 139 (void) list_remove(&hash->h_buckets[bucket], key, 149 return (list_iter(hash->h_buckets[bucket], fun, private) < 0); 180 return (list_iter(hash->h_buckets[bucket], hash_find_list_cb, 222 if (hash->h_buckets[i] != NULL) { 223 if ((cbrc = list_iter(hash->h_buckets[i], fun, 239 num += list_count(hash->h_buckets[i]); 253 list_free(hash->h_buckets[ [all...] |
Completed in 94 milliseconds