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

/barrelfish-master/lib/libc/db/hash/
H A Dextern.h33 BUFHEAD *__add_ovflpage(HTAB *, BUFHEAD *);
34 int __addel(HTAB *, BUFHEAD *, const DBT *, const DBT *);
35 int __big_delete(HTAB *, BUFHEAD *);
36 int __big_insert(HTAB *, BUFHEAD *, const DBT *, const DBT *);
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 *,
[all...]
H A Dpage.h85 BUFHEAD *newp;
86 BUFHEAD *oldp;
87 BUFHEAD *nextp;
H A Dhash_buf.c71 static BUFHEAD *newbuf(HTAB *, u_int32_t, BUFHEAD *);
102 BUFHEAD *
104 BUFHEAD *prev_bp, /* If prev_bp set, indicates a new overflow page. */
107 BUFHEAD *bp;
141 (BUFHEAD *)((intptr_t)bp | is_disk_mask);
155 static BUFHEAD *
156 newbuf(HTAB *hashp, u_int32_t addr, BUFHEAD *prev_bp)
158 BUFHEAD *bp; /* The buffer we're going to use */
159 BUFHEAD *xb
[all...]
H A Dhash.h42 typedef struct _bufhead BUFHEAD; typedef in typeref:struct:_bufhead
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 */
141 #define PTROF(X) ((BUFHEAD *)((intptr_t)(X)&~0x3))
H A Dhash_bigkey.c73 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)
196 __big_delete(HTAB *hashp, BUFHEAD *bufp)
198 BUFHEAD *last_bfp, *rbufp;
273 __find_bigpair(HTAB *hashp, BUFHEAD *bufp, int ndx, char *key, int size)
320 __find_last_page(HTAB *hashp, BUFHEAD **bpp)
322 BUFHEAD *bufp;
359 __big_return(HTAB *hashp, BUFHEAD *bufp, int ndx, DBT *val, int set_current)
361 BUFHEAD *save_
[all...]
H A Dhash_page.c82 static int ugly_split(HTAB *, u_int32_t, BUFHEAD *, BUFHEAD *, int, int);
126 __delpair(HTAB *hashp, BUFHEAD *bufp, int ndx)
185 BUFHEAD *new_bufp, *old_bufp;
279 BUFHEAD *old_bufp,
280 BUFHEAD *new_bufp,
284 BUFHEAD *bufp; /* Buffer header for ino */
289 BUFHEAD *last_bfp; /* Last buf header OVFL needing to be freed */
398 __addel(HTAB *hashp, BUFHEAD *bufp, const DBT *key, const DBT *val)
467 BUFHEAD *
[all...]
H A Dhash.c575 BUFHEAD *rbufp;
576 BUFHEAD *bufp, *save_bufp;
702 BUFHEAD *bufp;

Completed in 34 milliseconds