• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10.1/BerkeleyDB-21/db/mp/

Lines Matching refs:mfp

236 __memp_file_stats(env, mfp, argp, countp, flags)
238 MPOOLFILE *mfp;
251 sp->st_map += mfp->stat.st_map;
252 sp->st_cache_hit += mfp->stat.st_cache_hit;
253 sp->st_cache_miss += mfp->stat.st_cache_miss;
254 sp->st_page_create += mfp->stat.st_page_create;
255 sp->st_page_in += mfp->stat.st_page_in;
256 sp->st_page_out += mfp->stat.st_page_out;
258 pagesize = mfp->stat.st_pagesize;
259 memset(&mfp->stat, 0, sizeof(mfp->stat));
260 mfp->stat.st_pagesize = pagesize;
266 __memp_count_files(env, mfp, argp, countp, flags)
268 MPOOLFILE *mfp;
282 sizeof(DB_MPOOL_FSTAT) + strlen(__memp_fns(dbmp, mfp)) + 1;
299 __memp_get_files(env, mfp, argp, countp, flags)
301 MPOOLFILE *mfp;
329 name = __memp_fns(dbmp, mfp);
332 *tstruct = mfp->stat;
339 pagesize = mfp->stat.st_pagesize;
340 memset(&mfp->stat, 0, sizeof(mfp->stat));
341 mfp->stat.st_pagesize = pagesize;
626 __memp_print_files(env, mfp, argp, countp, flags)
628 MPOOLFILE *mfp;
652 __db_msg(env, "File #%d: %s", *countp + 1, __memp_fns(dbmp, mfp));
653 __mutex_print_debug_single(env, "Mutex", mfp->mutex, flags);
655 MUTEX_LOCK(env, mfp->mutex);
656 STAT_ULONG("Reference count", mfp->mpf_cnt);
657 STAT_ULONG("Block count", mfp->block_cnt);
658 STAT_ULONG("Last page number", mfp->last_pgno);
659 STAT_ULONG("Original last page number", mfp->orig_last_pgno);
660 STAT_ULONG("Maximum page number", mfp->maxpgno);
661 STAT_LONG("Type", mfp->ftype);
662 STAT_LONG("Priority", mfp->priority);
663 STAT_LONG("Page's LSN offset", mfp->lsn_off);
664 STAT_LONG("Page's clear length", mfp->clear_len);
667 R_ADDR(dbmp->reginfo, mfp->fileid_off), "\tID");
670 if (mfp->deadfile)
672 if (mfp->file_written)
674 if (mfp->no_backing_file)
676 if (mfp->unlink_on_close)
681 fmap[*countp] = R_OFFSET(dbmp->reginfo, mfp);
683 MUTEX_UNLOCK(env, mfp->mutex);