Lines Matching refs:last_half_cycle
290 end_blk = mid_blk; /* last_half_cycle == mid_cycle */
506 uint first_half_cycle, last_half_cycle;
547 last_half_cycle = xlog_get_cycle(offset);
548 ASSERT(last_half_cycle != 0);
561 if (first_half_cycle == last_half_cycle) {
564 * cycle number last_half_cycle. We need to scan backwards
566 * containing last_half_cycle - 1. If we find such a hole,
588 stop_on_cycle = last_half_cycle - 1;
592 * number matching last_half_cycle. We expect the log to be
595 * The first block with cycle number x (last_half_cycle) will
597 * for the first occurrence of last_half_cycle. The binary
599 * from there looking for occurrences of last_half_cycle before
601 * the log, then we look for occurrences of last_half_cycle - 1
612 stop_on_cycle = last_half_cycle;
614 last_half_cycle);
644 * last_half_cycle - 1.
651 * last_half_cycle, then we check the blocks at the start of
652 * the log looking for occurrences of last_half_cycle. If we
654 * first occurrence of last_half_cycle is wrong and we move
665 * last_half_cycle-1 we accomplish that.
682 * the last_half_cycle.