Lines Matching refs:reginfo
78 dblp->reginfo.dbenv = dbenv;
79 dblp->reginfo.appname = DB_APP_LOG;
81 dblp->reginfo.path = NULL;
83 if ((ret = __os_strdup(path, &dblp->reginfo.path)) != 0)
85 dblp->reginfo.file = DB_DEFAULT_LOG_FILE;
86 dblp->reginfo.mode = mode;
87 dblp->reginfo.size = DEF_LOG_SIZE;
88 dblp->reginfo.dbflags = flags;
89 dblp->reginfo.flags = REGION_SIZEDEF;
90 if ((ret = __db_rattach(&dblp->reginfo)) != 0)
97 dblp->lp = dblp->reginfo.addr;
101 if (F_ISSET(&dblp->reginfo, REGION_CREATED)) {
132 if (F_ISSET(&dblp->reginfo, REGION_CREATED) &&
140 err: if (dblp->reginfo.addr != NULL) {
145 (void)__db_rdetach(&dblp->reginfo);
146 if (F_ISSET(&dblp->reginfo, REGION_CREATED))
150 if (dblp->reginfo.path != NULL)
151 __os_freestr(dblp->reginfo.path);
451 ret = __db_rdetach(&dblp->reginfo);
472 if (dblp->reginfo.path != NULL)
473 __os_freestr(dblp->reginfo.path);
489 REGINFO reginfo;
492 memset(®info, 0, sizeof(reginfo));
493 reginfo.dbenv = dbenv;
494 reginfo.appname = DB_APP_LOG;
495 if (path != NULL && (ret = __os_strdup(path, ®info.path)) != 0)
497 reginfo.file = DB_DEFAULT_LOG_FILE;
498 ret = __db_runlink(®info, force);
499 if (reginfo.path != NULL)
500 __os_freestr(reginfo.path);