Home
last modified time | relevance | path

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

/freebsd/lib/libc/db/hash/
H A Dhash.c159 nsegs = howmany(hashp->MAX_BUCKET + 1, hashp->SGSIZE); in __hash_open()
211 "MAX BUCKET ", hashp->MAX_BUCKET, in __hash_open()
356 hashp->MAX_BUCKET = hashp->LOW_MASK = nbuckets - 1; in init_htab()
390 hashp->NKEYS, hashp->MAX_BUCKET, hashp->nsegs); in hdestroy()
719 bucket <= hashp->MAX_BUCKET; in hash_seq()
730 if ((u_int32_t)hashp->cbucket > hashp->MAX_BUCKET) { in hash_seq()
795 new_bucket = ++hashp->MAX_BUCKET; in __expand_table()
796 old_bucket = (hashp->MAX_BUCKET & hashp->LOW_MASK); in __expand_table()
821 spare_ndx = __log2(hashp->MAX_BUCKET + 1); in __expand_table()
861 if (bucket > hashp->MAX_BUCKET) in __call_hash()
H A Dhash.h278 #define MAX_BUCKET hdr.max_bucket macro
H A Dhash_page.c452 (hashp->NKEYS / (hashp->MAX_BUCKET + 1) > hashp->FFACTOR)) in __addel()