Home
last modified time | relevance | path

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

/system/update_engine/payload_generator/
Dmerge_sequence_generator.cc26 const Extent& dst_extent) { in CreateCowMergeOperation() argument
30 *ret.mutable_dst_extent() = dst_extent; in CreateCowMergeOperation()
38 << ", dst extent: " << ExtentsToString({merge_operation.dst_extent()}); in operator <<()
45 return op1.dst_extent().start_block() < op2.dst_extent().start_block(); in operator <()
50 op1.dst_extent() == op2.dst_extent(); in operator ==()
60 const Extent& dst_extent, in SplitSelfOverlapping() argument
62 CHECK_EQ(src_extent.num_blocks(), dst_extent.num_blocks()); in SplitSelfOverlapping()
63 if (src_extent.start_block() == dst_extent.start_block()) { in SplitSelfOverlapping()
64 sequence->emplace_back(CreateCowMergeOperation(src_extent, dst_extent)); in SplitSelfOverlapping()
69 GetDifference(src_extent.start_block(), dst_extent.start_block()); in SplitSelfOverlapping()
[all …]
Dmerge_sequence_generator_unittest.cc211 void ValidateSplitSequence(const Extent& src_extent, const Extent& dst_extent) { in ValidateSplitSequence() argument
213 SplitSelfOverlapping(src_extent, dst_extent, &sequence); in ValidateSplitSequence()
217 dst_extent_set.AddExtent(dst_extent); in ValidateSplitSequence()
221 std::cout << "src_extent: " << src_extent << " dst_extent: " << dst_extent in ValidateSplitSequence()
225 dst_extent_set.SubtractExtent(merge_op.dst_extent()); in ValidateSplitSequence()
227 dst_block_count += merge_op.dst_extent().num_blocks(); in ValidateSplitSequence()
228 std::cout << merge_op.src_extent() << " -> " << merge_op.dst_extent() in ValidateSplitSequence()
231 merge_op.dst_extent())); in ValidateSplitSequence()
240 ASSERT_EQ(dst_block_count, dst_extent.num_blocks()); in ValidateSplitSequence()
Dmerge_sequence_generator.h34 const Extent& dst_extent);
74 const Extent& dst_extent,
Dfull_update_generator.cc169 Extent* dst_extent = aop->op.add_dst_extents(); in GenerateOperations() local
170 dst_extent->set_start_block(start_block); in GenerateOperations()
171 dst_extent->set_num_blocks(num_blocks); in GenerateOperations()
/system/update_engine/common/
Dcow_operation_convert.cc47 merge_extents.AddExtent(merge_op.dst_extent()); in ConvertToCowOperations()
49 const auto& dst_extent = merge_op.dst_extent(); in ConvertToCowOperations() local
55 auto dst_block = dst_extent.start_block() + i - 1; in ConvertToCowOperations()
Dcow_operation_convert_unittest.cc103 std::array<int, 2> dst_extent) { in AddMergeOperation() argument
107 *op->mutable_dst_extent() = ExtentForRange(dst_extent[0], dst_extent[1]); in AddMergeOperation()
/system/update_engine/
Dupdate_metadata.proto241 optional Extent dst_extent = 3; field
/system/update_engine/update_engine/
Dupdate_metadata.proto241 optional Extent dst_extent = 3; field