Searched refs:blockGroup (Results 1 – 9 of 9) sorted by relevance
/haiku/src/add-ons/kernel/file_systems/ext2/ |
H A D | InodeAllocator.cpp | 65 uint32 blockGroup = (id - 1) / numInodes; in Free() local 68 status_t status = fVolume->GetBlockGroup(blockGroup, &group); in Free() 75 if (blockGroup == fVolume->NumGroups() - 1) in Free() 76 numInodes = fVolume->NumInodes() - blockGroup * numInodes; in Free() 94 return fVolume->WriteBlockGroup(transaction, blockGroup); in Free() 104 uint32 blockGroup = preferredBlockGroup; in _Allocate() local 108 for (; blockGroup < lastBlockGroup; ++blockGroup) { in _Allocate() 109 if (_AllocateInGroup(transaction, blockGroup, in _Allocate() 114 if (i == 0 && _AllocateInGroup(transaction, blockGroup, in _Allocate() 115 isDirectory, id, fVolume->NumInodes() - blockGroup in _Allocate() [all …]
|
H A D | InodeAllocator.h | 36 uint32 blockGroup, bool isDirectory, 39 fsblock_t bitmapBlock, uint32 blockGroup,
|
H A D | BlockAllocator.cpp | 36 status_t Initialize(Volume* volume, uint32 blockGroup, 124 AllocationBlockGroup::Initialize(Volume* volume, uint32 blockGroup, in Initialize() argument 128 fBlockGroup = blockGroup; in Initialize() 130 fStart = blockGroup * numBits + fVolume->FirstDataBlock(); in Initialize() 132 status_t status = fVolume->GetBlockGroup(blockGroup, &fGroupDescriptor); in Initialize() 646 uint32 maximum, uint32& blockGroup, fsblock_t& start, uint32& length) in AllocateBlocks() argument 655 minimum, maximum, blockGroup, start, fNumGroups); in AllocateBlocks() 661 uint32 groupNum = blockGroup; in AllocateBlocks() 664 AllocationBlockGroup* group = &fGroups[blockGroup]; in AllocateBlocks() 697 last = &fGroups[blockGroup + 1]; in AllocateBlocks() [all …]
|
H A D | BlockAllocator.h | 31 uint32 minimum, uint32 maximum, uint32& blockGroup,
|
H A D | ExtentStream.cpp | 166 uint32 blockGroup = (fAllocatedPos - fFirstBlock) in Enlarge() local 171 targetBlocks - fNumBlocks, blockGroup, fAllocatedPos, in Enlarge() 246 blockGroup, newBlock, _allocated); in Enlarge() 286 blockGroup, newBlock, _allocated); in Enlarge() 331 blockGroup, newBlock, _allocated); in Enlarge()
|
H A D | Volume.h | 128 uint32& blockGroup, fsblock_t& start,
|
H A D | DataStream.cpp | 378 uint32 blockGroup = (fAllocatedPos - fFirstBlock) in _GetBlock() local 382 blockGroup, fAllocatedPos, fAllocated); in _GetBlock()
|
H A D | Volume.cpp | 702 uint32& blockGroup, fsblock_t& start, uint32& length) in AllocateBlocks() argument 711 maximum, blockGroup, start, length); in AllocateBlocks()
|
/haiku/src/add-ons/kernel/file_systems/btrfs/ |
H A D | ExtentAllocator.cpp | 535 BlockGroup blockGroup(fVolume->ExtentTree()); in _LoadExtentTree() local 536 status_t status = blockGroup.Initialize(flags); in _LoadExtentTree() 546 status = blockGroup.SetExtentTree(extentRootAddr); in _LoadExtentTree() 549 status = blockGroup.LoadExtent(fTree, false); in _LoadExtentTree() 557 uint64 lowerBound = blockGroup.Start(); in _LoadExtentTree() 558 uint64 upperBound = blockGroup.End(); in _LoadExtentTree() 651 BlockGroup blockGroup(fVolume->ExtentTree()); in AllocateTreeBlock() local 652 status_t status = blockGroup.Initialize(flags); in AllocateTreeBlock() 656 start = blockGroup.Start(); in AllocateTreeBlock() 670 if (found >= blockGroup.End()) in AllocateTreeBlock() [all …]
|