Lines Matching refs:last_ckp
62 DB_LSN ckp_lsn, final_ckp, last_ckp, next_lsn;
76 if ((ret = log_get(lp, &last_ckp, &data, DB_CHECKPOINT)) != 0)
82 final_ckp = last_ckp;
83 next_lsn = last_ckp;
99 (u_long)last_ckp.file, (u_long)last_ckp.offset);
104 (u_long)ckp_args->last_ckp.file,
105 (u_long)ckp_args->last_ckp.offset);
107 last_ckp = next_lsn;
108 next_lsn = ckp_args->last_ckp;
117 (log_compare(&last_ckp, &ckp_lsn) > 0 ||
118 log_compare(&final_ckp, &last_ckp) == 0));
125 * checkpoint lsn and last_ckp is the LSN of the last checkpoint
130 if (log_compare(&last_ckp, &ckp_lsn) > 0 ||
131 log_compare(&final_ckp, &last_ckp) == 0) {
132 get_first: if ((ret = log_get(lp, &last_ckp, &data, DB_FIRST)) != 0)
137 *lsnp = last_ckp;
139 return (IS_ZERO_LSN(last_ckp) ? DB_NOTFOUND : 0);