Home
last modified time | relevance | path

Searched refs:BUFHEAD (Results 1 – 7 of 7) sorted by relevance

/dragonfly/lib/libc/db/hash/
H A Dextern.h33 BUFHEAD *__add_ovflpage(HTAB *, BUFHEAD *);
35 int __big_delete(HTAB *, BUFHEAD *);
37 int __big_keydata(HTAB *, BUFHEAD *, DBT *, DBT *, int);
38 int __big_return(HTAB *, BUFHEAD *, int, DBT *, int);
39 int __big_split(HTAB *, BUFHEAD *, BUFHEAD *, BUFHEAD *,
44 int __delpair(HTAB *, BUFHEAD *, int);
46 int __find_bigpair(HTAB *, BUFHEAD *, int, char *, int);
47 uint16_t __find_last_page(HTAB *, BUFHEAD **);
48 void __free_ovflpage(HTAB *, BUFHEAD *);
49 BUFHEAD *__get_buf(HTAB *, uint32_t, BUFHEAD *, int);
[all …]
H A Dhash_buf.c68 static BUFHEAD *newbuf(HTAB *, uint32_t, BUFHEAD *);
99 BUFHEAD *
104 BUFHEAD *bp; in __get_buf()
152 static BUFHEAD *
156 BUFHEAD *xbp; /* Temp pointer */ in newbuf()
157 BUFHEAD *next_xbp; in newbuf()
174 BUFHEAD *ovfl; in newbuf()
190 if ((bp = (BUFHEAD *)calloc(1, sizeof(BUFHEAD))) == NULL) in newbuf()
296 BUFHEAD *bfp; in __buf_init()
319 BUFHEAD *bp; in __buf_free()
[all …]
H A Dhash_bigkey.c70 static int collect_key(HTAB *, BUFHEAD *, int, DBT *, int);
71 static int collect_data(HTAB *, BUFHEAD *, int, int);
193 __big_delete(HTAB *hashp, BUFHEAD *bufp) in __big_delete()
195 BUFHEAD *last_bfp, *rbufp; in __big_delete()
317 __find_last_page(HTAB *hashp, BUFHEAD **bpp) in __find_last_page()
319 BUFHEAD *bufp; in __find_last_page()
358 BUFHEAD *save_p; in __big_return()
446 BUFHEAD *xbp; in collect_data()
511 BUFHEAD *xbp; in collect_key()
551 BUFHEAD *np, /* Pointer to new bucket page */ in __big_split()
[all …]
H A Dhash.h42 typedef struct _bufhead BUFHEAD; typedef
45 BUFHEAD *prev; /* LRU links */
46 BUFHEAD *next; /* LRU links */
47 BUFHEAD *ovfl; /* Overflow page buffer header */
59 typedef BUFHEAD **SEGMENT;
100 BUFHEAD *cpage; /* Current page */
114 BUFHEAD bufhead; /* Header of buffer lru list */
142 #define PTROF(X) ((BUFHEAD *)((ptrdiff_t)(X)&~0x3))
H A Dpage.h85 BUFHEAD *newp;
86 BUFHEAD *oldp;
87 BUFHEAD *nextp;
H A Dhash_page.c79 static int ugly_split(HTAB *, uint32_t, BUFHEAD *, BUFHEAD *, int, int);
123 __delpair(HTAB *hashp, BUFHEAD *bufp, int ndx) in __delpair()
182 BUFHEAD *new_bufp, *old_bufp; in __split_page()
276 BUFHEAD *old_bufp, in ugly_split()
277 BUFHEAD *new_bufp, in ugly_split()
281 BUFHEAD *bufp; /* Buffer header for ino */ in ugly_split()
286 BUFHEAD *last_bfp; /* Last buf header OVFL needing to be freed */ in ugly_split()
464 BUFHEAD *
465 __add_ovflpage(HTAB *hashp, BUFHEAD *bufp) in __add_ovflpage()
800 __free_ovflpage(HTAB *hashp, BUFHEAD *obufp) in __free_ovflpage()
[all …]
H A Dhash.c569 BUFHEAD *rbufp; in hash_access()
570 BUFHEAD *bufp, *save_bufp; in hash_access()
697 BUFHEAD *bufp; in hash_seq()