/macosx-10.9.5/BerkeleyDB-21/db/java/src/com/sleepycat/db/ |
H A D | CacheFile.java | 19 private DbMpoolFile mpf; field in class:CacheFile 22 CacheFile(final DbMpoolFile mpf) { argument 23 this.mpf = mpf; 40 return CacheFilePriority.fromFlag(mpf.get_priority()); 64 mpf.set_priority(priority.getFlag()); 83 return mpf.get_maxsize(); 103 mpf.set_maxsize(bytes); 122 return (mpf.get_flags() & DbConstants.DB_MPOOL_NOFILE) != 0; 144 mpf [all...] |
/macosx-10.9.5/BerkeleyDB-21/db/cxx/ |
H A D | cxx_mpool.cpp | 20 // that should be passed through to the C method (e.g., "(mpf, arg)") 26 DB_MPOOLFILE *mpf = unwrap(this); \ 28 if (mpf == NULL) \ 31 ret = mpf->_name _arglist; \ 33 DB_ERROR(DbEnv::get_DbEnv(mpf->env->dbenv), \ 41 DB_MPOOLFILE *mpf = unwrap(this); \ 43 mpf->_name _arglist; \ 63 DB_MPOOLFILE *mpf = unwrap(this); local 65 DbEnv *dbenv = DbEnv::get_DbEnv(mpf->env->dbenv); 67 if (mpf [all...] |
/macosx-10.9.5/BerkeleyDB-21/db/dbinc/ |
H A D | fop.h | 18 (void)__memp_set_flags((D)->mpf, DB_MPOOL_NOFILE, 1); \ 23 (void)__memp_set_flags((D)->mpf, DB_MPOOL_NOFILE, 0); \
|
/macosx-10.9.5/BerkeleyDB-21/db/dist/template/ |
H A D | rec_ctemp | 19 DB_MPOOLFILE *mpf; 29 if ((ret = mpf->get(mpf, &argp->pgno, 0, &pagep)) != 0) 31 if ((ret = mpf->get(mpf, 57 if (ret = mpf->put(mpf, pagep, modified ? DB_MPOOL_DIRTY : 0))
|
/macosx-10.9.5/BerkeleyDB-21/db/hash/ |
H A D | hash_meta.c | 27 DB_MPOOLFILE *mpf; local 33 mpf = dbp->mpf; 41 if ((ret = __memp_fget(mpf, &hashp->meta_pgno, 57 DB_MPOOLFILE *mpf; local 61 mpf = dbc->dbp->mpf; 65 if ((ret = __memp_fput(mpf, 97 return (__memp_dirty(dbp->mpf,
|
H A D | hash_rec.c | 75 DB_MPOOLFILE *mpf; local 86 if ((ret = __memp_fget(mpf, &argp->pgno, ip, NULL, 104 if ((ret = __memp_fget(mpf, &argp->pgno, ip, NULL, 131 REC_DIRTY(mpf, ip, file_dbp->priority, &pagep); 148 REC_DIRTY(mpf, ip, file_dbp->priority, &pagep); 153 if ((ret = __memp_fput(mpf, ip, pagep, file_dbp->priority)) != 0) 162 (void)__memp_fput(mpf, ip, pagep, file_dbp->priority); 186 DB_MPOOLFILE *mpf; local 195 REC_FGET(mpf, ip, argp->new_pgno, &pagep, ppage); 211 REC_DIRTY(mpf, i 326 DB_MPOOLFILE *mpf; local 426 DB_MPOOLFILE *mpf; local 531 DB_MPOOLFILE *mpf; local 638 DB_MPOOLFILE *mpf; local 832 DB_MPOOLFILE *mpf; local 953 DB_MPOOLFILE *mpf; local 1007 DB_MPOOLFILE *mpf; local 1082 DB_MPOOLFILE *mpf; local 1211 DB_MPOOLFILE *mpf; local 1391 DB_MPOOLFILE *mpf; local 1477 DB_MPOOLFILE *mpf; local [all...] |
H A D | hash_open.c | 114 __memp_set_last_pgno(dbp->mpf, 316 * is NULL, then this is an unnamed file, the mpf has been set in the dbp 340 DB_MPOOLFILE *mpf; local 350 mpf = dbp->mpf; 358 if ((ret = __memp_fget(mpf, &lpgno, ip, txn, 367 ret = __memp_fput(mpf, ip, meta, dbp->priority); 373 if ((ret = __memp_fget(mpf, &lpgno, ip, txn, 382 ret = __memp_fput(mpf, ip, page, dbp->priority); 432 (void)__memp_fput(mpf, i 455 DB_MPOOLFILE *mpf; local [all...] |
/macosx-10.9.5/BerkeleyDB-21/db/db/ |
H A D | db_setlsn.c | 66 DB_MPOOLFILE *mpf; local 93 mpf = dbp->mpf; 95 (ret = __memp_fget(mpf, 99 if ((ret = __memp_fput(mpf,
|
H A D | db_rec.c | 42 DB_MPOOLFILE *mpf; local 51 REC_FGET(mpf, ip, argp->pgno, &pagep, done); 60 REC_DIRTY(mpf, ip, dbc->priority, &pagep); 70 REC_DIRTY(mpf, ip, dbc->priority, &pagep); 84 if ((ret = __memp_fput(mpf, ip, pagep, dbc->priority)) != 0) 92 (void)__memp_fput(mpf, ip, pagep, dbc->priority); 112 DB_MPOOLFILE *mpf; local 121 REC_FGET(mpf, ip, argp->pgno, &pagep, ppage); 136 REC_DIRTY(mpf, ip, file_dbp->priority, &pagep); 152 REC_DIRTY(mpf, i 253 DB_MPOOLFILE *mpf; local 340 DB_MPOOLFILE *mpf; local 391 DB_MPOOLFILE *mpf; local 801 DB_MPOOLFILE *mpf; local 835 DB_MPOOLFILE *mpf; local 914 DB_MPOOLFILE *mpf; local 997 DB_MPOOLFILE *mpf; local 1151 DB_MPOOLFILE *mpf; local 1452 DB_MPOOLFILE *mpf; local 1486 DB_MPOOLFILE *mpf; local 1521 DB_MPOOLFILE *mpf; local [all...] |
H A D | db_overflow.c | 78 DB_MPOOLFILE *mpf; local 87 mpf = dbp->mpf; 145 if ((ret = __memp_fget(mpf, &pgno, ip, txn, 0, &h)) != 0) 169 (void)__memp_fput(mpf, ip, 180 (void)__memp_fput(mpf, ip, h, dbp->priority); 200 DB_MPOOLFILE *mpf; local 213 mpf = dbp->mpf; 245 (void)__memp_fput(mpf, db 295 DB_MPOOLFILE *mpf; local 344 DB_MPOOLFILE *mpf; local 427 DB_MPOOLFILE *mpf; local 511 DB_MPOOLFILE *mpf; local [all...] |
H A D | db_meta.c | 104 DB_MPOOLFILE *mpf; local 113 mpf = dbp->mpf; 121 if ((ret = __memp_fget(mpf, &pgno, dbc->thread_info, dbc->txn, 135 if ((ret = __memp_fget(mpf, &pgno, dbc->thread_info, dbc->txn, 176 if ((ret = __memp_fget(mpf, &pgno, dbc->thread_info, dbc->txn, 186 ret = __memp_fput(mpf, dbc->thread_info, meta, dbc->priority); 210 if ((ret = __memp_get_freelist(dbp->mpf, &nelems, &list)) != 0) 216 dbp->mpf, nelems - 1, &list)) != 0) 243 (void)__memp_fput(mpf, db 266 DB_MPOOLFILE *mpf; local 603 DB_MPOOLFILE *mpf; local 704 DB_MPOOLFILE *mpf; local 834 DB_MPOOLFILE *mpf; local [all...] |
H A D | db_reclaim.c | 34 DB_MPOOLFILE *mpf; local 38 mpf = dbc->dbp->mpf; 42 if ((ret = __memp_fget(mpf, 54 ret = __memp_fput(mpf, 117 DB_MPOOLFILE *mpf; local 125 mpf = dbp->mpf; 148 if ((ret = __memp_dirty(mpf, 208 reinit: if ((ret = __memp_dirty(mpf, [all...] |
H A D | db_ovfl_vrfy.c | 303 DB_MPOOLFILE *mpf; local 309 mpf = dbp->mpf; 322 mpf, &pgno, vdp->thread_info, NULL, 0, &h)) != 0) 331 if ((ret = __memp_fput(mpf, 336 mpf, vdp->thread_info, h, DB_PRIORITY_UNCHANGED)) != 0) 349 if ((ret = __memp_fget(mpf, &pgno, 383 if ((ret = __memp_fput(mpf, 399 if (h != NULL && (t_ret = __memp_fput(mpf,
|
H A D | db_setid.c | 71 DB_MPOOLFILE *mpf; local 170 mpf = dbp->mpf; 184 if ((ret = __memp_fget(mpf, &pgno, ip, NULL, 188 if ((ret = __memp_fput(mpf, ip, pagep, dbcp->priority)) != 0)
|
/macosx-10.9.5/BerkeleyDB-21/db/qam/ |
H A D | qam_files.c | 41 DB_MPOOLFILE *mpf; local 56 mpf = dbp->mpf; 59 return (__memp_fget(mpf, &pgno, 62 return (__memp_fput(mpf, 65 return (__memp_dirty(mpf, addrp, 68 *(DB_MPOOLFILE **)addrp = mpf; 73 mpf = NULL; 76 * Need to lock long enough to find the mpf or create the file. 144 mpf 348 DB_MPOOLFILE *mpf; local 397 DB_MPOOLFILE *mpf; local 499 DB_MPOOLFILE *mpf; local [all...] |
H A D | qam_rec.c | 57 DB_MPOOLFILE *mpf; local 76 if ((ret = __memp_fget(mpf, &metapg, ip, NULL, 79 if ((ret = __memp_fget(mpf, &metapg, ip, NULL, 100 REC_DIRTY(mpf, ip, dbc->priority, &meta); 108 REC_DIRTY(mpf, ip, dbc->priority, &meta); 113 REC_DIRTY(mpf, ip, dbc->priority, &meta); 139 REC_DIRTY(mpf, ip, dbc->priority, &meta); 146 ret = __memp_fput(mpf, ip, meta, dbc->priority); 156 err: (void)__memp_fput(mpf, ip, meta, dbc->priority); 184 DB_MPOOLFILE *mpf; local 321 DB_MPOOLFILE *mpf; local 431 DB_MPOOLFILE *mpf; local 547 DB_MPOOLFILE *mpf; local [all...] |
H A D | qam_method.c | 59 DB_MPOOLFILE *mpf; local 76 mpf = mpfp->mpf; 77 mpfp->mpf = NULL; 78 if (mpf != NULL && (t_ret = __memp_fclose(mpf, 151 DB_MPOOLFILE *mpf; local 157 mpf = dbp->mpf; 162 if ((ret = __memp_fget(mpf, [all...] |
H A D | qam_open.c | 41 DB_MPOOLFILE *mpf; local 48 mpf = dbp->mpf; 88 if ((ret = __memp_fget(mpf, &base_pgno, ip, txn, 0, &qmeta)) != 0) 115 __memp_fput(mpf, ip, qmeta, dbc->priority)) != 0 && ret == 0) 293 DB_MPOOLFILE *mpf; local 312 mpf = dbp->mpf; 314 if ((ret = __memp_fget(mpf, &pgno, ip, txn, 325 __memp_fput(mpf, i [all...] |
/macosx-10.9.5/BerkeleyDB-21/db/btree/ |
H A D | bt_rsearch.c | 66 DB_MPOOLFILE *mpf; local 76 mpf = dbp->mpf; 136 ret = __memp_fput(mpf, 173 ret = __memp_fput(mpf, 260 if ((ret = __memp_fput(mpf, 279 if ((ret = __memp_fget(mpf, &pg, 285 err: if (h != NULL && (t_ret = __memp_fput(mpf, 308 DB_MPOOLFILE *mpf; local 315 mpf 364 DB_MPOOLFILE *mpf; local [all...] |
H A D | bt_rec.c | 41 DB_MPOOLFILE *mpf; local 76 REC_FGET(mpf, ip, argp->left, &lp, right); 77 right: REC_FGET(mpf, ip, argp->right, &rp, redo); 88 REC_FGET(mpf, ip, root_pgno, &pp, do_left); 142 REC_DIRTY(mpf, ip, file_dbp->priority, &lp); 145 if ((ret = __memp_fput(mpf, 152 REC_DIRTY(mpf, ip, file_dbp->priority, &rp); 155 if ((ret = __memp_fput(mpf, 176 REC_DIRTY(mpf, ip, file_dbp->priority, &pp); 183 if ((ret = __memp_fput(mpf, 343 DB_MPOOLFILE *mpf; local 453 DB_MPOOLFILE *mpf; local 523 DB_MPOOLFILE *mpf; local 607 DB_MPOOLFILE *mpf; local 681 DB_MPOOLFILE *mpf; local 789 DB_MPOOLFILE *mpf; local 852 DB_MPOOLFILE *mpf; local 915 DB_MPOOLFILE *mpf; local 999 DB_MPOOLFILE *mpf; local 1105 DB_MPOOLFILE *mpf; local 1283 DB_MPOOLFILE *mpf; local 1459 DB_MPOOLFILE *mpf; local 1549 DB_MPOOLFILE *mpf; local [all...] |
H A D | bt_open.c | 280 DB_MPOOLFILE *mpf; local 288 mpf = dbp->mpf; 299 if ((ret = __memp_fget(mpf, &base_pgno, ip, dbc->txn, 0, &meta)) != 0) 318 __memp_set_last_pgno(mpf, meta->dbmeta.last_pgno); 336 if (meta != NULL && (t_ret = __memp_fput(mpf, 427 DB_MPOOLFILE *mpf; local 436 mpf = dbp->mpf; 444 if ((ret = __memp_fget(mpf, 549 DB_MPOOLFILE *mpf; local [all...] |
H A D | bt_delete.c | 223 DB_MPOOLFILE *mpf; local 232 mpf = dbp->mpf; 276 if ((ret = __memp_dirty(mpf, 296 ret = __memp_fput(mpf, dbc->thread_info, epg->page, dbc->priority); 305 if ((t_ret = __memp_fput(mpf, dbc->thread_info, 317 if ((ret = __memp_dirty(mpf, &epg->page, 356 (void)__memp_fput(mpf, dbc->thread_info, 388 if ((ret = __memp_fget(mpf, &pgno, dbc->thread_info, dbc->txn, 419 if ((ret = __memp_fget(mpf, 508 DB_MPOOLFILE *mpf; local [all...] |
H A D | bt_search.c | 70 DB_MPOOLFILE *mpf; local 76 mpf = dbp->mpf; 96 if ((ret = __memp_fget(mpf, &pg, 117 ret = __memp_fput(mpf, dbc->thread_info, h, dbc->priority); 125 if ((ret = __memp_fget(mpf, &pg, 136 ret = __memp_fput(mpf, 171 DB_MPOOLFILE *mpf; local 183 mpf = dbp->mpf; 635 DB_MPOOLFILE *mpf; local [all...] |
H A D | bt_stat.c | 36 DB_MPOOLFILE *mpf; local 50 mpf = dbp->mpf; 65 if ((ret = __memp_fget(mpf, &pgno, 76 if ((ret = __memp_fget(mpf, &pgno, 81 if ((ret = __memp_fput(mpf, 91 if ((ret = __memp_fget(mpf, &pgno, 99 ret = __memp_fput(mpf, dbc->thread_info, h, dbc->priority); 119 ret = __memp_fput(mpf, dbc->thread_info, meta, dbc->priority); 130 if ((ret = __memp_fget(mpf, 567 DB_MPOOLFILE *mpf; local [all...] |
/macosx-10.9.5/BerkeleyDB-21/db/test/ |
H A D | mpoolscript.tcl | 110 set mpf [lindex $mpools $fnum] 117 set pp [$mpf get -create -dirty $p] 119 [is_valid_page $pp $mpf] TRUE 145 set mpf [lindex $mpools 0] 148 set p [$mpf get -create $i] 149 error_check_good mp_get [is_valid_page $p $mpf] TRUE
|