Home
last modified time | relevance | path

Searched refs:src_block (Results 1 – 8 of 8) sorted by relevance

/system/update_engine/common/
Dcow_operation_convert.cc54 auto src_block = src_extent.start_block() + i - 1; in ConvertToCowOperations() local
56 converted.push_back({CowOperation::CowCopy, src_block, dst_block}); in ConvertToCowOperations()
71 auto src_block = *it1; in ConvertToCowOperations() local
74 converted.push_back({CowOperation::CowReplace, src_block, dst_block}); in ConvertToCowOperations()
Dcow_operation_convert.h33 uint64_t src_block; member
Dcow_operation_convert_unittest.cc49 out << "{" << c.op << ", " << c.src_block << ", " << c.dst_block << "}"; in operator <<()
66 EXPECT_TRUE(src_extent_set.ContainsBlock(cow_op.src_block)); in VerifyCowMergeOp()
68 EXPECT_FALSE(modified_extents.ContainsBlock(cow_op.src_block)) in VerifyCowMergeOp()
/system/update_engine/payload_consumer/
Dvabc_partition_writer.cc107 if (cow_op.src_block == cow_op.dst_block) { in WriteAllCowOps()
111 cow_writer->AddCopy(cow_op.dst_block, cow_op.src_block)); in WriteAllCowOps()
118 cow_op.src_block * block_size, in WriteAllCowOps()
Ddelta_performer_unittest.cc1136 AnnotatedOperation GetSourceCopyOp(uint32_t src_block, in GetSourceCopyOp() argument
/system/update_engine/payload_generator/
Dcow_size_estimator.cc76 if (cow_op.src_block == cow_op.dst_block) { in WriteAllCowOps()
80 cow_writer->AddCopy(cow_op.dst_block, cow_op.src_block)); in WriteAllCowOps()
/system/core/fs_mgr/libsnapshot/
Dmake_cow_from_ab_ota.cpp506 uint64_t src_block = extent.start_block() + i; in ProcessCopy() local
512 if (src_block == dst_block) continue; in ProcessCopy()
513 if (!writer_->AddCopy(dst_block, src_block)) { in ProcessCopy()
Dsnapshot_test.cpp1030 uint64_t src_block = (old_size / writer->options().block_size) - 1; in ShiftAllSnapshotBlocks() local
1033 while (dst_block < max_blocks && dst_block < src_block) { in ShiftAllSnapshotBlocks()
1034 if (!writer->AddCopy(dst_block, src_block)) { in ShiftAllSnapshotBlocks()
1036 << src_block << ", " << dst_block; in ShiftAllSnapshotBlocks()
1039 src_block--; in ShiftAllSnapshotBlocks()