Home
last modified time | relevance | path

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

/minix/lib/libc/db/hash/
H A Dhash_page.c681 max_free = hashp->SPARES[splitnum]; in overflow_page()
712 hashp->LAST_FREED = hashp->SPARES[splitnum]; in overflow_page()
713 hashp->SPARES[splitnum]++; in overflow_page()
714 offset = hashp->SPARES[splitnum] - in overflow_page()
715 (splitnum ? hashp->SPARES[splitnum - 1] : 0); in overflow_page()
725 hashp->SPARES[splitnum] = hashp->SPARES[splitnum-1]; in overflow_page()
726 hashp->SPARES[splitnum-1]--; in overflow_page()
752 hashp->SPARES[splitnum]++; in overflow_page()
765 hashp->SPARES[splitnum] = hashp->SPARES[splitnum-1]; in overflow_page()
766 hashp->SPARES[splitnum-1]--; in overflow_page()
[all …]
H A Dhash.h175 ((B) ? hashp->SPARES[__log2((uint32_t)((B)+1))-1] : 0)
290 #define SPARES hdr.spares macro
H A Dhash.c178 bpages = (hashp->SPARES[hashp->OVFL_POINT] + in __hash_open()
293 memset(hashp->SPARES, 0, sizeof(hashp->SPARES)); in init_hash()
359 hashp->SPARES[l2] = l2 + 1; in init_htab()
360 hashp->SPARES[l2 + 1] = l2 + 1; in init_htab()
407 "spares[%d] = %d\n", i, hashp->SPARES[i]); in hdestroy()
864 hashp->SPARES[spare_ndx] = hashp->SPARES[hashp->OVFL_POINT]; in __expand_table()