Home
last modified time | relevance | path

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

/picolibc-latest/newlib/libc/search/
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 *,
44 int __delpair(HTAB *, BUFHEAD *, int);
46 int __find_bigpair(HTAB *, BUFHEAD *, int, char *, int);
47 __uint16_t __find_last_page(HTAB *, BUFHEAD **);
[all …]
Dhash_buf.c70 static BUFHEAD *newbuf(HTAB *, __uint32_t, BUFHEAD *);
109 extern BUFHEAD *
112 BUFHEAD *prev_bp, in __get_buf()
115 BUFHEAD *bp; in __get_buf()
149 (BUFHEAD *)((ptrdiff_t)bp | (intptr_t)is_disk_mask); in __get_buf()
163 static BUFHEAD *
166 BUFHEAD *prev_bp) in newbuf()
168 BUFHEAD *bp; /* The buffer we're going to use */ in newbuf()
169 BUFHEAD *xbp; /* Temp pointer */ in newbuf()
170 BUFHEAD *next_xbp; in newbuf()
[all …]
Dhash.h61 typedef struct _bufhead BUFHEAD; typedef
64 BUFHEAD *prev; /* LRU links */
65 BUFHEAD *next; /* LRU links */
66 BUFHEAD *ovfl; /* Overflow page buffer header */
78 typedef BUFHEAD **SEGMENT;
126 BUFHEAD *cpage; /* Current page */
140 BUFHEAD bufhead; /* Header of buffer lru list */
175 #define PTROF(X) ((BUFHEAD *)((ptrdiff_t)(X)&~0x3))
Dhash_bigkey.c73 static size_t collect_key(HTAB *, BUFHEAD *, size_t, DBT *, int);
74 static size_t collect_data(HTAB *, BUFHEAD *, size_t, int);
87 BUFHEAD *bufp, in __big_insert()
188 BUFHEAD *bufp) in __big_delete()
190 BUFHEAD *last_bfp, *rbufp; in __big_delete()
266 BUFHEAD *bufp, in __find_bigpair()
317 BUFHEAD **bpp) in __find_last_page()
319 BUFHEAD *bufp; in __find_last_page()
357 BUFHEAD *bufp, in __big_return()
362 BUFHEAD *save_p; in __big_return()
[all …]
Dpage.h85 BUFHEAD *newp;
86 BUFHEAD *oldp;
87 BUFHEAD *nextp;
Dhash_page.c75 (HTAB *, __uint32_t, BUFHEAD *, BUFHEAD *, int, int);
120 BUFHEAD *bufp, in __delpair()
175 BUFHEAD *new_bufp, *old_bufp; in __split_page()
269 BUFHEAD *old_bufp, in ugly_split()
270 BUFHEAD *new_bufp, in ugly_split()
274 BUFHEAD *bufp; /* Buffer header for ino */ in ugly_split()
279 BUFHEAD *last_bfp; /* Last buf header OVFL needing to be freed */ in ugly_split()
389 BUFHEAD *bufp, in __addel()
454 extern BUFHEAD *
455 __add_ovflpage(HTAB *hashp, BUFHEAD *bufp) in __add_ovflpage()
[all …]
Dhash.c622 BUFHEAD *rbufp;
623 BUFHEAD *bufp, *save_bufp;
752 BUFHEAD *bufp;