Searched refs:BUFHEAD (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 *, 43 int __delpair(HTAB *, BUFHEAD *, int); 45 int __find_bigpair(HTAB *, BUFHEAD *, int, char *, int); 46 u_int16_t __find_last_page(HTAB *, BUFHEAD **); [all …]
|
H A D | hash_buf.c | 67 static BUFHEAD *newbuf(HTAB *, u_int32_t, BUFHEAD *); 98 BUFHEAD * 100 BUFHEAD *prev_bp, /* If prev_bp set, indicates a new overflow page. */ in __get_buf() 103 BUFHEAD *bp; in __get_buf() 137 (BUFHEAD *)((intptr_t)bp | is_disk_mask); in __get_buf() 151 static BUFHEAD * 152 newbuf(HTAB *hashp, u_int32_t addr, BUFHEAD *prev_bp) in newbuf() 154 BUFHEAD *bp; /* The buffer we're going to use */ in newbuf() 155 BUFHEAD *xbp; /* Temp pointer */ in newbuf() 156 BUFHEAD *next_xbp; in newbuf() [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() 194 BUFHEAD *last_bfp, *rbufp; 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() 318 BUFHEAD *bufp; in __find_last_page() 355 __big_return(HTAB *hashp, BUFHEAD *bufp, int ndx, DBT *val, int set_current) in __big_return() 357 BUFHEAD *save_p; in __big_return() [all …]
|
H A D | hash.h | 41 typedef struct _bufhead BUFHEAD; typedef 44 BUFHEAD *prev; /* LRU links */ 45 BUFHEAD *next; /* LRU links */ 46 BUFHEAD *ovfl; /* Overflow page buffer header */ 58 typedef BUFHEAD **SEGMENT; 99 BUFHEAD *cpage; /* Current page */ 113 BUFHEAD bufhead; /* Header of buffer lru list */ 140 #define PTROF(X) ((BUFHEAD *)((intptr_t)(X)&~0x3))
|
H A D | page.h | 84 BUFHEAD *newp; 85 BUFHEAD *oldp; 86 BUFHEAD *nextp;
|
H A D | hash_page.c | 78 static int ugly_split(HTAB *, u_int32_t, BUFHEAD *, BUFHEAD *, int, int); 122 __delpair(HTAB *hashp, BUFHEAD *bufp, int ndx) in __delpair() 181 BUFHEAD *new_bufp, *old_bufp; in __split_page() 275 BUFHEAD *old_bufp, in ugly_split() 276 BUFHEAD *new_bufp, in ugly_split() 280 BUFHEAD *bufp; /* Buffer header for ino */ in ugly_split() 285 BUFHEAD *last_bfp; /* Last buf header OVFL needing to be freed */ in ugly_split() 394 __addel(HTAB *hashp, BUFHEAD *bufp, const DBT *key, const DBT *val) in __addel() 463 BUFHEAD * 464 __add_ovflpage(HTAB *hashp, BUFHEAD *bufp) in __add_ovflpage() [all …]
|
H A D | hash.c | 571 BUFHEAD *rbufp; in hash_access() 572 BUFHEAD *bufp, *save_bufp; in hash_access() 698 BUFHEAD *bufp; in hash_seq()
|