Lines Matching refs:ExtentForRange
58 AddExtent(ExtentForRange(block, 1)); in AddBlock()
62 SubtractExtent(ExtentForRange(block, 1)); in SubtractBlock()
73 return ExtentForRange(start, end - start); in UnionOverlappingExtents()
109 ret.insert(ExtentForRange(base.start_block(), in SubtractOverlappingExtents()
115 ret.insert(ExtentForRange(subtractee_end, base_end - subtractee_end)); in SubtractOverlappingExtents()
196 auto lower = extent_set_.lower_bound(ExtentForRange(block, 1)); in ContainsBlock()
202 auto upper = extent_set_.lower_bound(ExtentForRange(block + 1, 0)); in ContainsBlock()
221 Extent ExtentForRange(uint64_t start_block, uint64_t num_blocks) { in ExtentForRange() function
271 ExtentForRange(extent.start_block() + extent.num_blocks(), 0)); in FilterExtentRanges()
283 extent = ExtentForRange(extent.start_block() + cut_blocks, in FilterExtentRanges()
289 ExtentForRange(extent.start_block(), in FilterExtentRanges()
297 extent = ExtentForRange(new_start, old_end - new_start); in FilterExtentRanges()