Lines Matching defs:cmp
160 int cmp, do_sync, lockout, recovering, ret, t_ret;
805 cmp = LOG_COMPARE(&rp->lsn, &lp->ready_lsn);
815 if (cmp <= 0) {
859 cmp = LOG_COMPARE(&lp->verify_lsn, &rp->lsn);
864 if (cmp != 0) {
969 int cmp, event, master, ret, set_apply, t_ret;
982 cmp = -2; /* OOB value that LOG_COMPARE can't return. */
1001 cmp = LOG_COMPARE(&rp->lsn, &lp->ready_lsn);
1007 if (F_ISSET(rep, REP_F_READY_APPLY) && cmp >= 0)
1018 if (F_ISSET(rep, REP_F_NEWFILE) && cmp == 0)
1019 cmp = -1;
1021 if (cmp == 0) {
1126 } else if (cmp > 0) {
1241 * actually process a live log record. Having cmp==0 here (with a good
1247 ((cmp <= 0 && F_ISSET(rp, REPCTL_LOG_END)) ||
1248 (cmp == 0 && !F_ISSET(rp, REPCTL_RESEND)))) {
1322 (env, "Returning ISPERM [%lu][%lu], cmp = %d",
1323 (u_long)max_lsn.file, (u_long)max_lsn.offset, cmp));
1327 "Returning LOGREADY up to [%lu][%lu], cmp = %d",
1329 (u_long)last_lsnp->offset, cmp));
1337 (env, "Returning NOTPERM [%lu][%lu], cmp = %d",
1338 (u_long)max_lsn.file, (u_long)max_lsn.offset, cmp));
1342 (env, "Returning %d [%lu][%lu], cmp = %d", ret,
1343 (u_long)max_lsn.file, (u_long)max_lsn.offset, cmp));