Lines Matching defs:opd
283 cp_opd = (dbc_opd = cp->opd) == NULL ?
291 * primary cursor that has a NULL opd field. This happens when
297 * non-NULL opd field. This happens when closing a btree cursor
306 * opd tree is not empty (root_pgno == PGNO_INVALID).
616 if (cp->opd == NULL) {
645 if ((ret = __memp_fget(mpf, &cp->opd->internal->root,
1028 if ((ret = __dbc_newopd(dbc, pgno, cp->opd, &cp->opd)) != 0)
1030 if ((ret = cp->opd->am_get(cp->opd,
1433 DBC *opd;
1446 opd = cp->opd;
1448 if (opd == NULL) {
1449 if ((ret = __dbc_newopd(dbc, pgno, NULL, &opd)) != 0)
1451 cp->opd = opd;
1452 if ((ret = opd->am_get(opd,
1457 pagesize = opd->dbp->pgsize;
1458 cp = (BTREE_CURSOR *)opd->internal;
1473 if ((ret = __bamc_next(opd, 0, 0)) != 0)
1550 if (opd->dbtype == DB_RECNO)
1566 * If we did not return any dups or reached the end, close the opd.
1569 if (opd->dbtype == DB_RECNO) {
1575 t_ret = __bamc_prev(opd);
1583 if (opd->dbtype == DB_RECNO)
1589 if ((t_ret = __dbc_close(opd)) != 0 && ret == 0)
1591 ((BTREE_CURSOR *)dbc->internal)->opd = NULL;
2063 if (cp->opd != NULL) {
2064 cp = (BTREE_CURSOR *)cp->opd->internal;