Lines Matching refs:CachedExtent
11 CachedExtent*
12 CachedExtent::Create(uint64 offset, uint64 length, uint64 flags) in Create()
14 CachedExtent* self = new(std::nothrow) CachedExtent(); in Create()
30 CachedExtent::Delete() in Delete()
40 CachedExtent::IsAllocated() const in IsAllocated()
47 CachedExtent::IsData() const in IsData()
54 CachedExtent::Info() const in Info()
89 CachedExtentTree::FindNext(CachedExtent** chosen, uint64 offset, uint64 size, in FindNext()
92 CachedExtent* found = Find(offset); in FindNext()
110 CachedExtent* node = FindClosest(lowerBound, false); in FillFreeExtents()
111 CachedExtent* hole = NULL; in FillFreeExtents()
115 hole = CachedExtent::Create(lowerBound, node->offset - lowerBound, in FillFreeExtents()
122 CachedExtent* next = NULL; in FillFreeExtents()
129 hole = CachedExtent::Create(node->End(), next->offset - node->End(), in FillFreeExtents()
139 hole = CachedExtent::Create(node->End(), upperBound - node->End(), in FillFreeExtents()
149 CachedExtentTree::_RemoveExtent(CachedExtent* node) in _RemoveExtent()
160 CachedExtentTree::_AddAllocatedExtent(CachedExtent* node) in _AddAllocatedExtent()
165 CachedExtent* found = Find(node->offset); in _AddAllocatedExtent()
194 CachedExtent* leftEmpty = CachedExtent::Create( in _AddAllocatedExtent()
221 CachedExtentTree::_AddFreeExtent(CachedExtent* node) in _AddFreeExtent()
226 CachedExtent* found = Find(node->offset); in _AddFreeExtent()
244 CachedExtent* rightEmpty = CachedExtent::Create(found->End(), in _AddFreeExtent()
259 CachedExtent* left = CachedExtent::Create(node->offset - diff, in _AddFreeExtent()
276 CachedExtentTree::AddExtent(CachedExtent* extent) in AddExtent()
285 CachedExtentTree::_CombineFreeExtent(CachedExtent* node) in _CombineFreeExtent()
292 CachedExtent* other = Next(node); in _CombineFreeExtent()
311 CachedExtentTree::_DumpInOrder(CachedExtent* node) const in _DumpInOrder()
339 CachedExtentTree::_Delete(CachedExtent* node) in _Delete()
441 CachedExtent* insert; in LoadExtent()
469 insert = CachedExtent::Create(key.ObjectID(), extentSize, flags); in LoadExtent()
473 insert = CachedExtent::Create(start, extentSize, flags); in LoadExtent()
491 CachedExtent* extent = CachedExtent::Create(start, length, flags); in _InsertExtent()
497 BlockGroup::_InsertExtent(CachedExtentTree* tree, CachedExtent* extent) in _InsertExtent()
615 CachedExtent* chosen; in _Allocate()
633 chosen = CachedExtent::Create(start, size, in _Allocate()