Searched refs:lastBlock (Results 1 – 4 of 4) sorted by relevance
/haiku/src/add-ons/kernel/partitioning_systems/gpt/ |
H A D | Header.cpp | 50 Header::Header(int fd, uint64 lastBlock, uint32 blockSize) in Header() argument 68 if (fStatus == B_OK && lastBlock != fHeader.AlternateBlock()) { in Header() 70 B_PRIu64 ")\n", fHeader.AlternateBlock(), lastBlock); in Header() 71 lastBlock = fHeader.AlternateBlock(); in Header() 75 status_t status = _Read(fd, lastBlock * blockSize, &fBackupHeader, in Header() 78 if (!_IsHeaderValid(fBackupHeader, lastBlock)) in Header() 91 fHeader.SetAlternateBlock(lastBlock); in Header() 95 _SetBackupHeaderFromPrimary(lastBlock); in Header() 136 Header::Header(uint64 lastBlock, uint32 blockSize) in Header() argument 152 fHeader.SetAlternateBlock(lastBlock); in Header() [all …]
|
H A D | Header.h | 19 Header(int fd, uint64 lastBlock, 23 Header(uint64 lastBlock, uint32 blockSize); 63 void _SetBackupHeaderFromPrimary(uint64 lastBlock);
|
/haiku/src/add-ons/kernel/bus_managers/ata/ |
H A D | ATADevice.cpp | 185 uint32 lastBlock = fTotalSectors - 1; in ReadCapacity() local 186 data.lba = B_HOST_TO_BENDIAN_INT32(lastBlock); in ReadCapacity() 218 uint64 lastBlock = fTotalSectors - 1; in ReadCapacity16() local 219 data.lba = B_HOST_TO_BENDIAN_INT64(lastBlock); in ReadCapacity16()
|
/haiku/src/add-ons/kernel/file_systems/ext2/ |
H A D | BlockAllocator.cpp | 745 uint32 lastBlock = 0; in Allocate() local 750 lastBlock = dataStream->direct[numBlocks]; in Allocate() 795 lastBlock = indirectData[index]; in Allocate() 798 group = (lastBlock - fFirstBlock) / fBlocksPerGroup; in Allocate()
|