Lines Matching refs:renv
31 #define TIMESTAMP_CHECK(env, ts, renv) do { \
32 if (renv->op_timestamp != 0 && \
33 renv->op_timestamp + DB_REGENV_TIMEOUT < ts) { \
35 F_CLR(renv, DB_REGENV_REPLOCKED); \
36 renv->op_timestamp = 0; \
582 REGENV *renv;
836 renv = infop->primary;
838 (void)time(&renv->rep_timestamp);
908 REGENV *renv;
914 renv = infop->primary;
921 if (F_ISSET(renv, DB_REGENV_REPLOCKED)) {
923 TIMESTAMP_CHECK(env, timestamp, renv);
928 if (F_ISSET(renv, DB_REGENV_REPLOCKED))
1056 REGENV *renv;
1073 renv = infop->primary;
1074 MUTEX_LOCK(env, renv->mtx_regenv);
1114 MUTEX_UNLOCK(env, renv->mtx_regenv);
1134 REGENV *renv;
1148 renv = infop->primary;
1149 if (checklock && F_ISSET(renv, DB_REGENV_REPLOCKED)) {
1151 TIMESTAMP_CHECK(env, timestamp, renv);
1156 if (F_ISSET(renv, DB_REGENV_REPLOCKED))
1230 REGENV *renv;
1243 renv = infop->primary;
1245 if (checklock && F_ISSET(renv, DB_REGENV_REPLOCKED)) {
1247 TIMESTAMP_CHECK(env, timestamp, renv);
1252 if (F_ISSET(renv, DB_REGENV_REPLOCKED))
1274 if (checkgen && dbp->timestamp != renv->rep_timestamp) {