Home
last modified time | relevance | path

Searched refs:MAX_BUCKET (Results 1 – 3 of 3) sorted by relevance

/dragonfly/lib/libc/db/hash/
HDhash.c161 nsegs = (hashp->MAX_BUCKET + 1 + hashp->SGSIZE - 1) / in __hash_open()
214 "MAX BUCKET ", hashp->MAX_BUCKET, in __hash_open()
359 hashp->MAX_BUCKET = hashp->LOW_MASK = nbuckets - 1; in init_htab()
393 hashp->NKEYS, hashp->MAX_BUCKET, hashp->nsegs); in hdestroy()
718 bucket <= hashp->MAX_BUCKET; in hash_seq()
729 if ((uint32_t)hashp->cbucket > hashp->MAX_BUCKET) { in hash_seq()
794 new_bucket = ++hashp->MAX_BUCKET; in __expand_table()
795 old_bucket = (hashp->MAX_BUCKET & hashp->LOW_MASK); in __expand_table()
820 spare_ndx = __log2(hashp->MAX_BUCKET + 1); in __expand_table()
860 if (bucket > hashp->MAX_BUCKET) in __call_hash()
HDhash.h280 #define MAX_BUCKET hdr.max_bucket macro
HDhash_page.c453 (hashp->NKEYS / (hashp->MAX_BUCKET + 1) > hashp->FFACTOR)) in __addel()