Lines Matching refs:ExtentRanges
35 bool ExtentRanges::ExtentsOverlapOrTouch(const Extent& a, const Extent& b) { in ExtentsOverlapOrTouch()
47 bool ExtentRanges::ExtentsOverlap(const Extent& a, const Extent& b) { in ExtentsOverlap()
59 void ExtentRanges::AddBlock(uint64_t block) { in AddBlock()
63 void ExtentRanges::SubtractBlock(uint64_t block) { in SubtractBlock()
80 void ExtentRanges::AddExtent(Extent extent) { in AddExtent()
108 ExtentRanges::ExtentSet SubtractOverlappingExtents(const Extent& base, in SubtractOverlappingExtents()
110 ExtentRanges::ExtentSet ret; in SubtractOverlappingExtents()
124 void ExtentRanges::SubtractExtent(const Extent& extent) { in SubtractExtent()
158 void ExtentRanges::AddRanges(const ExtentRanges& ranges) { in AddRanges()
167 void ExtentRanges::SubtractRanges(const ExtentRanges& ranges) { in SubtractRanges()
176 void ExtentRanges::AddExtents(const vector<Extent>& extents) { in AddExtents()
184 void ExtentRanges::SubtractExtents(const vector<Extent>& extents) { in SubtractExtents()
192 void ExtentRanges::AddRepeatedExtents( in AddRepeatedExtents()
199 void ExtentRanges::SubtractRepeatedExtents( in SubtractRepeatedExtents()
206 bool ExtentRanges::ContainsBlock(uint64_t block) const { in ContainsBlock()
223 void ExtentRanges::Dump() const { in Dump()
248 vector<Extent> ExtentRanges::GetExtentsForBlockCount(uint64_t count) const { in GetExtentsForBlockCount()
277 const ExtentRanges& ranges) { in FilterExtentRanges()
279 const ExtentRanges::ExtentSet& extent_set = ranges.extent_set(); in FilterExtentRanges()
294 if (!ExtentRanges::ExtentsOverlap(extent, *iter)) in FilterExtentRanges()