Searched refs:src_extent (Results 1 – 8 of 8) sorted by relevance
/system/update_engine/payload_generator/ |
D | merge_sequence_generator.cc | 25 CowMergeOperation CreateCowMergeOperation(const Extent& src_extent, in CreateCowMergeOperation() argument 29 *ret.mutable_src_extent() = src_extent; in CreateCowMergeOperation() 37 << ExtentsToString({merge_operation.src_extent()}) in operator <<() 49 return op1.type() == op2.type() && op1.src_extent() == op2.src_extent() && in operator ==() 59 void SplitSelfOverlapping(const Extent& src_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() 70 for (size_t i = 0; i < src_extent.num_blocks(); i += diff) { in SplitSelfOverlapping() [all …]
|
D | merge_sequence_generator_unittest.cc | 211 void ValidateSplitSequence(const Extent& src_extent, const Extent& dst_extent) { in ValidateSplitSequence() argument 213 SplitSelfOverlapping(src_extent, dst_extent, &sequence); in ValidateSplitSequence() 215 src_extent_set.AddExtent(src_extent); in ValidateSplitSequence() 221 std::cout << "src_extent: " << src_extent << " dst_extent: " << dst_extent in ValidateSplitSequence() 224 src_extent_set.SubtractExtent(merge_op.src_extent()); in ValidateSplitSequence() 226 src_block_count += merge_op.src_extent().num_blocks(); in ValidateSplitSequence() 228 std::cout << merge_op.src_extent() << " -> " << merge_op.dst_extent() in ValidateSplitSequence() 230 ASSERT_FALSE(ExtentRanges::ExtentsOverlap(merge_op.src_extent(), in ValidateSplitSequence() 239 ASSERT_EQ(src_block_count, src_extent.num_blocks()); in ValidateSplitSequence()
|
D | merge_sequence_generator.h | 33 CowMergeOperation CreateCowMergeOperation(const Extent& src_extent, 73 void SplitSelfOverlapping(const Extent& src_extent,
|
/system/update_engine/common/ |
D | cow_operation_convert.cc | 48 const auto& src_extent = merge_op.src_extent(); in ConvertToCowOperations() local 53 for (uint64_t i = src_extent.num_blocks(); i > 0; i--) { in ConvertToCowOperations() 54 auto src_block = src_extent.start_block() + i - 1; in ConvertToCowOperations()
|
D | cow_operation_convert_unittest.cc | 102 std::array<int, 2> src_extent, in AddMergeOperation() argument 106 *op->mutable_src_extent() = ExtentForRange(src_extent[0], src_extent[1]); in AddMergeOperation()
|
/system/core/fs_mgr/liblp/ |
D | builder.cpp | 1331 const auto& src_extent = *source_partition->extents()[i]; in VerifyExtentsAgainstSourceMetadata() local 1333 if (tgt_extent != src_extent) { in VerifyExtentsAgainstSourceMetadata() 1335 LERROR << "tgt extent " << tgt_extent << "; src extent " << src_extent; in VerifyExtentsAgainstSourceMetadata()
|
/system/update_engine/ |
D | update_metadata.proto | 240 optional Extent src_extent = 2; field
|
/system/update_engine/update_engine/ |
D | update_metadata.proto | 240 optional Extent src_extent = 2; field
|