52#define HASHKEY(pgno) ((pgno - 1) % HASHSIZE)
61#define MPOOL_DIRTY 0x01
62#define MPOOL_PINNED 0x02
97 void (*)(
void *,
pgno_t,
void *),
void *));
99 void (*)(
void *,
pgno_t,
void *),
void *));
int mpool_close(MPOOL *mp)
void * mpool_get(MPOOL *mp, pgno_t pgno, u_int flags)
void * mpool_new(MPOOL *mp, pgno_t *pgnoaddr)
int mpool_put(MPOOL *mp, void *page, u_int flags)
void mpool_filter(MPOOL *mp, void *pgin, void *pgout, void *pgcookie)
int mpool_sync(MPOOL *mp)
MPOOL * mpool_open(void *key, int fd, pgno_t pagesize, pgno_t maxcache)
__BEGIN_DECLS MPOOL *__mpool_open __P((void *, int, pgno_t, pgno_t))
CIRCLEQ_HEAD(_lqh, _bkt) lqh
void pgout __P((void *, pgno_t, void *))
void pgin __P((void *, pgno_t, void *))
CIRCLEQ_HEAD(_hqh, _bkt) hqh[HASHSIZE]