/haiku-fatelf/src/system/boot/loader/file_systems/bfs/ |
H A D | Volume.h | 42 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 D | Stream.cpp | 39 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 D | bfs.cpp | 96 || (1UL << fSuperBlock.BlockShift()) != fSuperBlock.BlockSize()
|
/haiku-fatelf/src/system/boot/loader/file_systems/fat/ |
H A D | CachedBlock.h | 44 uint32 BlockShift() const { return fVolume.BlockShift(); } function in class:FATFS::CachedBlock
|
H A D | Volume.h | 39 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 D | CachedBlock.cpp | 75 fBlockNumber << BlockShift(), fBlock, BlockSize()); 97 ssize_t written = write_pos(fVolume.Device(), fBlockNumber << BlockShift(),
|
/haiku-fatelf/src/bin/makeudfimage/ |
H A D | Allocator.cpp | 71 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 D | Allocator.h | 41 uint32 BlockShift() const { return fBlockShift; } function in class:Allocator
|
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/bfs/r5/ |
H A D | Stream.h | 39 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 D | Volume.cpp | 158 || (1UL << BlockShift()) != BlockSize() 324 fBlockShift = fSuperBlock.BlockShift(); 331 if (diskSize < (NumBlocks() << BlockShift())) 592 fBlockShift = fSuperBlock.BlockShift();
|
H A D | Volume.h | 63 uint32 BlockShift() const { return fBlockShift; } function in class:Volume 69 off_t ToOffset(block_run run) const { return ToBlock(run) << BlockShift(); }
|
H A D | Inode.cpp | 1105 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 D | CachedBlock.h | 33 uint32 BlockShift() const { return fVolume->BlockShift(); } function in class:CachedBlock
|
H A D | Volume.h | 51 uint32 BlockShift() const { return fBlockShift; } function in class:Volume
|
H A D | Icb.cpp | 219 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 D | CachedBlock.h | 61 uint32 BlockShift() const { return fVolume->BlockShift(); } function in class:Udf::CachedBlock
|
H A D | Volume.h | 61 uint32 BlockShift() const { return fBlockShift; } function in class:Udf::Volume
|
H A D | Icb.h | 187 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 D | AllocationDescriptorList.h | 67 off_t startBlock = start >> fVolume->BlockShift();
|
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/bfs/dump_log/ |
H A D | dump_log.cpp | 32 || (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 D | CachedBlock.h | 48 uint32 BlockShift() const { return fVolume->BlockShift(); } function in class:CachedBlock
|
H A D | Volume.h | 71 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 D | exfat.h | 67 uint8 BlockShift() const { return block_shift; } function in struct:exfat_super_block
|
/haiku-fatelf/src/add-ons/kernel/file_systems/ext2/ |
H A D | Volume.h | 62 uint32 BlockShift() const { return fBlockShift; } function in class:Volume
|
/haiku-fatelf/src/bin/bfs_tools/lib/ |
H A D | Disk.h | 47 uint32 BlockShift() const { return fSuperBlock.block_shift; } function in class:Disk
|