Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/common/refhash/
H A Drefhash.c41 hp->rh_buckets = kmem_zalloc(bucket_count * sizeof (list_t), km_flags); in refhash_create()
42 if (hp->rh_buckets == NULL) { in refhash_create()
49 list_create(&hp->rh_buckets[i], sizeof (refhash_link_t), in refhash_create()
70 kmem_free(hp->rh_buckets, hp->rh_bucket_count * sizeof (list_t)); in refhash_destroy()
85 list_insert_tail(&hp->rh_buckets[bucket], lp); in refhash_insert()
96 list_remove(&hp->rh_buckets[bucket], lp); in refhash_delete()
121 for (lp = list_head(&hp->rh_buckets[bucket]); lp != NULL; in refhash_lookup()
122 lp = list_next(&hp->rh_buckets[bucket], lp)) { in refhash_lookup()
/illumos-gate/usr/src/uts/common/sys/
H A Drefhash.h37 list_t *rh_buckets; member