Lines Matching refs:mpool
1 /* $NetBSD: mpool.c,v 1.23 2016/09/24 21:31:25 christos Exp $ */
37 __RCSID("$NetBSD: mpool.c,v 1.23 2016/09/24 21:31:25 christos Exp $");
52 #include <mpool.h>
65 static BKT *mpool_bkt(MPOOL *);
66 static BKT *mpool_look(MPOOL *, pgno_t);
67 static int mpool_write(MPOOL *, BKT *);
74 MPOOL *
78 MPOOL *mp;
94 /* Allocate and initialize the MPOOL cookie. */
112 mpool_filter(MPOOL *mp, void (*pgin)(void *, pgno_t, void *),
125 mpool_newf(MPOOL *mp, pgno_t *pgnoaddr, unsigned int flags)
160 mpool_new(MPOOL *mp, pgno_t *pgnoaddr)
166 mpool_delete(MPOOL *mp, void *page)
196 mpool_get(MPOOL *mp, pgno_t pgno, unsigned int flags)
295 mpool_put(MPOOL *mp, void *page, u_int flags)
321 mpool_close(MPOOL *mp)
332 /* Free the MPOOL cookie. */
342 mpool_sync(MPOOL *mp)
361 mpool_bkt(MPOOL *mp)
418 mpool_write(MPOOL *mp, BKT *bp)
460 mpool_look(MPOOL *mp, pgno_t pgno)
486 MPOOL *mp;