Lines Matching refs:uSector
624 uint64_t uSector;
638 uSector = uOffset / 512;
640 iIndexInAllocationTable = (uint32_t)(uSector / pImage->PCHSGeometry.cSectors);
641 uSector = uSector % pImage->PCHSGeometry.cSectors;
643 cbToRead = RT_MIN(cbToRead, (pImage->PCHSGeometry.cSectors - uSector)*512);
649 uOffsetInFile = (pImage->pAllocationBitmap[iIndexInAllocationTable] + uSector) * 512;
670 uint64_t uSector;
684 uSector = uOffset / 512;
686 iIndexInAllocationTable = (uint32_t)(uSector / pImage->PCHSGeometry.cSectors);
687 uSector = uSector % pImage->PCHSGeometry.cSectors;
689 cbToWrite = RT_MIN(cbToWrite, (pImage->PCHSGeometry.cSectors - uSector)*512);
695 *pcbPreRead = uSector * 512;
704 Assert(uSector == 0);
732 uOffsetInFile = (pImage->pAllocationBitmap[iIndexInAllocationTable] + uSector) * 512;