Searched refs:BlockShift (Results 1 - 25 of 52) sorted by relevance

123

/haiku-fatelf/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 DStream.cpp39 uint32 BlockShift() const function in class:CachedBlock
40 { return fVolume.BlockShift(); }
93 if (read_pos(fVolume.Device(), block << BlockShift(), fBlock, BlockSize())
258 += indirect[current].Length() << cached.BlockShift();
262 - (run.Length() << cached.BlockShift());
281 runBlockEnd += data.direct[current].Length() << fVolume.BlockShift();
284 offset = runBlockEnd - (run.Length() << fVolume.BlockShift());
322 uint32 blockShift = fVolume.BlockShift();
389 run.Length() << fVolume.BlockShift()) < B_OK) {
H A Dbfs.cpp96 || (1UL << fSuperBlock.BlockShift()) != fSuperBlock.BlockSize()
/haiku-fatelf/src/system/boot/loader/file_systems/fat/
H A DCachedBlock.h44 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(); }
H A DCachedBlock.cpp75 fBlockNumber << BlockShift(), fBlock, BlockSize());
97 ssize_t written = write_pos(fVolume.Device(), fBlockNumber << BlockShift(),
/haiku-fatelf/src/bin/makeudfimage/
H A DAllocator.cpp71 Udf::extent_address chunk(Length(), (offset-Length())<<BlockShift());
91 Udf::extent_address chunk(chunkOffset, (offset-chunkOffset)<<BlockShift());
191 Udf::extent_address newExtent(newOffset, newLength<<BlockShift());
205 i->set_length((chunkLength-length)<<BlockShift());
212 extent.set_length(chunkLength<<BlockShift());
235 Udf::extent_address newExtent(tail, isPartial ? length<<BlockShift() : _length);
257 off_t blocks = bytes >> BlockShift();
H A DAllocator.h41 uint32 BlockShift() const { return fBlockShift; } function in class:Allocator
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/bfs/r5/
H A DStream.h39 uint32 BlockShift() const { return fVolume->BlockShift(); } function in class:Access::Uncached
123 read_pos(fVolume->Device(), fBlockNumber << BlockShift(), fBlock, BlockSize());
142 return write_pos(fVolume->Device(), fBlockNumber << BlockShift(), fBlock, BlockSize());
149 return read_pos(volume->Device(), volume->ToBlock(run) << volume->BlockShift(), buffer, run.Length() << volume->BlockShift());
156 return write_pos(volume->Device(), volume->ToBlock(run) << volume->BlockShift(), buffer, run.Length() << volume->BlockShift());
281 int32 indirectSize = (1L << (INDIRECT_BLOCKS_SHIFT + cached.BlockShift()))
283 int32 directSize = NUM_ARRAY_BLOCKS << cached.BlockShift();
[all...]
H A DVolume.cpp158 || (1UL << BlockShift()) != BlockSize()
324 fBlockShift = fSuperBlock.BlockShift();
331 if (diskSize < (NumBlocks() << BlockShift()))
592 fBlockShift = fSuperBlock.BlockShift();
H A DVolume.h63 uint32 BlockShift() const { return fBlockShift; } function in class:Volume
69 off_t ToOffset(block_run run) const { return ToBlock(run) << BlockShift(); }
H A DInode.cpp1105 uint32 blockShift = fVolume->BlockShift();
1230 off_t blocksRequested = (bytes + fVolume->BlockSize() - 1) >> fVolume->BlockShift();
1244 && blocksRequested < (65536 >> fVolume->BlockShift())
1246 blocksRequested = 65536 >> fVolume->BlockShift();
1341 data->max_indirect_range = HOST_ENDIAN_TO_BFS_INT64(data->MaxIndirectRange() + (run.Length() << fVolume->BlockShift()));
1389 int32 indirectSize = ((1L << INDIRECT_BLOCKS_SHIFT) << fVolume->BlockShift())
1391 int32 directSize = NUM_ARRAY_BLOCKS << fVolume->BlockShift();
1483 data->max_double_indirect_range = HOST_ENDIAN_TO_BFS_INT64(data->MaxDoubleIndirectRange() + (runLength << fVolume->BlockShift()));
1504 indirectSize = (1L << (INDIRECT_BLOCKS_SHIFT + fVolume->BlockShift()))
1507 indirectSize = 4 << fVolume->BlockShift();
[all...]
/haiku-fatelf/src/add-ons/kernel/file_systems/udf/
H A DCachedBlock.h33 uint32 BlockShift() const { return fVolume->BlockShift(); } function in class:CachedBlock
H A DVolume.h51 uint32 BlockShift() const { return fBlockShift; } function in class:Volume
H A DIcb.cpp219 off_t pos = logicalBlock << fVolume->BlockShift();
416 = pos - off_t((pos >> volume->BlockShift()) << volume->BlockShift());
523 vecs[index].offset = diskBlock << fVolume->BlockShift();
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/udf/r5/
H A DCachedBlock.h61 uint32 BlockShift() const { return fVolume->BlockShift(); } function in class:Udf::CachedBlock
H A DVolume.h61 uint32 BlockShift() const { return fBlockShift; } function in class:Udf::Volume
H A DIcb.h187 off_t blockOffset = pos - off_t((pos >> volume->BlockShift()) << volume->BlockShift());
188 size_t fullBlocksLeft = bytesLeft >> volume->BlockShift();
197 size_t fullBlockBytesLeft = fullBlocksLeft << volume->BlockShift();
212 readLength >> volume->BlockShift(),
H A DAllocationDescriptorList.h67 off_t startBlock = start >> fVolume->BlockShift();
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/bfs/dump_log/
H A Ddump_log.cpp32 || (1UL << BlockShift()) != BlockSize()
55 return toBlock(superBlock, run) << superBlock.BlockShift();
122 if (read_pos(device, blockNumber << superBlock.BlockShift(),
156 if (read_pos(device, blockNumber << superBlock.BlockShift(),
/haiku-fatelf/src/add-ons/kernel/file_systems/bfs/
H A DCachedBlock.h48 uint32 BlockShift() const { return fVolume->BlockShift(); } function in class:CachedBlock
H A DVolume.h71 uint32 BlockShift() const { return fBlockShift; } function in class:Volume
81 { return ToBlock(run) << BlockShift(); }
/haiku-fatelf/src/add-ons/kernel/file_systems/exfat/
H A Dexfat.h67 uint8 BlockShift() const { return block_shift; } function in struct:exfat_super_block
/haiku-fatelf/src/add-ons/kernel/file_systems/ext2/
H A DVolume.h62 uint32 BlockShift() const { return fBlockShift; } function in class:Volume
/haiku-fatelf/src/bin/bfs_tools/lib/
H A DDisk.h47 uint32 BlockShift() const { return fSuperBlock.block_shift; } function in class:Disk

Completed in 205 milliseconds

123