Lines Matching refs:ldbp
392 DB *ldbp;
465 TAILQ_FOREACH(ldbp, &env->dblist, dblistlinks) {
472 if (memcmp(ldbp->fileid, dbp->fileid, DB_FILE_ID_LEN)
473 == 0 && ldbp->meta_pgno == dbp->meta_pgno)
476 if (F_ISSET(ldbp, DB_AM_INMEM) &&
477 ldbp->dname != NULL &&
478 strcmp(ldbp->dname, dname) == 0)
481 if (ldbp->adj_fileid > maxid)
482 maxid = ldbp->adj_fileid;
486 * If ldbp is NULL, we didn't find a match. Assign the dbp an
490 * If ldbp is not NULL, it is a match for our dbp. Give dbp
491 * the same ID that ldbp has, and add it after ldbp so they're
494 if (ldbp == NULL) {
498 dbp->adj_fileid = ldbp->adj_fileid;
499 TAILQ_INSERT_AFTER(&env->dblist, ldbp, dbp, dblistlinks);