Lines Matching defs:pdbp
1857 DB *pdbp, *sdbp;
1864 pdbp = sdbp->s_primary;
2026 * pdbp->cursor, because otherwise, if we're in CDB, we'll allocate a
2031 if ((ret = __db_cursor_int(pdbp, dbc->thread_info,
2032 dbc->txn, pdbp->type, PGNO_INVALID, 0, dbc->locker, &pdbc)) != 0)
2093 ret = __db_secondary_corrupt(pdbp);
2137 DB *pdbp, *sdbp;
2146 pdbp = sdbp->s_primary;
2164 if (F_ISSET(pdbp, DB_AM_RECNUM)) {
2184 if ((ret = __db_cursor_int(pdbp, sdbc->thread_info, sdbc->txn,
2185 pdbp->type, PGNO_INVALID, 0, sdbc->locker, &pdbc)) != 0)
2242 DB *pdbp;
2249 pdbp = dbc->dbp->s_primary;
2250 env = pdbp->env;
2276 if ((ret = __db_cursor_int(pdbp, dbc->thread_info, dbc->txn,
2277 pdbp->type, PGNO_INVALID, 0, dbc->locker, &pdbc)) != 0)
2303 ret = __db_secondary_corrupt(pdbp);
2458 DB *dbp, *pdbp, *sdbp;
2475 pdbp = sdbp->s_primary;
2505 ret = __db_cursor_int(pdbp,
2506 dbc->thread_info, dbc->txn, pdbp->type,
2514 ret = __db_cursor_int(pdbp, dbc->thread_info,
2515 dbc->txn, pdbp->type, PGNO_INVALID, 0,
2635 __db_s_first(pdbp, sdbpp)
2636 DB *pdbp, **sdbpp;
2640 MUTEX_LOCK(pdbp->env, pdbp->mutex);
2641 sdbp = LIST_FIRST(&pdbp->s_secondaries);
2646 MUTEX_UNLOCK(pdbp->env, pdbp->mutex);
2664 DB *sdbp, *pdbp, *closeme;
2692 pdbp = sdbp->s_primary;
2693 env = pdbp->env;
2696 MUTEX_LOCK(env, pdbp->mutex);
2705 MUTEX_UNLOCK(env, pdbp->mutex);
2734 DB *pdbp;
2738 pdbp = sdbp->s_primary;
2739 env = pdbp->env;
2742 MUTEX_LOCK(env, pdbp->mutex);
2748 MUTEX_UNLOCK(env, pdbp->mutex);
2764 __db_s_count(pdbp)
2765 DB *pdbp;
2771 env = pdbp->env;
2774 MUTEX_LOCK(env, pdbp->mutex);
2775 for (sdbp = LIST_FIRST(&pdbp->s_secondaries);
2779 MUTEX_UNLOCK(env, pdbp->mutex);