Searched refs:fBlocksPerGroup (Results 1 - 6 of 6) sorted by relevance

/haiku-fatelf/src/add-ons/kernel/file_systems/ext2/
H A DBlockAllocator.h49 uint32 fBlocksPerGroup; member in class:BlockAllocator
H A DBlockAllocator.cpp539 fBlocksPerGroup(0),
559 fBlocksPerGroup = fVolume->BlocksPerGroup();
565 "%lu, first block: %llu, num blocks: %llu\n", fBlocksPerGroup,
742 group = (lastBlock - fFirstBlock) / fBlocksPerGroup;
743 preferred = (lastBlock - fFirstBlock) % fBlocksPerGroup + 1;
770 fFirstBlock, fBlocksPerGroup);
775 uint32 group = start / fBlocksPerGroup;
780 uint32 lastGroup = end / fBlocksPerGroup;
781 start = start % fBlocksPerGroup;
802 end % fBlocksPerGroup);
[all...]
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/bfs/r5/
H A DBlockAllocator.h60 uint32 fBlocksPerGroup; member in class:BlockAllocator
H A DBlockAllocator.cpp337 fBlocksPerGroup = fVolume->SuperBlock().BlocksPerAllocationGroup();
364 uint32 blocks = fBlocksPerGroup;
410 uint32 blocks = allocator->fBlocksPerGroup;
531 for (; block < fBlocksPerGroup; block++) {
712 return fVolume->BlockSize() * fNumGroups * fBlocksPerGroup;
803 size_t size = fVolume->BlockSize() * fNumGroups * fBlocksPerGroup;
828 int32 blocksInBitmap = fNumGroups * fBlocksPerGroup;
1068 for (; block < fBlocksPerGroup && length < run.Length(); block++, pos = 0) {
1119 if (block + 1 >= fBlocksPerGroup || length >= run.Length()) {
/haiku-fatelf/src/add-ons/kernel/file_systems/bfs/
H A DBlockAllocator.h92 uint32 fBlocksPerGroup; member in class:BlockAllocator
H A DBlockAllocator.cpp558 fBlocksPerGroup = fVolume->SuperBlock().BlocksPerAllocationGroup();
590 uint32 numBits = 8 * fBlocksPerGroup * fVolume->BlockSize();
606 fBlocksPerGroup << blockShift) < B_OK) {
618 fGroups[i].fNumBlocks = fBlocksPerGroup;
625 offset += fBlocksPerGroup;
650 uint32 blocks = allocator->fBlocksPerGroup;
1706 uint32 groupBlock = bitmapBlock % fBlocksPerGroup;
1760 for (; block < fBlocksPerGroup && length < run.Length(); block++, pos = 0) {
1820 if (block + 1 >= fBlocksPerGroup || length >= run.Length()) {
2136 kprintf("blocks per group: %" B_PRId32 "\n", fBlocksPerGroup);
[all...]

Completed in 54 milliseconds