Lines Matching refs:ExtentForRange
59 AddExtent(ExtentForRange(block, 1)); in AddBlock()
63 SubtractExtent(ExtentForRange(block, 1)); in SubtractBlock()
74 return ExtentForRange(start, end - start); in UnionOverlappingExtents()
111 ret.insert(ExtentForRange(base.start_block(), in SubtractOverlappingExtents()
117 ret.insert(ExtentForRange(subtractee_end, base_end - subtractee_end)); in SubtractOverlappingExtents()
215 auto lower = extent_set_.lower_bound(ExtentForRange(block, 1)); in ContainsBlock()
221 auto upper = extent_set_.lower_bound(ExtentForRange(block + 1, 0)); in ContainsBlock()
241 Extent ExtentForRange(uint64_t start_block, uint64_t num_blocks) { in ExtentForRange() function
253 return ExtentForRange(start_block, end_block - start_block); in ExtentForBytes()
300 ExtentForRange(extent.start_block() + extent.num_blocks(), 0)); in FilterExtentRanges()
312 extent = ExtentForRange(extent.start_block() + cut_blocks, in FilterExtentRanges()
317 result.push_back(ExtentForRange( in FilterExtentRanges()
325 extent = ExtentForRange(new_start, old_end - new_start); in FilterExtentRanges()