• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/db-4.7.25.NC/db/

Lines Matching refs:opd

63 	DBC *opd;
72 opd = cp->opd;
88 if (opd != NULL) {
89 DB_ASSERT(env, F_ISSET(opd, DBC_ACTIVE));
90 F_CLR(opd, DBC_ACTIVE);
91 TAILQ_REMOVE(&dbp->active_queue, opd, links);
120 if (opd != NULL)
121 memset(&opd->mylock, 0, sizeof(opd->mylock));
129 if (opd != NULL) {
132 TAILQ_INSERT_TAIL(&dbp->free_queue, opd, links);
133 opd = NULL;
220 if (dbc->internal->opd == NULL) {
249 DBC *opd;
302 opd = dbc->internal->opd;
303 if (opd == NULL)
307 ret = opd->am_del(opd);
356 if (dbc_orig->internal->opd != NULL) {
358 __dbc_idup(dbc_orig->internal->opd, &dbc_nopd, flags)) != 0)
360 dbc_n->internal->opd = dbc_nopd;
469 DBC *opd;
487 dbtype, root, DBC_OPD, dbc_parent->locker, &opd)) != 0)
490 opd->priority = dbc_parent->priority;
491 *dbcp = opd;
524 DBC *dbc, *dbc_n, *opd;
551 opd = NULL;
604 if (cp->opd != NULL &&
611 opd = cp->opd;
612 else if ((ret = __dbc_idup(cp->opd, &opd, DB_POSITION)) != 0)
615 switch (ret = opd->am_get(opd, key, data, flags, NULL)) {
625 if ((ret = __dbc_close(opd)) != 0)
627 opd = NULL;
629 cp->opd = NULL;
636 } else if (cp->opd != NULL && F_ISSET(dbc_arg, DBC_TRANSIENT)) {
637 if ((ret = __dbc_close(cp->opd)) != 0)
639 cp->opd = NULL;
717 pgno, cp_n->opd, &cp_n->opd)) != 0)
743 ret = cp_n->opd->am_get(cp_n->opd, key, data, tmp_flags, NULL);
759 if ((ret = __dbc_close(cp_n->opd)) != 0)
761 cp_n->opd = NULL;
822 dbc_arg->internal->opd == NULL) ||
837 * If opd is set then we dupped the opd that we came in with.
838 * When we return we may have a new opd if we went to another
841 if (opd != NULL) {
842 DB_ASSERT(env, cp_n->opd == NULL);
843 cp_n->opd = opd;
844 opd = NULL;
858 dbc = opd != NULL ? opd : cp_n->opd != NULL ? cp_n->opd : dbc_n;
878 if (opd != NULL) {
888 dbc_arg->internal->opd->internal, C_DELETED))
893 dbc_arg->internal->opd, opd, ret)) != 0 && ret == 0)
926 DBC *dbc_n, *fdbc, *oldopd, *opd, *sdbc, *pdbc;
1477 if (dbc_arg->internal->opd != NULL &&
1487 ((BTREE_CURSOR *)(dbc_arg->internal->opd->internal)),
1496 opd = dbc_n->internal->opd;
1497 if ((ret = opd->am_put(
1498 opd, key, data, flags, NULL)) != 0)
1528 oldopd = dbc_n->internal->opd;
1529 if ((ret = __dbc_newopd(dbc_arg, pgno, oldopd, &opd)) != 0) {
1530 dbc_n->internal->opd = opd;
1534 dbc_n->internal->opd = opd;
1538 if ((ret = opd->am_put(
1539 opd, key, data, flags, NULL)) != 0)
1725 DBC *opd;
1742 opd = internal->opd;
1743 if (opd != NULL && opd->internal->page != NULL) {
1745 opd->internal->page, dbc->priority)) != 0 && ret == 0)
1747 opd->internal->page = NULL;
1773 opd = dbc_n->internal->opd;
1774 if (opd != NULL && opd->internal->page != NULL) {
1776 opd->internal->page, dbc->priority)) != 0 && ret == 0)
1778 opd->internal->page = NULL;