Home
last modified time | relevance | path

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

/openbsd/src/lib/libc/db/hash/
Dhash_page.c652 max_free = hashp->SPARES[splitnum]; in overflow_page()
683 hashp->LAST_FREED = hashp->SPARES[splitnum]; in overflow_page()
684 hashp->SPARES[splitnum]++; in overflow_page()
685 offset = hashp->SPARES[splitnum] - in overflow_page()
686 (splitnum ? hashp->SPARES[splitnum - 1] : 0); in overflow_page()
696 hashp->SPARES[splitnum] = hashp->SPARES[splitnum-1]; in overflow_page()
697 hashp->SPARES[splitnum-1]--; in overflow_page()
723 hashp->SPARES[splitnum]++; in overflow_page()
736 hashp->SPARES[splitnum] = hashp->SPARES[splitnum-1]; in overflow_page()
737 hashp->SPARES[splitnum-1]--; in overflow_page()
[all …]
Dhash.c166 bpages = (hashp->SPARES[hashp->OVFL_POINT] + in __hash_open()
281 memset(hashp->SPARES, 0, sizeof(hashp->SPARES)); in init_hash()
344 hashp->SPARES[l2] = l2 + 1; in init_htab()
345 hashp->SPARES[l2 + 1] = l2 + 1; in init_htab()
391 "spares[%d] = %d\n", i, hashp->SPARES[i]); in hdestroy()
812 hashp->SPARES[spare_ndx] = hashp->SPARES[hashp->OVFL_POINT]; in __expand_table()
Dhash.h171 (B) + hashp->HDRPAGES + ((B) ? hashp->SPARES[__log2((B)+1)-1] : 0)
286 #define SPARES hdr.spares macro