Searched refs:HTAB (Results 1 – 7 of 7) sorted by relevance
/freebsd/lib/libc/db/hash/ |
H A D | extern.h | 32 BUFHEAD *__add_ovflpage(HTAB *, BUFHEAD *); 33 int __addel(HTAB *, BUFHEAD *, const DBT *, const DBT *); 34 int __big_delete(HTAB *, BUFHEAD *); 35 int __big_insert(HTAB *, BUFHEAD *, const DBT *, const DBT *); 36 int __big_keydata(HTAB *, BUFHEAD *, DBT *, DBT *, int); 37 int __big_return(HTAB *, BUFHEAD *, int, DBT *, int); 38 int __big_split(HTAB *, BUFHEAD *, BUFHEAD *, BUFHEAD *, 40 int __buf_free(HTAB *, int, int); 41 void __buf_init(HTAB *, int); 42 u_int32_t __call_hash(HTAB *, char *, int); [all …]
|
H A D | hash.c | 55 static int alloc_segs(HTAB *, int); 56 static int flush_meta(HTAB *); 57 static int hash_access(HTAB *, ACTION, DBT *, DBT *); 66 static int hdestroy(HTAB *); 67 static HTAB *init_hash(HTAB *, const char *, const HASHINFO *); 68 static int init_htab(HTAB *, int); 70 static void swap_header(HTAB *); 97 HTAB *hashp; in __hash_open() 107 if (!(hashp = (HTAB *)calloc(1, sizeof(HTAB)))) in __hash_open() 237 HTAB *hashp; in hash_close() [all …]
|
H A D | ndbm.c | 188 HTAB *hp; in dbm_error() 190 hp = (HTAB *)db->internal; in dbm_error() 197 HTAB *hp; in dbm_clearerr() 199 hp = (HTAB *)db->internal; in dbm_clearerr() 207 return(((HTAB *)db->internal)->fp); in dbm_dirfno()
|
H A D | hash_page.c | 72 static u_int32_t *fetch_bitmap(HTAB *, int); 74 static int open_temp(HTAB *); 75 static u_int16_t overflow_page(HTAB *); 78 static int ugly_split(HTAB *, u_int32_t, BUFHEAD *, BUFHEAD *, int, int); 122 __delpair(HTAB *hashp, BUFHEAD *bufp, int ndx) in __delpair() 179 __split_page(HTAB *hashp, u_int32_t obucket, u_int32_t nbucket) in __split_page() 273 ugly_split(HTAB *hashp, in ugly_split() 394 __addel(HTAB *hashp, BUFHEAD *bufp, const DBT *key, const DBT *val) in __addel() 464 __add_ovflpage(HTAB *hashp, BUFHEAD *bufp) in __add_ovflpage() 514 __get_page(HTAB *hashp, char *p, u_int32_t bucket, int is_bucket, int is_disk, in __get_page() [all …]
|
H A D | hash_bigkey.c | 69 static int collect_key(HTAB *, BUFHEAD *, int, DBT *, int); 70 static int collect_data(HTAB *, BUFHEAD *, int, int); 82 __big_insert(HTAB *hashp, BUFHEAD *bufp, const DBT *key, const DBT *val) in __big_insert() 192 __big_delete(HTAB *hashp, BUFHEAD *bufp) in __big_delete() 269 __find_bigpair(HTAB *hashp, BUFHEAD *bufp, int ndx, char *key, int size) in __find_bigpair() 316 __find_last_page(HTAB *hashp, BUFHEAD **bpp) in __find_last_page() 355 __big_return(HTAB *hashp, BUFHEAD *bufp, int ndx, DBT *val, int set_current) in __big_return() 441 collect_data(HTAB *hashp, BUFHEAD *bufp, int len, int set) in collect_data() 494 __big_keydata(HTAB *hashp, BUFHEAD *bufp, DBT *key, DBT *val, int set) in __big_keydata() 508 collect_key(HTAB *hashp, BUFHEAD *bufp, int len, DBT *val, int set) in collect_key() [all …]
|
H A D | hash_buf.c | 67 static BUFHEAD *newbuf(HTAB *, u_int32_t, BUFHEAD *); 99 __get_buf(HTAB *hashp, u_int32_t addr, in __get_buf() 152 newbuf(HTAB *hashp, u_int32_t addr, BUFHEAD *prev_bp) in newbuf() 293 __buf_init(HTAB *hashp, int nbytes) in __buf_init() 316 __buf_free(HTAB *hashp, int do_free, int to_disk) in __buf_free() 347 __reclaim_buf(HTAB *hashp, BUFHEAD *bp) in __reclaim_buf()
|
H A D | hash.h | 115 } HTAB; typedef
|