Home
last modified time | relevance | path

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

/openbsd/lib/libc/db/hash/
H A Dhash_page.c448 (hashp->NKEYS / (hashp->MAX_BUCKET + 1) > hashp->FFACTOR)) in __addel()
469 if (hashp->FFACTOR == DEF_FFACTOR) { in __add_ovflpage()
470 hashp->FFACTOR = sp[0] >> 1; in __add_ovflpage()
471 if (hashp->FFACTOR < MIN_FFACTOR) in __add_ovflpage()
472 hashp->FFACTOR = MIN_FFACTOR; in __add_ovflpage()
H A Dhash.c209 "FILL FACTOR ", hashp->FFACTOR, in __hash_open()
279 hashp->FFACTOR = DEF_FFACTOR; in init_hash()
303 hashp->FFACTOR = info->ffactor; in init_hash()
339 nelem = (nelem - 1) / hashp->FFACTOR + 1; in init_htab()
H A Dhash.h281 #define FFACTOR hdr.ffactor macro