db_pgno_t
P_32_SWAP(p + sizeof(db_pgno_t));
p += sizeof(db_pgno_t);
__bt_pgout(void *t, db_pgno_t pg, void *pp)
p += sizeof(db_pgno_t);
p += sizeof(db_pgno_t);
P_32_SWAP(p + sizeof(db_pgno_t));
p += sizeof(db_pgno_t);
__bt_pgin(void *t, db_pgno_t pg, void *pp)
p += sizeof(db_pgno_t);
p += sizeof(db_pgno_t);
db_pgno_t pgno;
db_pgno_t pgno;
__bt_dnpage(DB *dbp, db_pgno_t pgno)
db_pgno_t i, pcont, pinternal, pleaf;
db_pgno_t i;
db_pgno_t pgno;
db_pgno_t ncache;
db_pgno_t npg;
__ovfl_put(BTREE *t, const DBT *dbt, db_pgno_t *pg)
db_pgno_t npg;
db_pgno_t pg;
memmove(&pg, p, sizeof(db_pgno_t));
memmove(&sz, (char *)p + sizeof(db_pgno_t), sizeof(u_int32_t));
db_pgno_t pg;
memmove(&pg, p, sizeof(db_pgno_t));
memmove(&sz, (char *)p + sizeof(db_pgno_t), sizeof(u_int32_t));
__bt_new(BTREE *t, db_pgno_t *npg)
memmove(kb, &pg, sizeof(db_pgno_t));
memmove(kb + sizeof(db_pgno_t),
memmove(db, &pg, sizeof(db_pgno_t));
memmove(db + sizeof(db_pgno_t),
db_pgno_t pg;
db_pgno_t pgno;
db_pgno_t pgno;
db_pgno_t pg;
db_pgno_t pg;
db_pgno_t pg;
db_pgno_t pg;
db_pgno_t pg;
db_pgno_t pg;
__bt_setcur(BTREE *t, db_pgno_t pgno, u_int idx)
db_pgno_t pgno;
db_pgno_t npg;
db_pgno_t lnpg, rnpg;
static int bt_preserve __P((BTREE *, db_pgno_t));
db_pgno_t pgno;
bt_preserve(BTREE *t, db_pgno_t pg)
#define LALIGN(n) (((n) + sizeof(db_pgno_t) - 1) & ~(sizeof(db_pgno_t) - 1))
#define NOVFLSIZE (sizeof(db_pgno_t) + sizeof(u_int32_t))
db_pgno_t pgno; /* page number stored on */
LALIGN(sizeof(u_int32_t) + sizeof(db_pgno_t) + sizeof(u_char) + (len))
*(db_pgno_t *)(void *)p = pgno; \
p += sizeof(db_pgno_t); \
db_pgno_t pgno; /* page number stored below */
LALIGN(sizeof(recno_t) + sizeof(db_pgno_t))
*(db_pgno_t *)(void *)p = pgno; \
db_pgno_t pgno; /* the page number */
db_pgno_t bt_free; /* next free page */
db_pgno_t pgno; /* this page's page number */
db_pgno_t prevpg; /* left sibling */
db_pgno_t nextpg; /* right sibling */
(sizeof(db_pgno_t) + sizeof(db_pgno_t) + sizeof(db_pgno_t) + \
PAGE *__bt_new __P((BTREE *, db_pgno_t *));
void __bt_pgin __P((void *, db_pgno_t, void *));
void __bt_pgout __P((void *, db_pgno_t, void *));
int __bt_push __P((BTREE *, db_pgno_t, int));
void __bt_setcur __P((BTREE *, db_pgno_t, u_int));
int __ovfl_put __P((BTREE *, const DBT *, db_pgno_t *));
int __bt_dnpage __P((DB *, db_pgno_t));
void __pgin_routine __P((void *, db_pgno_t, void *));
void __pgout_routine __P((void *, db_pgno_t, void *));
db_pgno_t pgno;
db_pgno_t bucket;
db_pgno_t seek_found_page;
db_pgno_t bucket;
db_pgno_t pgno;
db_pgno_t next_pgno;
db_pgno_t last_page;
db_pgno_t next_pgno;
collect_key(HTAB *hashp, PAGE16 *pagep, int32_t len, db_pgno_t *last_page)
db_pgno_t next_pgno;
db_pgno_t save_addr;
db_pgno_t next_pgno;
db_pgno_t save_addr;
static int32_t collect_key __P((HTAB *, PAGE16 *, int32_t, db_pgno_t *));
page_to_oaddr(HTAB *hashp, db_pgno_t pgno)
account_page(HTAB *hashp, db_pgno_t pgno, int inout)
db_pgno_t pgno;
db_pgno_t to_find, next_pgno, link_page;
db_pgno_t next_pgno;
db_pgno_t next_pgno;
db_pgno_t next_pgno;
NEXT_PGNO(pagep) = (db_pgno_t)OADDR_TO_PAGE(ovfl_num);
page_init(HTAB * hashp, PAGE16 * pagep, db_pgno_t pgno, u_int8_t type)
db_pgno_t pgno;
db_pgno_t paddr;
static void page_init __P((HTAB *, PAGE16 *, db_pgno_t, u_int8_t));
is_bitmap_pgno(HTAB *hashp, db_pgno_t pgno)
__pgin_routine(void *pg_cookie, db_pgno_t pgno, void *page)
static void account_page(HTAB *, db_pgno_t, int);
__pgout_routine(void *pg_cookie, db_pgno_t pgno, void *page)
db_pgno_t paddr;
db_pgno_t next_pgno;
#define PREV_PGNO(P) (REFERENCE((P), db_pgno_t, I_PREV_PGNO))
#define NEXT_PGNO(P) (REFERENCE((P), db_pgno_t, I_NEXT_PGNO))
mpool_new(MPOOL *mp, db_pgno_t *pgnoaddr, u_int flags)
mpool_get(MPOOL *mp, db_pgno_t pgno, u_int flags)
mpool_look(MPOOL *mp, db_pgno_t pgno)
static BKT *mpool_look __P((MPOOL *, db_pgno_t));
mpool_open(void *key, int fd, db_pgno_t pagesize, db_pgno_t maxcache)
mpool_filter(MPOOL *mp, void (*pgin) __P((void *, db_pgno_t, void *)),
void (*pgout) __P((void *, db_pgno_t, void *)), void *pgcookie)
MPOOL *mpool_open __P((void *, int, db_pgno_t, db_pgno_t));
void mpool_filter __P((MPOOL *, void (*)(void *, db_pgno_t, void *),
void (*)(void *, db_pgno_t, void *), void *));
void *mpool_new __P((MPOOL *, db_pgno_t *, u_int));
void *mpool_get __P((MPOOL *, db_pgno_t, u_int));
db_pgno_t pgno; /* page number */
db_pgno_t curcache; /* current number of cached pages */
db_pgno_t maxcache; /* max number of cached pages */
db_pgno_t npages; /* number of pages in the file */
void (*pgin) __P((void *, db_pgno_t, void *));
void (*pgout) __P((void *, db_pgno_t, void *));
db_pgno_t pg;
*(u_int32_t *)(void *)(db + sizeof(db_pgno_t)) = data->size;
db_pgno_t pg;
db_pgno_t pg;
db_pgno_t pg;
db_pgno_t pg;
db_pgno_t pg;