Home
last modified time | relevance | path

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

/picolibc-3.7.0-3.6.0/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.c71 static BUFHEAD *newbuf(HTAB *, __uint32_t, BUFHEAD *);
110 extern BUFHEAD *
113 BUFHEAD *prev_bp, in __get_buf()
116 BUFHEAD *bp; in __get_buf()
150 (BUFHEAD *)((ptrdiff_t)bp | (intptr_t)is_disk_mask); in __get_buf()
164 static BUFHEAD *
167 BUFHEAD *prev_bp) in newbuf()
169 BUFHEAD *bp; /* The buffer we're going to use */ in newbuf()
170 BUFHEAD *xbp; /* Temp pointer */ in newbuf()
171 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.c74 static size_t collect_key(HTAB *, BUFHEAD *, size_t, DBT *, int);
75 static size_t collect_data(HTAB *, BUFHEAD *, size_t, int);
88 BUFHEAD *bufp, in __big_insert()
189 BUFHEAD *bufp) in __big_delete()
191 BUFHEAD *last_bfp, *rbufp; in __big_delete()
267 BUFHEAD *bufp, in __find_bigpair()
318 BUFHEAD **bpp) in __find_last_page()
320 BUFHEAD *bufp; in __find_last_page()
358 BUFHEAD *bufp, in __big_return()
363 BUFHEAD *save_p; in __big_return()
[all …]
Dpage.h85 BUFHEAD *newp;
86 BUFHEAD *oldp;
87 BUFHEAD *nextp;
Dhash_page.c82 (HTAB *, __uint32_t, BUFHEAD *, BUFHEAD *, int, int);
127 BUFHEAD *bufp, 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()
396 BUFHEAD *bufp, in __addel()
461 extern BUFHEAD *
462 __add_ovflpage(HTAB *hashp, BUFHEAD *bufp) in __add_ovflpage()
[all …]
Dhash.c629 BUFHEAD *rbufp;
630 BUFHEAD *bufp, *save_bufp;
759 BUFHEAD *bufp;