Lines Matching refs:reginfo

152 	tmgrp->reginfo.dbenv = dbenv;
153 tmgrp->reginfo.appname = DB_APP_NONE;
155 tmgrp->reginfo.path = NULL;
157 if ((ret = __os_strdup(path, &tmgrp->reginfo.path)) != 0)
159 tmgrp->reginfo.file = DEFAULT_TXN_FILE;
160 tmgrp->reginfo.mode = mode;
161 tmgrp->reginfo.size = TXN_REGION_SIZE(maxtxns);
162 tmgrp->reginfo.dbflags = flags;
163 tmgrp->reginfo.addr = NULL;
164 tmgrp->reginfo.fd = -1;
165 tmgrp->reginfo.flags = dbenv->tx_max == 0 ? REGION_SIZEDEF : 0;
166 if ((ret = __db_rattach(&tmgrp->reginfo)) != 0)
170 tmgrp->region = tmgrp->reginfo.addr;
173 if (F_ISSET(&tmgrp->reginfo, REGION_CREATED)) {
202 err: if (tmgrp->reginfo.addr != NULL) {
207 (void)__db_rdetach(&tmgrp->reginfo);
208 if (F_ISSET(&tmgrp->reginfo, REGION_CREATED))
212 if (tmgrp->reginfo.path != NULL)
213 __os_freestr(tmgrp->reginfo.path);
541 if ((t_ret = __db_rdetach(&tmgrp->reginfo)) != 0 && ret == 0)
544 if (tmgrp->reginfo.path != NULL)
545 __os_freestr(tmgrp->reginfo.path);
561 REGINFO reginfo;
564 memset(&reginfo, 0, sizeof(reginfo));
565 reginfo.dbenv = dbenv;
566 reginfo.appname = DB_APP_NONE;
567 if (path != NULL && (ret = __os_strdup(path, &reginfo.path)) != 0)
569 reginfo.file = DEFAULT_TXN_FILE;
570 ret = __db_runlink(&reginfo, force);
571 if (reginfo.path != NULL)
572 __os_freestr(reginfo.path);
871 if (tp->reginfo.size == tp->region->hdr.size)
875 if ((ret = __db_rreattach(&tp->reginfo, tp->region->hdr.size)) != 0)
879 tp->region = tp->reginfo.addr;
899 oldsize = tp->reginfo.size;
900 if ((ret = __db_rgrow(&tp->reginfo, oldsize + incr)) != 0)
902 tp->region = tp->reginfo.addr;