Searched refs:dst_block (Results 1 – 8 of 8) sorted by relevance
/system/update_engine/common/ |
D | cow_operation_convert.cc | 55 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()
|
D | cow_operation_convert_unittest.cc | 49 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()
|
D | cow_operation_convert.h | 34 uint64_t dst_block; member
|
/system/update_engine/payload_generator/ |
D | cow_size_estimator.cc | 76 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/ |
D | vabc_partition_writer.cc | 107 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()
|
D | delta_performer_unittest.cc | 1137 uint32_t dst_block, in GetSourceCopyOp() argument
|
/system/core/fs_mgr/libsnapshot/ |
D | make_cow_from_ab_ota.cpp | 507 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()
|
D | snapshot_test.cpp | 1031 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()
|