Lines Matching refs:mfp
40 MPOOLFILE *mfp;
47 mfp = dbmfp->mfp;
92 mf_offset = R_OFFSET(dbmp, mfp);
114 ++mfp->last_pgno;
115 *pgnoaddr = mfp->last_pgno;
116 bucket = BUCKET(mp, mf_offset, mfp->last_pgno);
143 if (dbmfp->addr != NULL && F_ISSET(mfp, MP_CAN_MMAP))
144 if (*pgnoaddr > mfp->orig_last_pgno) {
159 R_ADDR(dbmfp, *pgnoaddr * mfp->stat.st_pagesize);
161 ++mfp->stat.st_map;
237 ++mfp->stat.st_cache_hit;
244 sizeof(u_int8_t) + mfp->stat.st_pagesize, NULL, &bhp)) != 0)
283 if (mfp->clear_len == 0)
284 memset(bhp->buf, 0, mfp->stat.st_pagesize);
286 memset(bhp->buf, 0, mfp->clear_len);
288 memset(bhp->buf + mfp->clear_len, 0xdb,
289 mfp->stat.st_pagesize - mfp->clear_len);
294 ++mfp->stat.st_page_create;
311 __memp_bhfree(dbmp, mfp, bhp, 1);
316 ++mfp->stat.st_cache_miss;
324 if (bhp->pgno > mfp->last_pgno)
325 mfp->last_pgno = bhp->pgno;