Lines Matching refs:tmpdbp
1111 DB *tmpdbp;
1121 tmpdbp = NULL;
1138 if ((ret = __db_create_internal(&tmpdbp, env, 0)) != 0)
1143 __fop_inmem_dummy(tmpdbp, stxn, back, mbuf) :
1144 __fop_ondisk_dummy(tmpdbp, stxn, back, mbuf, flags);
1150 __fop_inmem_swap(dbp, tmpdbp, stxn, old, new, back, txn->locker) :
1152 tmpdbp, stxn, old, new, back, txn->locker, flags);
1159 if (tmpdbp != NULL &&
1160 (t_ret = __db_close(tmpdbp, NULL, 0)) != 0 && ret == 0)
1432 __fop_ondisk_swap(dbp, tmpdbp, txn, old, new, back, locker, flags)
1433 DB *dbp, *tmpdbp;
1477 tmpdbp, realnew, (DBMETA *)mbuf, 0, 1)) != 0) {
1513 tmpdbp, locker, DB_LOCK_READ, NULL, DB_LOCK_NOWAIT)) != 0) {
1518 if ((ret = __fop_lock_handle(env, tmpdbp,
1522 __lock_put(env, &tmpdbp->handle_lock)) != 0)
1524 if ((ret = __db_refresh(tmpdbp, NULL, 0, NULL, 0)) != 0)
1531 tmpdbp, locker, DB_LOCK_WRITE,
1538 (void)__lock_put(env, &tmpdbp->handle_lock);
1540 } else if (F_ISSET(tmpdbp, DB_AM_IN_RENAME))
1544 (void)__lock_put(env, &tmpdbp->handle_lock);
1559 txn, back, old, tmpdbp->fileid, DB_APP_DATA, 0, dflags)) != 0)
1562 tmpdbp, locker, DB_LOCK_WRITE, &elock, NOWAIT_FLAG(txn))) != 0)
1570 LOCK_INIT(tmpdbp->handle_lock);
1583 tmpdbt.data = tmpdbp->fileid;
1622 DB *tmpdbp;
1633 if ((ret = __db_create_internal(&tmpdbp, env, 0)) != 0)
1635 MAKE_INMEM(tmpdbp);
1638 if ((ret = __env_mpool(tmpdbp, new, 0)) == 0) {
1646 if ((ret = __fop_inmem_read_meta(tmpdbp, txn, new, 0)) != 0) {
1658 tmpdbp, locker, DB_LOCK_READ, NULL, DB_LOCK_NOWAIT)) != 0) {
1663 if ((ret = __fop_lock_handle(env, tmpdbp,
1668 (void)__lock_put(env, &tmpdbp->handle_lock);
1669 (void)__db_close(tmpdbp, NULL, DB_NOSYNC);
1673 (void)__lock_put(env, &tmpdbp->handle_lock);
1674 if (!F_ISSET(tmpdbp, DB_AM_IN_RENAME))
1709 if (F_ISSET(tmpdbp, DB_AM_IN_RENAME)) {
1711 tmpdbp->fileid, NULL, new, NULL, 1)) != 0)
1724 tmpdbp, locker, DB_LOCK_WRITE, &elock, 0)) != 0)
1732 LOCK_INIT(tmpdbp->handle_lock);
1748 if ((t_ret = __db_close(tmpdbp, NULL, 0)) != 0 && ret == 0)