61 extern u_int32_t (*__default_hash)
__P((
const void *,
size_t));
63 #ifdef HASH_STATISTICS 64 extern int hash_accesses, hash_collisions, hash_expansions, hash_overflows;
int __buf_free(HTAB *hashp, int do_free, int to_disk)
int __big_keydata(HTAB *hashp, BUFHEAD *bufp, DBT *key, DBT *val, int set)
BUFHEAD * __add_ovflpage(HTAB *hashp, BUFHEAD *bufp)
int __expand_table(HTAB *hashp)
int __addel(HTAB *hashp, BUFHEAD *bufp, const DBT *key, const DBT *val)
int __big_insert(HTAB *hashp, BUFHEAD *bufp, const DBT *key, const DBT *val)
u_int16_t __find_last_page(HTAB *hashp, BUFHEAD **bpp)
u_int32_t __call_hash(HTAB *hashp, char *k, int len)
u_int32_t __hash_log2(u_int32_t num)
int __delpair(HTAB *hashp, BUFHEAD *bufp, int ndx)
int __put_page(HTAB *hashp, char *p, u_int32_t bucket, int is_bucket, int is_bitmap)
BUFHEAD *__add_ovflpage __P((HTAB *, BUFHEAD *))
int __big_split(HTAB *hashp, BUFHEAD *op, BUFHEAD *np, BUFHEAD *big_keyp, int addr, u_int32_t obucket, SPLIT_RETURN *ret)
void __reclaim_buf(HTAB *hashp, BUFHEAD *bp)
int __get_page(HTAB *hashp, char *p, u_int32_t bucket, int is_bucket, int is_disk, int is_bitmap)
BUFHEAD * __get_buf(HTAB *hashp, u_int32_t addr, BUFHEAD *prev_bp, int newpage)
int __find_bigpair(HTAB *hashp, BUFHEAD *bufp, int ndx, char *key, int size)
int __ibitmap(HTAB *hashp, int pnum, int nbits, int ndx)
void __buf_init(HTAB *hashp, int nbytes)
int __split_page(HTAB *hashp, u_int32_t obucket, u_int32_t nbucket)
int __big_return(HTAB *hashp, BUFHEAD *bufp, int ndx, DBT *val, int set_current)
void __free_ovflpage(HTAB *hashp, BUFHEAD *obufp)
int __big_delete(HTAB *hashp, BUFHEAD *bufp)