/src/lib/libc/db/hash/ |
extern.h | 34 BUFHEAD *__add_ovflpage(HTAB *, BUFHEAD *); 35 int __addel(HTAB *, BUFHEAD *, const DBT *, const DBT *); 36 int __big_delete(HTAB *, BUFHEAD *); 37 int __big_insert(HTAB *, BUFHEAD *, const DBT *, const DBT *); 38 int __big_keydata(HTAB *, BUFHEAD *, DBT *, DBT *, int); 39 int __big_return(HTAB *, BUFHEAD *, int, DBT *, int); 40 int __big_split(HTAB *, BUFHEAD *, BUFHEAD *, BUFHEAD *, [all...] |
page.h | 86 BUFHEAD *newp; 87 BUFHEAD *oldp; 88 BUFHEAD *nextp;
|
hash_buf.c | 72 static BUFHEAD *newbuf(HTAB *, uint32_t, BUFHEAD *); 88 #define MRU hashp->bufhead.next 89 #define LRU hashp->bufhead.prev 91 #define MRU_INSERT(B) BUF_INSERT((B), &hashp->bufhead) 103 BUFHEAD * 107 BUFHEAD *prev_bp, 111 BUFHEAD *bp; 143 (BUFHEAD *)(void *)((u_long)bp | is_disk_mask); 157 static BUFHEAD * [all...] |
hash.h | 47 typedef struct _bufhead BUFHEAD; 50 BUFHEAD *prev; /* LRU links */ 51 BUFHEAD *next; /* LRU links */ 52 BUFHEAD *ovfl; /* Overflow page buffer header */ 64 typedef BUFHEAD **SEGMENT; 104 BUFHEAD *cpage; /* Current page */ 118 BUFHEAD bufhead; /* Header of buffer lru list */ member in struct:htab 150 #define PTROF(X) ((BUFHEAD *)(void *)((u_long)(X)&~0x3))
|
hash_bigkey.c | 73 static int collect_key(HTAB *, BUFHEAD *, int, DBT *, int); 74 static int collect_data(HTAB *, BUFHEAD *, int, int); 86 __big_insert(HTAB *hashp, BUFHEAD *bufp, const DBT *key, const DBT *val) 219 __big_delete(HTAB *hashp, BUFHEAD *bufp) 221 BUFHEAD *last_bfp, *rbufp; 299 __find_bigpair(HTAB *hashp, BUFHEAD *bufp, int ndx, char *key, int size) 346 __find_last_page(HTAB *hashp, BUFHEAD **bpp) 348 BUFHEAD *bufp; 385 __big_return(HTAB *hashp, BUFHEAD *bufp, int ndx, DBT *val, int set_current) 387 BUFHEAD *save_p [all...] |
hash_page.c | 81 static int ugly_split(HTAB *, uint32_t, BUFHEAD *, BUFHEAD *, int, int); 133 __delpair(HTAB *hashp, BUFHEAD *bufp, int ndx) 188 BUFHEAD *new_bufp, *old_bufp; 286 BUFHEAD *old_bufp, 287 BUFHEAD *new_bufp, 292 BUFHEAD *bufp; /* Buffer header for ino */ 298 BUFHEAD *last_bfp; /* Last buf header OVFL needing to be freed */ 408 __addel(HTAB *hashp, BUFHEAD *bufp, const DBT *key, const DBT *val) 479 BUFHEAD * [all...] |
hash.c | 576 BUFHEAD *rbufp; 577 BUFHEAD *bufp, *save_bufp; 726 BUFHEAD *bufp = NULL; /* XXX: gcc */
|