(void)fprintf(fp, "    BH @ %lu (mf: %lu): page %lu; ref %lu", (u_long)R_OFFSET(dbmp, bhp), (u_long)bhp->mf_offset, (u_long)bhp->pgno, (u_long)bhp->ref); sep = "; "; if (F_ISSET(bhp, BH_DIRTY)) { (void)fprintf(fp, "%sdirty", sep); sep = ", "; } if (F_ISSET(bhp, BH_WRITE)) { (void)fprintf(fp, "%schk_write", sep); sep = ", "; }
if (fmap[i] == INVALID) (void)fprintf(fp, "  %4lu, %lu, %2lu, %lu", (u_long)bhp->pgno, (u_long)bhp->mf_offset, (u_long)bhp->ref, (u_long)R_OFFSET(dbmp, bhp)); else (void)fprintf(fp, "  %4lu,   #%d,  %2lu, %lu", (u_long)bhp->pgno, i + 1, (u_long)bhp->ref, (u_long)R_OFFSET(dbmp, bhp));  __db_prflags(bhp->flags, fn, fp);
__memp_pbh(fp, dbmp, bhp, data)	FILE *fp;	DB_MPOOL *dbmp;	BH *bhp;	int data;{	const char *sep;	if (!data)		return;	(void)fprintf(fp, "    BH @ %lu (mf: %lu): page %lu; ref %lu",	    (u_long)R_OFFSET(dbmp, bhp),	    (u_long)bhp->mf_offset, (u_long)bhp->pgno, (u_long)bhp->ref);	sep = "; ";	if (F_ISSET(bhp, BH_DIRTY)) {		(void)fprintf(fp, "%sdirty", sep);		sep = ", ";	}	if (F_ISSET(bhp, BH_WRITE)) {		(void)fprintf(fp, "%schk_write", sep);		sep = ", ";	}	(void)fprintf(fp, "\n");}