Searched refs:ckp_lsn (Results 1 - 13 of 13) sorted by relevance

/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/db-4.7.25.NC/txn/
H A Dtxn_chkpt.c99 DB_LSN ckp_lsn, last_ckp; local
125 if ((ret = __log_current_lsn(env, &ckp_lsn, &mbytes, &bytes)) != 0)
172 if ((ret = __txn_getactive(env, &ckp_lsn)) != 0)
196 DB_EID_BROADCAST, REP_START_SYNC, &ckp_lsn, NULL, 0, 0);
240 * or after ckp_lsn, but before the checkpoint record
242 * recovery from the ckp_lsn contained in this
258 (ret = __txn_ckp_log(env, NULL, &ckp_lsn, logflags,
259 &ckp_lsn, &last_ckp, (int32_t)time(NULL), id, 0)) != 0) {
262 (long)ckp_lsn.file, (long)ckp_lsn
[all...]
H A Dtxn_autop.c138 (u_long)argp->ckp_lsn.file, (u_long)argp->ckp_lsn.offset);
186 (u_long)argp->ckp_lsn.file, (u_long)argp->ckp_lsn.offset);
H A Dtxn_auto.c307 LOGCOPY_TOLSN(env, &argp->ckp_lsn, bp);
354 LOGCOPY_TOLSN(env, &argp->ckp_lsn, bp);
380 ckp_lsn, last_ckp, timestamp, envid, spare)
385 DB_LSN * ckp_lsn;
434 + sizeof(*ckp_lsn)
476 if (ckp_lsn != NULL)
477 LOGCOPY_FROMLSN(env, bp, ckp_lsn);
479 memset(bp, 0, sizeof(*ckp_lsn));
480 bp += sizeof(*ckp_lsn);
H A Dtxn_recover.c315 * Use ckp_lsn and then break out of the loop.
317 open_lsn = force ? ckp_args->ckp_lsn :
335 * - We are forcing an openfiles and we have our ckp_lsn.
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/db-4.7.25.NC/dbinc_auto/
H A Dtxn_auto.h31 DB_LSN ckp_lsn; member in struct:___txn_ckp_42_args
42 DB_LSN ckp_lsn; member in struct:___txn_ckp_args
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/db-4.7.25.NC/test/
H A Drep017.tcl123 set ckp_lsn [stat_field $masterenv txn_stat "LSN of last checkpoint"]
124 set ckp_offset [lindex $ckp_lsn 1]
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/db-4.7.25.NC/env/
H A Denv_recover.c58 DB_LSN ckp_lsn, first_lsn, last_lsn, lowlsn, lsn, stop_lsn, tlsn; local
173 * to roll back to the checkpoint whose ckp_lsn is earlier
177 * we have to roll back to the checkpoint whose ckp_lsn
190 * ckp_lsn -- lsn of the last checkpoint or the first in the log.
259 if ((ret = __logc_get(logc, &ckp_lsn, &data, DB_FIRST)) != 0) {
266 first_lsn = ckp_lsn;
270 if ((ret = __txn_getckp(env, &ckp_lsn)) == 0 &&
271 (ret = __logc_get(logc, &ckp_lsn, &data, DB_SET)) == 0) {
277 (u_long)ckp_lsn.file,
278 (u_long)ckp_lsn
[all...]
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/db-4.7.25.NC/rep/
H A Drep_record.c821 * There are cases where keeping the first ckp_lsn
828 if (LOG_COMPARE(&rp->lsn, &rep->ckp_lsn) > 0)
829 rep->ckp_lsn = rp->lsn;
833 "ready LSN [%lu][%lu], ckp_lsn [%lu][%lu]",
835 (u_long)rep->ckp_lsn.file, (u_long)rep->ckp_lsn.offset));
1259 * Since ckp_lsn can point to the last commit record itself,
1265 if (!IS_ZERO_LSN(rep->ckp_lsn) &&
1266 LOG_COMPARE(&lp->ready_lsn, &rep->ckp_lsn) >= 0) {
1267 save_lsn = rep->ckp_lsn;
1688 DB_LSN ckp_lsn; local
[all...]
H A Drep_method.c915 DB_LSN ckp_lsn, lsn; local
936 ZERO_LSN(ckp_lsn);
983 ckp_lsn = ckp_args->ckp_lsn;
993 if ((ret = __logc_get(logc, &ckp_lsn, &rec, DB_SET)) != 0) {
996 (u_long)ckp_lsn.file, (u_long)ckp_lsn.offset);
1059 * Now, walk backward from the end of the log to ckp_lsn. Any
1070 ret == 0 && LOG_COMPARE(&lsn, &ckp_lsn) > 0;
H A Drep_verify.c107 ZERO_LSN(rep->ckp_lsn);
242 ZERO_LSN(rep->ckp_lsn);
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/db-4.7.25.NC/db/
H A Ddb_dispatch.c544 __db_txnlist_ckp(env, hp, ckp_lsn)
547 DB_LSN *ckp_lsn;
553 LOG_COMPARE(&hp->maxlsn, ckp_lsn) >= 0)
554 hp->ckplsn = *ckp_lsn;
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/db-4.7.25.NC/dbinc/
H A Drep.h228 DB_LSN ckp_lsn; /* LSN for syncing a checkpoint. */ member in struct:__rep
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/db-4.7.25.NC/log/
H A Dlog_archive.c300 * then copy the ckp_lsn to the stable_lsn;
307 *stable_lsn = ckp_args->ckp_lsn;

Completed in 146 milliseconds