Home
last modified time | relevance | path

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

/freebsd/lib/libc/db/hash/
H A Dhash_page.c661 max_free = hashp->SPARES[splitnum]; in overflow_page()
692 hashp->LAST_FREED = hashp->SPARES[splitnum]; in overflow_page()
693 hashp->SPARES[splitnum]++; in overflow_page()
694 offset = hashp->SPARES[splitnum] - in overflow_page()
695 (splitnum ? hashp->SPARES[splitnum - 1] : 0); in overflow_page()
705 hashp->SPARES[splitnum] = hashp->SPARES[splitnum-1]; in overflow_page()
706 hashp->SPARES[splitnum-1]--; in overflow_page()
732 hashp->SPARES[splitnum]++; in overflow_page()
745 hashp->SPARES[splitnum] = hashp->SPARES[splitnum-1]; in overflow_page()
746 hashp->SPARES[splitnum-1]--; in overflow_page()
[all …]
H A Dhash.c167 bpages = (hashp->SPARES[hashp->OVFL_POINT] + in __hash_open()
282 memset(hashp->SPARES, 0, sizeof(hashp->SPARES)); in init_hash()
347 hashp->SPARES[l2] = l2 + 1; in init_htab()
348 hashp->SPARES[l2 + 1] = l2 + 1; in init_htab()
394 "spares[%d] = %d\n", i, hashp->SPARES[i]); in hdestroy()
823 hashp->SPARES[spare_ndx] = hashp->SPARES[hashp->OVFL_POINT]; in __expand_table()
H A Dhash.h169 (B) + hashp->HDRPAGES + ((B) ? hashp->SPARES[__log2((B)+1)-1] : 0)
284 #define SPARES hdr.spares macro