/macosx-10.10/BerkeleyDB-21/db/db/ |
H A D | db_meta.c | 124 last = meta->last_pgno; 130 last = pgno = meta->last_pgno + 1; 168 pgno, (u_int32_t)type, newnext, meta->last_pgno)) != 0) 180 meta->last_pgno = pgno; 268 db_pgno_t last_pgno, next_pgno, pgno, prev_pgno; local 313 last_pgno = meta->last_pgno; 335 if (h->pgno != last_pgno) { 366 if (--last_pgno != *lp) 368 if (lp < list || last_pgno < [all...] |
H A D | db_rec.c | 426 if (argp->pgno > meta->last_pgno) 427 meta->last_pgno = argp->pgno; 438 meta->last_pgno = argp->last_pgno; 557 if (meta->last_pgno <= argp->pgno && (ret = __memp_ftruncate( 633 if (argp->pgno == argp->last_pgno) 634 meta->last_pgno = argp->pgno - 1; 644 if (meta->last_pgno < argp->pgno) 645 meta->last_pgno = argp->pgno; 665 if (DB_REDO(op) || (is_meta && meta->last_pgno < arg [all...] |
H A D | db.src | 148 * last_pgno: the last page in the file after this op (4.3+). 168 ARG last_pgno db_pgno_t lu 182 * last_pgno: the last page in the file before this op (4.3+). 200 ARG last_pgno db_pgno_t lu 222 * last_pgno: the last page in the file before this op (4.3+). 241 ARG last_pgno db_pgno_t lu 294 * last_pgno: current last page number. 303 ARG last_pgno db_pgno_t lu
|
H A D | db_vrfy.c | 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) { [all...] |
H A D | db_auto.c | 1503 argp->last_pgno = (db_pgno_t)uinttmp; 1517 next, last_pgno) 1528 db_pgno_t last_pgno; 1667 uinttmp = (u_int32_t)last_pgno; 1855 argp->last_pgno = (db_pgno_t)uinttmp; 1869 last_pgno) 1879 db_pgno_t last_pgno; 2017 uinttmp = (u_int32_t)last_pgno; 2373 argp->last_pgno = (db_pgno_t)uinttmp; 2400 last_pgno, dat [all...] |
H A D | db_autop.c | 370 (void)printf("\tlast_pgno: %lu\n", (u_long)argp->last_pgno); 465 (void)printf("\tlast_pgno: %lu\n", (u_long)argp->last_pgno); 598 (void)printf("\tlast_pgno: %lu\n", (u_long)argp->last_pgno); 696 (void)printf("\tlast_pgno: %lu\n", (u_long)argp->last_pgno);
|
H A D | db_upg.c | 480 * Update the meta->last_pgno field. 501 if ((ret = __db_lastpgno(dbp, real_name, fhp, &meta.last_pgno)) != 0)
|
/macosx-10.10/BerkeleyDB-21/db/common/ |
H A D | zerofill.c | 104 __db_zero_extend(env, fhp, pgno, last_pgno, pgsize) 107 db_pgno_t pgno, last_pgno; 117 for (; pgno <= last_pgno; pgno++)
|
/macosx-10.10/BerkeleyDB-21/db/dbinc_auto/ |
H A D | db_auto.h | 110 db_pgno_t last_pgno; member in struct:___db_pg_alloc_args 137 db_pgno_t last_pgno; member in struct:___db_pg_free_args 172 db_pgno_t last_pgno; member in struct:___db_pg_freedata_args 197 db_pgno_t last_pgno; member in struct:___db_pg_sort_args
|
H A D | hash_auto.h | 106 db_pgno_t last_pgno; member in struct:___ham_metagroup_args 131 db_pgno_t last_pgno; member in struct:___ham_groupalloc_args
|
/macosx-10.10/BerkeleyDB-21/db/dbinc/ |
H A D | db_verify.h | 42 #define IS_VALID_PGNO(x) ((x) <= vdp->last_pgno) 91 db_pgno_t last_pgno; member in struct:__vrfy_dbinfo
|
H A D | db_page.h | 82 db_pgno_t last_pgno; /* 32-35: Page number of last page in db. */ member in struct:_dbmeta33
|
H A D | mp.h | 369 db_pgno_t last_pgno; /* Last page in the file. */ member in struct:__mpoolfile
|
/macosx-10.10/BerkeleyDB-21/db/mp/ |
H A D | mp_method.c | 666 db_pgno_t last_pgno, pg; local 673 last_pgno = mfp->last_pgno; 676 if (pgno > last_pgno) { 688 } while (pg++ < last_pgno); 705 dbmfp->fhp, pgno, mfp->last_pgno, mfp->stat.st_pagesize); 714 mfp->last_pgno = pgno - 1; 715 if (mfp->last_flushed_pgno > mfp->last_pgno) 716 mfp->last_flushed_pgno = mfp->last_pgno; 900 dbmfp->mfp->last_pgno [all...] |
H A D | mp_fget.c | 187 *pgnoaddr = mfp->last_pgno; 210 * returned pages past the original end of the file, last_pgno will 457 if (*pgnoaddr > mfp->last_pgno) 458 mfp->last_pgno = *pgnoaddr; 538 mfp->last_pgno >= mfp->maxpgno) { 544 *pgnoaddr = mfp->last_pgno + 1; 553 extending = *pgnoaddr > mfp->last_pgno; 556 ret = *pgnoaddr > mfp->last_pgno ? DB_PAGE_NOTFOUND : 0; 617 if (flags == DB_MPOOL_NEW && *pgnoaddr != mfp->last_pgno + 1) { 618 *pgnoaddr = mfp->last_pgno [all...] |
H A D | mp_fopen.c | 108 db_pgno_t last_pgno; local 417 last_pgno = (db_pgno_t)(mbytes * (MEGABYTE / pagesize)); 418 last_pgno += (db_pgno_t)(bytes / pagesize); 419 if (last_pgno != 0) 420 --last_pgno; 423 alloc_mfp->last_pgno = last_pgno;
|
H A D | mp_fmethod.c | 514 *pgnoaddr = mfp->last_pgno;
|
/macosx-10.10/BerkeleyDB-21/db/hash/ |
H A D | hash_open.c | 115 hcp->hdr->dbmeta.last_pgno); 281 meta->dbmeta.last_pgno = pgno; 363 meta->dbmeta.last_pgno = lpgno; 401 meta->dbmeta.last_pgno = lpgno; 503 meta->spares[0] = mmeta->last_pgno + 1; 520 meta->max_bucket + 1, 0, mmeta->last_pgno)) != 0) 528 lpgno += mmeta->last_pgno; 535 mmeta->last_pgno = lpgno;
|
H A D | hash.src | 177 * last_pgno: the last page in the file before this op (4.3+). 201 ARG last_pgno db_pgno_t lu 215 * last_pgno: the last page in the file before this op (4.3+). 231 ARG last_pgno db_pgno_t lu
|
H A D | hash_rec.c | 768 * Finally, we need to potentially fix up the last_pgno field 794 mmeta->last_pgno = argp->last_pgno; 795 else if (DB_REDO(op) && mmeta->last_pgno < pgno) 796 mmeta->last_pgno = pgno; 905 * sure it reflects the the correct last_pgno. 909 mmeta->last_pgno = argp->last_pgno; 921 if (pgno > mmeta->last_pgno) { 923 mmeta->last_pgno [all...] |
H A D | hash_verify.c | 91 if (m->max_bucket > vdp->last_pgno) { 153 * than last_pgno. 156 if (BS_TO_PAGE(mbucket, m->spares) > vdp->last_pgno) { 554 if (pgno > vdp->last_pgno || 1051 if (++totpgs > vdp->last_pgno) {
|
H A D | hash_autop.c | 348 (void)printf("\tlast_pgno: %lu\n", (u_long)argp->last_pgno); 427 (void)printf("\tlast_pgno: %lu\n", (u_long)argp->last_pgno);
|
/macosx-10.10/BerkeleyDB-21/db/btree/ |
H A D | bt_open.c | 318 __memp_set_last_pgno(mpf, meta->dbmeta.last_pgno); 351 * to be updated later: last_pgno, root. 381 meta->dbmeta.last_pgno = pgno; 450 meta->dbmeta.last_pgno = 1; 490 meta->dbmeta.last_pgno = 1;
|
/macosx-10.10/BerkeleyDB-21/db/qam/ |
H A D | qam_open.c | 245 meta->dbmeta.last_pgno = 0;
|
H A D | qam_verify.c | 262 for (i = 1; i <= vdp->last_pgno; i++) {
|