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

/haiku/src/system/boot/loader/file_systems/bfs/
H A Dbfs.cpp98 || fSuperBlock.AllocationGroupShift() < 1
101 || fSuperBlock.AllocationGroups() != divide_roundup(fSuperBlock.NumBlocks(), 1L << fSuperBlock.AllocationGroupShift()))
112 || run.Start() > (1UL << AllocationGroupShift())
114 || uint32(run.Length() + run.Start()) > (1UL << AllocationGroupShift())) {
127 run.allocation_group = HOST_ENDIAN_TO_BFS_INT32(block >> fSuperBlock.AllocationGroupShift());
128 run.start = HOST_ENDIAN_TO_BFS_INT16(block & ~((1LL << fSuperBlock.AllocationGroupShift()) - 1));
H A DVolume.h45 uint32 AllocationGroupShift() const { return fSuperBlock.AllocationGroupShift(); } function in class:BFS::Volume
50 off_t ToBlock(block_run run) const { return ((off_t)run.AllocationGroup() << AllocationGroupShift()) | (uint32)run.Start(); }
H A DStream.cpp454 || parent.Start() > (1L << volume->AllocationGroupShift())
459 || attributes.Start() > (1L << volume->AllocationGroupShift()))
/haiku/src/add-ons/kernel/file_systems/bfs/
H A DVolume.cpp45 || AllocationGroupShift() < 1
49 1L << AllocationGroupShift()))
198 fAllocationGroupShift = fSuperBlock.AllocationGroupShift();
324 || run.Start() > (1UL << AllocationGroupShift())
327 > (1UL << AllocationGroupShift())) {
342 block >> AllocationGroupShift());
344 block & ((1LL << AllocationGroupShift()) - 1));
574 fAllocationGroupShift = fSuperBlock.AllocationGroupShift();
H A DVolume.h80 uint32 AllocationGroupShift() const function in class:Volume
88 << AllocationGroupShift())
H A DDebug.cpp64 (unsigned)superBlock->AllocationGroupShift(),
65 1L << superBlock->AllocationGroupShift());
H A Dbfs.h95 int32 AllocationGroupShift() const function in struct:BFS::disk_super_block
H A DInode.cpp319 || parent.Start() > (1L << volume->AllocationGroupShift())
324 || attributes.Start() > (1L << volume->AllocationGroupShift()))
H A DBlockAllocator.cpp1260 int32 group = start >> fVolume->AllocationGroupShift();
H A Dkernel_interface.cpp2406 1L << super.AllocationGroupShift()));
/haiku/src/tests/add-ons/kernel/file_systems/bfs/dump_log/
H A Ddump_log.cpp34 || AllocationGroupShift() < 1
38 1L << AllocationGroupShift()))
48 return ((((off_t)run.AllocationGroup()) << superBlock.AllocationGroupShift()) | (off_t)run.Start());
/haiku/src/bin/bfs_tools/lib/
H A DDisk.h50 uint32 AllocationGroupShift() const { return fSuperBlock.ag_shift; } function in class:Disk

Completed in 77 milliseconds