52 #define HASHKEY(pgno) ((pgno - 1) % HASHSIZE) 61 #define MPOOL_DIRTY 0x01 62 #define MPOOL_PINNED 0x02 76 void (*pgin)
__P((
void *,
pgno_t,
void *));
78 void (*pgout)
__P((
void *,
pgno_t,
void *));
96 void __mpool_filter
__P((
MPOOL *,
void (*)(
void *,
pgno_t,
void *),
97 void (*)(
void *,
pgno_t,
void *),
void *));
99 void (*)(
void *,
pgno_t,
void *),
void *));
104 int __mpool_put
__P((
MPOOL *,
void *, u_int));
int mpool_put(MPOOL *mp, void *page, u_int flags)
void * mpool_get(MPOOL *mp, pgno_t pgno, u_int flags)
__BEGIN_DECLS MPOOL *__mpool_open __P((void *, int, pgno_t, pgno_t))
void mpool_filter(MPOOL *mp, void *pgin, void *pgout, void *pgcookie)
int mpool_sync(MPOOL *mp)
#define CIRCLEQ_HEAD(name, type)
void * mpool_new(MPOOL *mp, pgno_t *pgnoaddr)
MPOOL * mpool_open(void *key, int fd, pgno_t pagesize, pgno_t maxcache)
int mpool_close(MPOOL *mp)