Searched refs:fBlockAllocator (Results 1 - 12 of 12) sorted by relevance

/haiku-fatelf/src/add-ons/kernel/file_systems/ramfs/
H A DVolume.cpp151 fBlockAllocator(NULL),
185 fBlockAllocator = new(nothrow) BlockAllocator(kDefaultAreaSize);
186 if (fBlockAllocator)
187 error = fBlockAllocator->InitCheck();
290 if (fBlockAllocator) {
291 delete fBlockAllocator;
292 fBlockAllocator = NULL;
314 + fBlockAllocator->GetAvailableBytes();
324 return CountBlocks() - fBlockAllocator->GetUsedBytes() / kDefaultBlockSize;
796 *block = fBlockAllocator
[all...]
H A DVolume.h202 BlockAllocator *fBlockAllocator; member in class:Volume
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/userlandfs/r5/src/test/ramfs/
H A DVolume.cpp151 fBlockAllocator(NULL),
183 fBlockAllocator = new(nothrow) BlockAllocator(kDefaultAreaSize);
184 if (fBlockAllocator)
185 error = fBlockAllocator->InitCheck();
288 if (fBlockAllocator) {
289 delete fBlockAllocator;
290 fBlockAllocator = NULL;
312 + fBlockAllocator->GetAvailableBytes();
322 return CountBlocks() - fBlockAllocator->GetUsedBytes() / kDefaultBlockSize;
781 *block = fBlockAllocator
[all...]
H A DVolume.h195 BlockAllocator *fBlockAllocator; member in class:Volume
/haiku-fatelf/src/tests/system/kernel/file_corruption/fs/
H A DVolume.cpp44 fBlockAllocator(NULL),
55 delete fBlockAllocator;
148 status_t error = fBlockAllocator->Init(superBlock->BlockBitmap(),
199 error = fBlockAllocator->Initialize(transaction);
242 info.free_blocks = fBlockAllocator->FreeBlocks();
390 error = fBlockAllocator->Free(node->BlockIndex(), 1, transaction);
475 fBlockAllocator = new(std::nothrow) BlockAllocator(this);
476 if (fBlockAllocator == NULL)
492 AllocatedBlock allocatedBlock(fBlockAllocator, transaction);
H A DVolume.h70 { return fBlockAllocator; }
88 BlockAllocator* fBlockAllocator; member in class:Volume
/haiku-fatelf/src/add-ons/kernel/file_systems/bfs/
H A DVolume.h154 BlockAllocator fBlockAllocator; member in class:Volume
196 return fBlockAllocator;
204 return fBlockAllocator.AllocateForInode(transaction, parent, type, run);
212 return fBlockAllocator.Allocate(transaction, inode, numBlocks, run,
220 return fBlockAllocator.Free(transaction, run);
H A DVolume.cpp280 fBlockAllocator(this),
392 status = fBlockAllocator.Initialize();
447 fBlockAllocator.Uninitialize();
543 return fBlockAllocator.AllocateForInode(transaction, &parent->BlockRun(),
738 if (fBlockAllocator.InitializeAndClearBitmap(transaction) < B_OK)
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/bfs/r5/
H A DVolume.h122 BlockAllocator fBlockAllocator; member in class:Volume
161 return fBlockAllocator;
168 return fBlockAllocator.AllocateForInode(transaction, parent, type, run);
175 return fBlockAllocator.Allocate(transaction, inode, numBlocks, run, minimum);
182 return fBlockAllocator.Free(transaction, run);
H A DVolume.cpp237 fBlockAllocator(this),
344 || fBlockAllocator.Initialize() < B_OK) {
462 return fBlockAllocator.AllocateForInode(transaction, &parent->BlockRun(), type, run);
621 if (fBlockAllocator.InitializeAndClearBitmap(transaction) < B_OK)
/haiku-fatelf/src/add-ons/kernel/file_systems/ext2/
H A DVolume.cpp219 fBlockAllocator(NULL),
233 delete fBlockAllocator;
417 fBlockAllocator = new(std::nothrow) BlockAllocator(this);
418 if (fBlockAllocator != NULL) {
420 status = fBlockAllocator->Initialize();
422 if (fBlockAllocator == NULL || status != B_OK) {
423 delete fBlockAllocator;
424 fBlockAllocator = NULL;
820 status_t status = fBlockAllocator->AllocateBlocks(transaction, minimum,
840 status_t status = fBlockAllocator
[all...]
H A DVolume.h155 BlockAllocator* fBlockAllocator; member in class:Volume

Completed in 71 milliseconds