Searched refs:CachedExtent (Results 1 – 2 of 2) sorted by relevance
/haiku/src/add-ons/kernel/file_systems/btrfs/ |
H A D | ExtentAllocator.h | 30 struct CachedExtent : AVLTreeNode { struct 37 static CachedExtent* Create(uint64 offset, uint64 length, argument 48 CachedExtent() {} in CachedExtent() argument 49 CachedExtent(const CachedExtent& other); 55 typedef CachedExtent Value; 91 status_t FindNext(CachedExtent** chosen, uint64 offset, 93 status_t AddExtent(CachedExtent* extent); 99 status_t _AddAllocatedExtent(CachedExtent* node); 100 status_t _AddFreeExtent(CachedExtent* node); 101 void _CombineFreeExtent(CachedExtent* node); [all …]
|
H A D | ExtentAllocator.cpp | 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() [all …]
|