/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/db-4.7.25.NC/hash/ |
H A D | hash_meta.c | 23 __ham_get_meta(dbc) 24 DBC *dbc; 32 dbp = dbc->dbp; 35 hcp = (HASH_CURSOR *)dbc->internal; 37 if ((ret = __db_lget(dbc, 0, 42 dbc->thread_info, dbc->txn, DB_MPOOL_CREATE, &hcp->hdr)) != 0) 43 (void)__LPUT(dbc, hcp->hlock); 54 __ham_release_meta(dbc) 55 DBC *dbc; [all...] |
H A D | hash_reclaim.c | 33 DBC *dbc; local 38 if ((ret = __db_cursor(dbp, ip, txn, &dbc, 0)) != 0) 40 hcp = (HASH_CURSOR *)dbc->internal; 42 if ((ret = __ham_get_meta(dbc)) != 0) 46 if ((ret = __ham_dirty_meta(dbc, 0)) != 0) 50 F_SET(dbc, DBC_DONTLOCK); 52 if ((ret = __ham_traverse(dbc, 55 if ((ret = __dbc_close(dbc)) != 0) 57 if ((ret = __ham_release_meta(dbc)) != 0) 62 (void)__ham_release_meta(dbc); [all...] |
H A D | hash.c | 74 __ham_quick_delete(dbc) 75 DBC *dbc; 98 DB_ASSERT(dbc->env, IS_INITIALIZED(dbc)); 99 DB_ASSERT(dbc->env, dbc->internal->opd == NULL); 100 DB_ASSERT(dbc->env, !F_ISSET(dbc->dbp, DB_AM_SECONDARY)); 101 DB_ASSERT(dbc->env, 102 LIST_FIRST(&dbc [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/db-4.7.25.NC/cxx/ |
H A D | cxx_dbc.cpp | 33 DBC *dbc = this; \ 35 ret = dbc->_name _arglist; \ 37 DB_ERROR(DbEnv::get_DbEnv(dbc->dbenv), \ 48 DBC_METHOD(close, (void), (dbc), DB_RETOK_STD) 50 (dbc, countp, _flags), DB_RETOK_STD) 52 (dbc, _flags), DB_RETOK_DBCDEL) 57 DBC *dbc = this; local 60 ret = dbc->dup(dbc, &new_cursor, _flags); 66 DB_ERROR(DbEnv::get_DbEnv(dbc 75 DBC *dbc = this; local 97 DBC *dbc = this; local [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/db-4.7.25.NC/btree/ |
H A D | bt_reclaim.c | 28 DBC *dbc; local 33 if ((ret = __db_cursor(dbp, ip, txn, &dbc, 0)) != 0) 37 if ((ret = __db_lget(dbc, 42 F_SET(dbc, DBC_DONTLOCK); 45 ret = __bam_traverse(dbc, 46 DB_LOCK_WRITE, dbc->internal->root, __db_reclaim_callback, NULL); 48 if ((t_ret = __TLPUT(dbc, meta_lock)) != 0 && ret == 0) 52 err: if ((t_ret = __dbc_close(dbc)) != 0 && ret == 0) 65 __bam_truncate(dbc, countp) 66 DBC *dbc; [all...] |
H A D | bt_cursor.c | 48 #define ACQUIRE(dbc, mode, lpgno, lock, fpgno, pagep, flags, ret) do { \ 49 DB_MPOOLFILE *__mpf = (dbc)->dbp->mpf; \ 52 (dbc)->thread_info, pagep, dbc->priority); \ 56 if ((ret) == 0 && STD_LOCKING(dbc)) \ 58 dbc, LCK_COUPLE, lpgno, mode, flags, &(lock)); \ 61 (dbc)->thread_info, (dbc)->txn, 0, &(pagep)); \ 66 #define ACQUIRE_CUR(dbc, mode, p, flags, ret) do { \ 67 BTREE_CURSOR *__cp = (BTREE_CURSOR *)(dbc) [all...] |
H A D | bt_delete.c | 59 __bam_ditem(dbc, h, indx) 60 DBC *dbc; 71 dbp = dbc->dbp; 88 __db_doff(dbc, ((BOVERFLOW *)bi->data)->pgno)) != 0) 117 return (__bam_adjindx(dbc, 125 return (__bam_adjindx(dbc, 139 dbc, (GET_BOVERFLOW(dbp, h, indx))->pgno)) != 0) 154 if ((ret = __db_ditem(dbc, h, indx, nbytes)) != 0) 167 __bam_adjindx(dbc, h, indx, indx_copy, is_insert) 168 DBC *dbc; [all...] |
H A D | bt_recno.c | 76 #define CURADJ_LOG(dbc) \ 77 (DBC_LOGGING((dbc)) && (dbc)->txn != NULL && (dbc)->txn->parent != NULL) 88 if ((__t_ret = __TLPUT(dbc, (cp)->lock)) != 0 && (ret) == 0) \ 111 DBC *dbc; local 135 if ((ret = __db_cursor(dbp, ip, NULL, &dbc, 0)) != 0) 139 if ((ret = __ram_update(dbc, 144 if ((t_ret = __dbc_close(dbc)) != 0 && ret == 0) 158 __ram_append(dbc, ke 746 DBC *dbc; local 1023 DBC *dbc; local [all...] |
H A D | bt_rsearch.c | 56 __bam_rsearch(dbc, recnop, flags, stop, exactp) 57 DBC *dbc; 75 dbp = dbc->dbp; 77 cp = (BTREE_CURSOR *)dbc->internal; 98 if ((ret = __bam_get_root(dbc, cp->root, stop, flags, &stack)) != 0) 137 dbc->thread_info, h, dbc->priority); 139 __TLPUT(dbc, lock)) != 0 && ret == 0) 174 dbc->thread_info, 175 h, dbc [all...] |
H A D | bt_stat.c | 25 __bam_stat(dbc, spp, flags) 26 DBC *dbc; 42 dbp = dbc->dbp; 54 cp = (BTREE_CURSOR *)dbc->internal; 63 if ((ret = __db_lget(dbc, 0, pgno, DB_LOCK_READ, 0, &metalock)) != 0) 66 dbc->thread_info, dbc->txn, 0, &meta)) != 0) 77 dbc->thread_info, dbc->txn, 0, &h)) != 0) 82 dbc [all...] |
H A D | bt_compact.c | 84 DBC *dbc; local 101 dbc = NULL; 204 if ((ret = __db_cursor(dbp, ip, txn, &dbc, 0)) != 0) 207 if ((ret = __bam_compact_int(dbc, ¤t, stop, factor, 220 if ((t_ret = __dbc_close(dbc)) != 0 && ret == 0) 299 __bam_csearch(dbc, start, sflag, level) 300 DBC *dbc; 308 cp = (BTREE_CURSOR *)dbc->internal; 310 if (dbc->dbtype == DB_RECNO) { 316 __ram_getno(dbc, star 2341 DBC *dbc; local 2476 DBC *dbc; local [all...] |
H A D | bt_search.c | 60 __bam_get_root(dbc, pg, slevel, flags, stack) 61 DBC *dbc; 75 dbp = dbc->dbp; 77 cp = (BTREE_CURSOR *)dbc->internal; 89 (dbc->dbtype == DB_RECNO || F_ISSET(cp, C_RECNUM)); 94 if ((ret = __db_lget(dbc, 0, pg, lock_mode, 0, &lock)) != 0) 97 dbc->thread_info, dbc->txn, 0, &h)) != 0) { 99 (void)__LPUT(dbc, lock); 115 if (!STD_LOCKING(dbc)) [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/db-4.7.25.NC/qam/ |
H A D | qam.c | 28 #define DONT_NEED_LOCKS(dbc) ((dbc)->txn == NULL || \ 29 F_ISSET(dbc, DBC_READ_COMMITTED | DBC_READ_UNCOMMITTED)) 39 __qam_position(dbc, recnop, lock_mode, get_mode, exactp) 40 DBC *dbc; /* open cursor */ 52 dbp = dbc->dbp; 53 cp = (QUEUE_CURSOR *)dbc->internal; 58 if ((ret = __db_lget(dbc, 0, pg, lock_mode, 0, &cp->lock)) != 0) 62 if ((ret = __qam_fget(dbc, &pg, get_mode, &cp->page)) != 0) { 68 if ((t_ret = __LPUT(dbc, c [all...] |
H A D | qam_rec.c | 29 #define QAM_DIRTY(dbc, pgno, pagep) \ 30 if ((ret = __qam_dirty((dbc), \ 31 pgno, pagep, (dbc)->priority)) != 0) { \ 32 ret = __db_pgerr((dbc)->dbp, (pgno), ret); \ 54 DBC *dbc; local 73 if ((ret = __db_lget(dbc, 81 (void)__LPUT(dbc, lock); 88 ret = __LPUT(dbc, lock); 100 REC_DIRTY(mpf, ip, dbc->priority, &meta); 108 REC_DIRTY(mpf, ip, dbc 181 DBC *dbc; local 319 DBC *dbc; local 429 DBC *dbc; local 546 DBC *dbc; local [all...] |
H A D | qam_stat.c | 26 __qam_stat(dbc, spp, flags) 27 DBC *dbc; 44 dbp = dbc->dbp; 62 if ((ret = __db_lget(dbc, 0, t->q_meta, DB_LOCK_READ, 0, &lock)) != 0) 65 dbc->thread_info, dbc->txn, 0, &meta)) != 0) 77 ret = __memp_fput(mpf, dbc->thread_info, meta, dbc->priority); 78 if ((t_ret = __LPUT(dbc, lock)) != 0 && ret == 0) 95 __db_lget(dbc, [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/db-4.7.25.NC/dbm/ |
H A D | dbm.c | 199 DBC *dbc; local 238 if ((ret = dbp->cursor(dbp, NULL, &dbc, 0)) != 0) { 244 return ((DBM *)dbc); 255 DBC *dbc; local 257 dbc = (DBC *)dbm; 259 (void)dbc->dbp->close(dbc->dbp, 0); 272 DBC *dbc; local 277 dbc = (DBC *)dbm; 283 * Note that we can't simply use the dbc w 312 DBC *dbc; local 347 DBC *dbc; local 383 DBC *dbc; local 415 DBC *dbc; local 440 DBC *dbc; local 451 DBC *dbc; local 468 DBC *dbc; local 492 DBC *dbc; local [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/db-4.7.25.NC/db/ |
H A D | db_meta.c | 95 __db_new(dbc, type, pagepp) 96 DBC *dbc; 111 dbp = dbc->dbp; 118 if ((ret = __db_lget(dbc, 121 if ((ret = __memp_fget(mpf, &pgno, dbc->thread_info, dbc->txn, 135 if ((ret = __memp_fget(mpf, &pgno, dbc->thread_info, dbc->txn, 165 if (DBC_LOGGING(dbc)) { 166 if ((ret = __db_pg_alloc_log(dbp, dbc 699 DBC *dbc; local [all...] |
H A D | db_reclaim.c | 20 * callback(dbc, page, cookie, did_put), 28 __db_traverse_big(dbc, pgno, callback, cookie) 29 DBC *dbc; 38 mpf = dbc->dbp->mpf; 43 &pgno, dbc->thread_info, dbc->txn, 0, &p)) != 0) 52 if ((ret = callback(dbc, p, cookie, &did_put)) == 0 && 55 dbc->thread_info, p, dbc->priority); 73 __db_reclaim_callback(dbc, [all...] |
H A D | db_am.c | 44 DBC *dbc; local 81 TAILQ_FOREACH(dbc, &dbp->free_queue, links) 82 if (dbtype == dbc->dbtype) { 83 TAILQ_REMOVE(&dbp->free_queue, dbc, links); 84 F_CLR(dbc, ~DBC_OWN_LID); 89 if (dbc == NULL) { 90 if ((ret = __os_calloc(env, 1, sizeof(DBC), &dbc)) != 0) 93 dbc->flags = 0; 95 dbc->dbp = dbp; 96 dbc 320 DBC *dbc; local 437 DBC *dbc; local [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/db-4.7.25.NC/test/ |
H A D | sdbscript.tcl | 33 set dbc [$db cursor] 34 error_check_good db_cursor [is_valid_cursor $dbc $db] TRUE 36 for {set d [$dbc get -first]} {[llength $d] != 0} {set d [$dbc get -next]} { 40 error_check_good dbc_del [$dbc del] 0
|
H A D | rsrc002.tcl | 44 set dbc [eval {$db cursor} $txn] 45 error_check_good db_cursor [is_valid_cursor $dbc $db] TRUE 47 set rec [$dbc get -first] 49 set rec [$dbc get -next] 54 eval {$dbc get -set 4} 55 set ret [$dbc put -current "penguin"] 58 error_check_good dbc_close [$dbc close] 0
|
H A D | test052.tcl | 78 set dbc [eval {$db cursor} $txn] 79 error_check_good db_cursor [is_valid_cursor $dbc $db] TRUE 82 for {set i 1; set ret [$dbc get -first]} { [llength $ret] != 0} { \ 83 set ret [$dbc get -next]} { 94 set ret [$dbc get -set $k] 103 error_check_good dbc:data \ 104 [lindex [lindex [$dbc get -current] 0] 1] $darray($i) 105 error_check_good dbc:keys \ 106 [lindex [lindex [$dbc get -current] 0] 0] $keys([expr $nkeys/2 - 1]) 111 set ret [$dbc ge [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/db-4.7.25.NC/java/src/com/sleepycat/db/ |
H A D | Cursor.java | 49 /* package */ Dbc dbc; field in class:Cursor 59 Cursor(final Database database, final Dbc dbc, final CursorConfig config) argument 63 this.dbc = dbc; 70 if (dbc != null) { 72 dbc.close(); 74 dbc = null; 104 dbc.dup(samePosition ? DbConstants.DB_POSITION : 0), config); 151 return dbc.count(0); 174 return OperationStatus.fromInt(dbc [all...] |
H A D | JoinCursor.java | 75 private Dbc dbc; field in class:JoinCursor 79 final Dbc dbc, 82 this.dbc = dbc; 98 dbc.close(); 149 dbc.get(key, DatabaseEntry.IGNORE, 190 dbc.get(key, data, LockMode.getFlag(lockMode) | 78 JoinCursor(final Database database, final Dbc dbc, final JoinConfig config) argument
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/db-4.7.25.NC/rpc_client/ |
H A D | client.c | 367 __dbcl_c_destroy(dbc) 368 DBC *dbc; 373 dbp = dbc->dbp; 374 env = dbc->env; 376 TAILQ_REMOVE(&dbp->free_queue, dbc, links); 378 if (dbc->my_rskey.data != NULL) 379 __os_free(env, dbc->my_rskey.data); 380 if (dbc->my_rkey.data != NULL) 381 __os_free(env, dbc->my_rkey.data); 382 if (dbc 427 DBC *dbc, tmpdbc; local 474 DBC *dbc; local [all...] |