Searched refs:BlockAllocator (Results 1 - 25 of 34) sorted by relevance

12

/haiku-fatelf/src/add-ons/kernel/file_systems/ramfs/
H A DBlockAllocatorAreaBucket.cpp6 BlockAllocator::AreaBucket::AreaBucket()
15 BlockAllocator::AreaBucket::~AreaBucket()
25 BlockAllocator::AreaBucket::SanityCheck(bool deep) const
H A DBlockAllocatorAreaBucket.h8 #include "BlockAllocator.h"
13 class BlockAllocator::AreaBucket {
44 typedef BlockAllocator::AreaBucket AreaBucket;
59 BlockAllocator::AreaBucket::SetSizeLimits(size_t minSize, size_t maxSize)
68 BlockAllocator::AreaBucket::AddArea(Area *area)
80 BlockAllocator::AreaBucket::RemoveArea(Area *area)
92 BlockAllocator::AreaBucket::GetNextArea(Area* area) const
H A DBlockAllocator.cpp0 // BlockAllocator.cpp
7 #include "BlockAllocator.h"
13 // BlockAllocator
16 BlockAllocator::BlockAllocator(size_t areaSize) function in class:BlockAllocator
37 BlockAllocator::~BlockAllocator()
45 BlockAllocator::InitCheck() const
52 BlockAllocator::AllocateBlock(size_t usableSize)
58 //PRINT(("BlockAllocator
[all...]
H A DBlockAllocator.h0 // BlockAllocator.h
15 #define BA_PANIC(x) { PANIC(x); BlockAllocator::fPanic = true; }
20 // BlockAllocator
21 class BlockAllocator { class
23 BlockAllocator(size_t areaSize);
24 ~BlockAllocator();
H A DBlockAllocatorArea.h8 #include "BlockAllocator.h"
12 class BlockAllocator::Area : public DoublyLinkedListLinkImpl<Area> {
86 typedef BlockAllocator::Area Area;
97 BlockAllocator::Area::GetFirstUsedBlock() const
111 BlockAllocator::Area::GetMaxFreeBytesFor(size_t areaSize)
120 BlockAllocator::Area::GetBucketIndex()
128 BlockAllocator::Area::_FixBlockList(Block *block, Block *prevBlock,
146 BlockAllocator::Area::_FixFreeList(TFreeBlock *block, TFreeBlock *prevFree,
166 BlockAllocator::Area::_DefragmentingRecommended()
H A DBlockAllocatorArea.cpp7 BlockAllocator::Area::Area(area_id id, size_t size)
28 BlockAllocator::Area *
29 BlockAllocator::Area::Create(size_t size)
43 ERROR(("BlockAllocator::Area::Create(%lu): Failed to create area: %s\n",
51 BlockAllocator::Area::Delete()
58 BlockAllocator::Area::AllocateBlock(size_t usableSize, bool dontDefragment)
123 BlockAllocator::Area::FreeBlock(Block *block, bool dontDefragment)
149 BlockAllocator::Area::ResizeBlock(Block *block, size_t newUsableSize,
246 BlockAllocator::Area::SanityCheck() const
409 BlockAllocator
[all...]
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/userlandfs/r5/src/test/ramfs/
H A DBlockAllocatorAreaBucket.cpp6 BlockAllocator::AreaBucket::AreaBucket()
15 BlockAllocator::AreaBucket::~AreaBucket()
25 BlockAllocator::AreaBucket::SanityCheck(bool deep) const
H A DBlockAllocatorAreaBucket.h8 #include "BlockAllocator.h"
13 class BlockAllocator::AreaBucket {
44 typedef BlockAllocator::AreaBucket AreaBucket;
59 BlockAllocator::AreaBucket::SetSizeLimits(size_t minSize, size_t maxSize)
68 BlockAllocator::AreaBucket::AddArea(Area *area)
80 BlockAllocator::AreaBucket::RemoveArea(Area *area)
92 BlockAllocator::AreaBucket::GetNextArea(Area* area) const
H A DBlockAllocator.cpp0 // BlockAllocator.cpp
9 #include "BlockAllocator.h"
15 // BlockAllocator
18 BlockAllocator::BlockAllocator(size_t areaSize) function in class:BlockAllocator
39 BlockAllocator::~BlockAllocator()
47 BlockAllocator::InitCheck() const
54 BlockAllocator::AllocateBlock(size_t usableSize)
60 //PRINT(("BlockAllocator
[all...]
H A DBlockAllocator.h0 // BlockAllocator.h
15 #define BA_PANIC(x) { PANIC(x); BlockAllocator::fPanic = true; }
20 // BlockAllocator
21 class BlockAllocator { class
23 BlockAllocator(size_t areaSize);
24 ~BlockAllocator();
H A DBlockAllocatorArea.h8 #include "BlockAllocator.h"
12 class BlockAllocator::Area : public DoublyLinkedListLinkImpl<Area> {
86 typedef BlockAllocator::Area Area;
97 BlockAllocator::Area::GetFirstUsedBlock() const
111 BlockAllocator::Area::GetMaxFreeBytesFor(size_t areaSize)
120 BlockAllocator::Area::GetBucketIndex()
128 BlockAllocator::Area::_FixBlockList(Block *block, Block *prevBlock,
146 BlockAllocator::Area::_FixFreeList(TFreeBlock *block, TFreeBlock *prevFree,
166 BlockAllocator::Area::_DefragmentingRecommended()
H A DBlockAllocatorArea.cpp7 BlockAllocator::Area::Area(area_id id, size_t size)
28 BlockAllocator::Area *
29 BlockAllocator::Area::Create(size_t size)
43 ERROR(("BlockAllocator::Area::Create(%lu): Failed to create area: %s\n",
51 BlockAllocator::Area::Delete()
58 BlockAllocator::Area::AllocateBlock(size_t usableSize, bool dontDefragment)
123 BlockAllocator::Area::FreeBlock(Block *block, bool dontDefragment)
149 BlockAllocator::Area::ResizeBlock(Block *block, size_t newUsableSize,
246 BlockAllocator::Area::SanityCheck() const
409 BlockAllocator
[all...]
H A Dmakefile35 BlockAllocator.cpp BlockAllocatorArea.cpp BlockAllocatorAreaBucket.cpp \
/haiku-fatelf/src/add-ons/kernel/file_systems/ext2/
H A DBlockAllocator.h23 class BlockAllocator { class
25 BlockAllocator(Volume* volume);
26 ~BlockAllocator();
42 static status_t _Initialize(BlockAllocator* allocator);
H A DBlockAllocator.cpp11 #include "BlockAllocator.h"
535 BlockAllocator::BlockAllocator(Volume* volume) function in class:BlockAllocator
547 BlockAllocator::~BlockAllocator()
557 BlockAllocator::Initialize()
564 TRACE("BlockAllocator::Initialize(): blocks per group: %lu, block groups: "
572 TRACE("BlockAllocator::Initialize(): allocated allocation block groups\n");
578 // (thread_func)BlockAllocator::_Initialize, "ext2 block allocator",
593 BlockAllocator
[all...]
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/bfs/r5/
H A DBlockAllocator.h3 /* BlockAllocator - block bitmap handling and allocation policies
23 class BlockAllocator { class
25 BlockAllocator(Volume *volume);
26 ~BlockAllocator();
54 static status_t initialize(BlockAllocator *);
H A DBlockAllocator.cpp0 /* BlockAllocator - block bitmap handling and allocation policies
9 #include "BlockAllocator.h"
24 // Things the BlockAllocator should do:
314 BlockAllocator::BlockAllocator(Volume *volume)
324 BlockAllocator::~BlockAllocator()
331 BlockAllocator::Initialize(bool full)
348 thread_id id = spawn_kernel_thread((thread_func)BlockAllocator::initialize,
358 BlockAllocator
[all...]
H A DVolume.h15 #include "BlockAllocator.h"
81 BlockAllocator &Allocator();
122 BlockAllocator fBlockAllocator;
158 inline BlockAllocator &
/haiku-fatelf/src/tests/system/kernel/file_corruption/fs/
H A DBlockAllocator.h16 class BlockAllocator { class
18 BlockAllocator(Volume* volume);
19 ~BlockAllocator();
77 AllocatedBlock(BlockAllocator* allocator, Transaction& transaction)
114 BlockAllocator* fAllocator;
H A DVolume.h16 class BlockAllocator;
69 inline BlockAllocator* GetBlockAllocator() const
88 BlockAllocator* fBlockAllocator;
H A DBlockAllocator.cpp7 #include "BlockAllocator.h"
46 BlockAllocator::BlockAllocator(Volume* volume) function in class:BlockAllocator
58 BlockAllocator::~BlockAllocator()
65 BlockAllocator::Init(uint64 blockBitmap, uint64 freeBlocks)
82 BlockAllocator::Initialize(Transaction& transaction)
89 PRINT("BlockAllocator::Initialize():\n");
156 PRINT("BlockAllocator::Initialize() done:\n");
164 BlockAllocator
[all...]
/haiku-fatelf/src/add-ons/kernel/file_systems/bfs/
H A DBlockAllocator.h27 class BlockAllocator { class
29 BlockAllocator(Volume* volume);
30 ~BlockAllocator();
85 static status_t _Initialize(BlockAllocator* self);
H A DBlockAllocator.cpp10 #include "BlockAllocator.h"
19 // Things the BlockAllocator should do:
240 friend class BlockAllocator;
373 BlockAllocator::Initialize() and BlockAllocator::InitializeAndClearBitmap()
536 BlockAllocator::BlockAllocator(Volume* volume)
547 BlockAllocator::~BlockAllocator()
555 BlockAllocator
[all...]
H A DVolume.h12 #include "BlockAllocator.h"
102 BlockAllocator& Allocator();
154 BlockAllocator fBlockAllocator;
193 inline BlockAllocator&
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/fs_shell/
H A Dmakefile19 BlockAllocator.o kernel_interface.o Utility.o Debug.o BufferPool.o cpp.o

Completed in 85 milliseconds

12