Lines Matching refs:ExtentForRange
60 AddExtent(ExtentForRange(block, 1)); in AddBlock()
64 SubtractExtent(ExtentForRange(block, 1)); in SubtractBlock()
75 return ExtentForRange(start, end - start); in UnionOverlappingExtents()
112 ret.insert(ExtentForRange(base.start_block(), in SubtractOverlappingExtents()
118 ret.insert(ExtentForRange(subtractee_end, base_end - subtractee_end)); in SubtractOverlappingExtents()
207 auto lower = extent_set_.lower_bound(ExtentForRange(block, 1)); in ContainsBlock()
213 auto upper = extent_set_.lower_bound(ExtentForRange(block + 1, 0)); in ContainsBlock()
233 Extent ExtentForRange(uint64_t start_block, uint64_t num_blocks) { in ExtentForRange() function
245 return ExtentForRange(start_block, end_block - start_block); in ExtentForBytes()
292 ExtentForRange(extent.start_block() + extent.num_blocks(), 0)); in FilterExtentRanges()
304 extent = ExtentForRange(extent.start_block() + cut_blocks, in FilterExtentRanges()
309 result.push_back(ExtentForRange( in FilterExtentRanges()
317 extent = ExtentForRange(new_start, old_end - new_start); in FilterExtentRanges()