Home
last modified time | relevance | path

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

/system/update_engine/common/
Dcow_operation_convert.cc55 auto dst_block = dst_extent.start_block() + i - 1; in ConvertToCowOperations() local
56 converted.push_back({CowOperation::CowCopy, src_block, dst_block}); in ConvertToCowOperations()
57 modified_extents.AddBlock(dst_block); in ConvertToCowOperations()
72 auto dst_block = *it2; in ConvertToCowOperations() local
73 if (!merge_extents.ContainsBlock(dst_block)) { in ConvertToCowOperations()
74 converted.push_back({CowOperation::CowReplace, src_block, dst_block}); in ConvertToCowOperations()
Dcow_operation_convert_unittest.cc49 out << "{" << c.op << ", " << c.src_block << ", " << c.dst_block << "}"; in operator <<()
72 EXPECT_TRUE(dst_extent_set.ContainsBlock(cow_op.dst_block)); in VerifyCowMergeOp()
73 dst_extent_set.SubtractExtent(ExtentForRange(cow_op.dst_block, 1)); in VerifyCowMergeOp()
74 modified_extents.AddBlock(cow_op.dst_block); in VerifyCowMergeOp()
Dcow_operation_convert.h34 uint64_t dst_block; member
/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()
88 cow_op.dst_block * block_size, in WriteAllCowOps()
95 cow_op.dst_block, buffer.data(), block_size)); in WriteAllCowOps()
/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()
125 cow_op.dst_block, buffer.data(), block_size)); in WriteAllCowOps()
Ddelta_performer_unittest.cc1137 uint32_t dst_block, in GetSourceCopyOp() argument
/system/core/fs_mgr/libsnapshot/
Dmake_cow_from_ab_ota.cpp507 uint64_t dst_block; in ProcessCopy() local
508 if (!dst_blocks.GetNext(&dst_block)) { in ProcessCopy()
512 if (src_block == dst_block) continue; in ProcessCopy()
513 if (!writer_->AddCopy(dst_block, src_block)) { in ProcessCopy()
Dsnapshot_test.cpp1031 uint64_t dst_block = 0; 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()
1038 dst_block++; in ShiftAllSnapshotBlocks()