Lines Matching refs:last_pgno
293 if ((ret = __memp_get_last_pgno(dbp->mpf, &vdp->last_pgno)) != 0)
580 M_32_SWAP(meta->last_pgno);
581 vdp->meta_last_pgno = meta->last_pgno;
636 for (i = 0; i <= vdp->last_pgno; i++) {
769 (int)((i + 1) * 50 / (vdp->last_pgno + 1)));
787 * extent pages that won't show up between 0 and vdp->last_pgno.
851 vdp->pgs_remaining = vdp->last_pgno + 1;
934 for (i = 0; i < vdp->last_pgno + 1; i++) {
1390 if (pgno == PGNO_BASE_MD && meta->last_pgno != vdp->last_pgno) {
1394 "Page %lu: last_pgno is not correct: %lu != %lu",
1396 (u_long)meta->last_pgno, (u_long)vdp->last_pgno));
1398 vdp->meta_last_pgno = meta->last_pgno;
1530 if (meta_pgno == PGNO_INVALID || meta_pgno > vdp->last_pgno) {
1604 progress = 100 - (int)(vdp->pgs_remaining * 50 / (vdp->last_pgno + 1));