Searched refs:BlockShift (Results 1 - 25 of 39) sorted by path

12

/haiku/headers/libs/agg/
H A Dagg_path_storage.h30 template<class T, unsigned BlockShift=8, unsigned BlockPool=256>
37 block_shift = BlockShift,
44 typedef vertex_block_storage<T, BlockShift, BlockPool> self_type;
/haiku/src/add-ons/kernel/file_systems/bfs/
H A DVolume.h75 uint32 BlockShift() const { return fBlockShift; } function in class:Volume
85 { return ToBlock(run) << BlockShift(); }
H A Dbfs.h88 uint32 BlockShift() const { return BFS_ENDIAN_TO_HOST_INT32(block_shift); } function in struct:BFS::disk_super_block
H A DBPlusTree.cpp459 if (read_pos(volume->Device(), fBlockNumber << volume->BlockShift(),
471 - (fileOffset + (blockOffset << volume->BlockShift())));
H A DBlockAllocator.cpp560 uint32 blockShift = fVolume->BlockShift();
626 uint32 blockShift = volume->BlockShift();
1191 uint32 blockShift = fVolume->BlockShift();
H A DCachedBlock.h50 uint32 BlockShift() const function in class:CachedBlock
51 { return fVolume->BlockShift(); }
H A DCheckVisitor.cpp570 = ((uint32)indirect.Length() << GetVolume()->BlockShift())
H A DDebug.cpp54 kprintf(" block_shift = %u\n", (unsigned)superBlock->BlockShift());
H A DInode.cpp1537 << cached.BlockShift();
1541 << cached.BlockShift());
1559 << fVolume->BlockShift();
1563 - ((uint32)run.Length() << fVolume->BlockShift());
1757 >> fVolume->BlockShift();
1778 roundTo = 65536 >> fVolume->BlockShift();
1782 roundTo = (512 * 1024) >> fVolume->BlockShift();
1786 roundTo = size >> (fVolume->BlockShift() + 4);
1790 roundTo = 65536 >> fVolume->BlockShift();
1794 roundTo = 4096 >> fVolume->BlockShift();
[all...]
H A DJournal.cpp753 int32 blockShift = fVolume->BlockShift();
H A DVolume.cpp43 || (1UL << BlockShift()) != BlockSize()
197 fBlockShift = fSuperBlock.BlockShift();
204 if (diskSize < (NumBlocks() << BlockShift())) {
206 B_PRIdOFF " bytes)!\n", diskSize, NumBlocks() << BlockShift()));
573 fBlockShift = fSuperBlock.BlockShift();
H A Dkernel_interface.cpp537 int32 blockShift = volume->BlockShift();
/haiku/src/add-ons/kernel/file_systems/exfat/
H A Dexfat.h75 uint8 BlockShift() const { return block_shift; } function in struct:exfat_super_block
H A DVolume.cpp169 fBlockSize = 1 << fSuperBlock.BlockShift();
180 << fSuperBlock.BlockShift();
H A Dkernel_interface.cpp98 uint32 blockSize = 1 << superBlock.BlockShift();
120 << superBlock.BlockShift();
138 << cookie->super_block.BlockShift();
139 partition->block_size = 1 << cookie->super_block.BlockShift();
/haiku/src/add-ons/kernel/file_systems/udf/
H A DAllocationDescriptorList.h107 off_t startBlock = start >> fVolume->BlockShift();
H A DVolume.h51 uint32 BlockShift() const { return fBlockShift; } function in class:Volume
/haiku/src/bin/bfs_tools/lib/
H A DDisk.cpp78 ssize_t length = (int32)run.length << fDisk->BlockShift();
H A DDisk.h48 uint32 BlockShift() const { return fSuperBlock.block_shift; } function in class:Disk
/haiku/src/system/boot/loader/file_systems/bfs/
H A DVolume.h42 uint32 BlockShift() const { return fSuperBlock.BlockShift(); } function in class:BFS::Volume
48 off_t ToOffset(block_run run) const { return ToBlock(run) << BlockShift(); }
49 off_t ToOffset(off_t block) const { return block << BlockShift(); }
H A Dbfs.cpp96 || (1UL << fSuperBlock.BlockShift()) != fSuperBlock.BlockSize()
/haiku/src/system/boot/loader/file_systems/fat/
H A DCachedBlock.cpp75 fBlockNumber << BlockShift(), fBlock, BlockSize());
97 ssize_t written = write_pos(fVolume.Device(), fBlockNumber << BlockShift(),
H A DCachedBlock.h40 uint32 BlockShift() const { return fVolume.BlockShift(); } function in class:FATFS::CachedBlock
H A DVolume.h39 int32 BlockShift() const { return fBlockShift; } function in class:FATFS::Volume
58 { return block << BlockShift(); }
59 uint32 ToBlock(off_t offset) const { return offset >> BlockShift(); }
/haiku/src/tests/add-ons/kernel/file_systems/bfs/btree/
H A DVolume.h30 uint32 BlockShift() const { return 10; /* 2^BlockShift == BlockSize */ } function in class:Volume

Completed in 168 milliseconds

12