Searched refs:ExtentRanges (Results 1 – 12 of 12) sorted by relevance
35 void ExpectRangeEq(const ExtentRanges& ranges, in ExpectRangeEq()64 EXPECT_TRUE(ExtentRanges::ExtentsOverlapOrTouch( in ExpectRangesOverlapOrTouch()66 EXPECT_TRUE(ExtentRanges::ExtentsOverlapOrTouch( in ExpectRangesOverlapOrTouch()92 EXPECT_TRUE(ExtentRanges::ExtentsOverlapOrTouch( in ExpectRangesOverlap()126 ExtentRanges ranges; in TEST()197 ExtentRanges ranges_a, ranges_b; in TEST()222 ExtentRanges ranges; in TEST()253 ExtentRanges ranges; in TEST()272 ExtentRanges ranges; in TEST()287 ExtentRanges ranges; in TEST()[all …]
58 void ExtentRanges::AddBlock(uint64_t block) { in AddBlock()62 void ExtentRanges::SubtractBlock(uint64_t block) { in SubtractBlock()79 void ExtentRanges::AddExtent(Extent extent) { in AddExtent()109 ExtentRanges::ExtentSet ret; in SubtractOverlappingExtents()123 void ExtentRanges::SubtractExtent(const Extent& extent) { in SubtractExtent()157 void ExtentRanges::AddRanges(const ExtentRanges& ranges) { in AddRanges()166 void ExtentRanges::SubtractRanges(const ExtentRanges& ranges) { in SubtractRanges()191 void ExtentRanges::AddRepeatedExtents( in AddRepeatedExtents()198 void ExtentRanges::SubtractRepeatedExtents( in SubtractRepeatedExtents()231 void ExtentRanges::Dump() const { in Dump()[all …]
48 class ExtentRanges {52 ExtentRanges() : blocks_(0) {} in ExtentRanges() function63 void AddRanges(const ExtentRanges& ranges);64 void SubtractRanges(const ExtentRanges& ranges);96 const ExtentRanges& ranges);
72 ExtentRanges* old_visited_blocks,73 ExtentRanges* new_visited_blocks,74 ExtentRanges* old_zero_blocks);
129 ExtentRanges old_zero_blocks; in RunDeltaMovedAndZeroBlocks()158 ExtentRanges old_visited_blocks_;159 ExtentRanges new_visited_blocks_;180 EXPECT_FALSE(ExtentRanges::ExtentsOverlap( in TEST_F()183 ExtentRanges::ExtentsOverlap(extent, new_part_.verity.fec_extent)); in TEST_F()375 ExtentRanges expected_ranges; in TEST_F()
214 ExtentRanges src_extent_set; in ValidateSplitSequence()216 ExtentRanges dst_extent_set; in ValidateSplitSequence()230 ASSERT_FALSE(ExtentRanges::ExtentsOverlap(merge_op.src_extent(), in ValidateSplitSequence()
278 ExtentRanges old_visited_blocks; in DeltaReadPartition()279 ExtentRanges new_visited_blocks; in DeltaReadPartition()293 ExtentRanges old_zero_blocks; in DeltaReadPartition()429 ExtentRanges* old_visited_blocks, in DeltaMovedAndZeroBlocks()430 ExtentRanges* new_visited_blocks, in DeltaMovedAndZeroBlocks()431 ExtentRanges* old_zero_blocks) { in DeltaMovedAndZeroBlocks()
106 if (ExtentRanges::ExtentsOverlap(src_extent, dst_extent)) { in Create()284 ExtentRanges visited; in ValidateSequence()
322 ExtentRanges ranges; in GetFiles()
228 ExtentRanges file_extents; in Init()
32 ExtentRanges merge_extents; in ConvertToCowOperations()34 ExtentRanges modified_extents; in ConvertToCowOperations()
57 ExtentRanges src_extent_set; in VerifyCowMergeOp()58 ExtentRanges dst_extent_set; in VerifyCowMergeOp()63 ExtentRanges modified_extents; in VerifyCowMergeOp()