Lines Matching refs:original_ls
626 log_sector_v1_0 original_ls; in cp_restoreCheckpoint() local
627 read(device_fd, reinterpret_cast<char*>(&original_ls), sizeof(original_ls)); in cp_restoreCheckpoint()
628 if (original_ls.magic == kPartialRestoreMagic) { in cp_restoreCheckpoint()
631 } else if (original_ls.magic != kMagic) { in cp_restoreCheckpoint()
635 LOG(INFO) << action << " " << original_ls.sequence << " log sectors"; in cp_restoreCheckpoint()
637 for (int sequence = original_ls.sequence; sequence >= 0 && status.isOk(); sequence--) { in cp_restoreCheckpoint()
639 original_ls.block_size, original_ls.block_size); in cp_restoreCheckpoint()
650 if (ls.block_size != original_ls.block_size) { in cp_restoreCheckpoint()
702 auto buffer = relocatedRead(device_fd, relocations, false, original_ls.sector0, in cp_restoreCheckpoint()
703 original_ls.block_size, original_ls.block_size); in cp_restoreCheckpoint()
705 write(device_fd, &buffer[0], original_ls.block_size); in cp_restoreCheckpoint()