Searched refs:dst_block (Results 1 – 7 of 7) sorted by relevance
/system/update_engine/common/ |
D | cow_operation_convert.cc | 62 auto dst_block = dst_extent.start_block() + i - 1; in ConvertToCowOperations() local 63 converted.push_back({CowOperation::CowCopy, src_block, dst_block, 1}); in ConvertToCowOperations() 78 const auto dst_block = *it2; in ConvertToCowOperations() local 79 if (!merge_extents.ContainsBlock(dst_block)) { in ConvertToCowOperations() 81 {CowOperation::CowReplace, src_block, dst_block, 1}); in ConvertToCowOperations()
|
D | cow_operation_convert.h | 34 uint64_t dst_block{}; 58 return op1.op == op2.op && op1.dst_block + op1.block_count == op2.dst_block && in IsConsecutive()
|
D | cow_operation_convert_unittest.cc | 49 out << "{" << c.op << ", " << c.src_block << ", " << c.dst_block << ", " in operator <<() 76 ASSERT_TRUE(dst_extent_set.ContainsBlock(cow_op.dst_block + i)); in VerifyCowMergeOp() 79 ExtentForRange(cow_op.dst_block, cow_op.block_count)); in VerifyCowMergeOp() 81 ExtentForRange(cow_op.dst_block, cow_op.block_count)); in VerifyCowMergeOp() 290 ASSERT_EQ(cow_ops[0].dst_block, 0UL); in TEST_F() 295 ASSERT_EQ(cow_ops[1].dst_block, 10UL); in TEST_F()
|
/system/update_engine/payload_consumer/ |
D | vabc_partition_writer.cc | 291 const auto dst_block = *it2; in PerformSourceCopyOperation() local 294 if (src_block == dst_block) { in PerformSourceCopyOperation() 297 if (copy_blocks_.ContainsBlock(dst_block)) { in PerformSourceCopyOperation() 299 push_back(&converted, {CowOperation::CowCopy, src_block, dst_block, 1}); in PerformSourceCopyOperation() 303 {CowOperation::CowReplace, src_block, dst_block, 1}); in PerformSourceCopyOperation() 311 cow_op.dst_block, cow_op.src_block, cow_op.block_count); in PerformSourceCopyOperation() 317 TEST_AND_RETURN_FALSE(cow_writer_->AddCopy(cow_op.dst_block + i - 1, in PerformSourceCopyOperation() 335 cow_op.dst_block, buffer.data(), buffer.size())); in PerformSourceCopyOperation()
|
D | delta_performer_unittest.cc | 1137 uint32_t dst_block, in GetSourceCopyOp() argument
|
/system/update_engine/payload_generator/ |
D | delta_diff_utils.cc | 149 size_t dst_block, in ShouldCreateNewOp() argument 161 dst_extent.start_block() + dst_extent.num_blocks() != dst_block; in ShouldCreateNewOp() 166 size_t dst_block, in AppendXorBlock() argument 168 if (!ops->empty() && ExtentContains(ops->back().dst_extent(), dst_block)) { in AppendXorBlock() 172 CHECK_NE(dst_block, std::numeric_limits<uint64_t>::max()); in AppendXorBlock() 173 if (ShouldCreateNewOp(*ops, src_block, dst_block, src_offset)) { in AppendXorBlock() 177 op.mutable_dst_extent()->set_start_block(dst_block); in AppendXorBlock()
|
/system/core/fs_mgr/libsnapshot/ |
D | snapshot_test.cpp | 1225 uint64_t dst_block = 0; in ShiftAllSnapshotBlocks() local 1227 while (dst_block < max_blocks && dst_block < src_block) { in ShiftAllSnapshotBlocks() 1228 if (!writer->AddCopy(dst_block, src_block)) { in ShiftAllSnapshotBlocks() 1230 << src_block << ", " << dst_block; in ShiftAllSnapshotBlocks() 1232 dst_block++; in ShiftAllSnapshotBlocks()
|