Lines Matching refs:cSectors

53     uint32_t    cSectors;
221 pImage->PCHSGeometry.cSectors = 63;
222 uint64_t cCylinders = pImage->cbSize / (512 * pImage->PCHSGeometry.cSectors * pImage->PCHSGeometry.cHeads);
239 Log(("cSectors=%u\n", parallelsHeader.cSectors));
240 pImage->cbSize = ((uint64_t)parallelsHeader.cSectors) * 512;
258 pImage->PCHSGeometry.cSectors = parallelsHeader.cSectorsPerTrack;
293 pImage->PCHSGeometry.cSectors = 63;
295 pImage->PCHSGeometry.cCylinders = pImage->cbSize / (512 * pImage->PCHSGeometry.cSectors * pImage->PCHSGeometry.cHeads);
316 pImage->cAllocationBitmapEntries = cbSize / 512 / pImage->PCHSGeometry.cSectors;
317 if (pImage->cAllocationBitmapEntries * pImage->PCHSGeometry.cSectors * 512 < cbSize)
336 Header.cSectorsPerTrack = RT_H2LE_U32(pImage->PCHSGeometry.cSectors);
338 Header.cSectors = RT_H2LE_U32(pImage->cbSize / 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);
686 iIndexInAllocationTable = (uint32_t)(uSector / pImage->PCHSGeometry.cSectors);
687 uSector = uSector % pImage->PCHSGeometry.cSectors;
689 cbToWrite = RT_MIN(cbToWrite, (pImage->PCHSGeometry.cSectors - uSector)*512);
696 *pcbPostRead = pImage->PCHSGeometry.cSectors * 512 - cbToWrite - *pcbPreRead;
707 pImage->cbFileCurrent += pImage->PCHSGeometry.cSectors * 512;
845 LogFlowFunc(("returns %Rrc (PCHS=%u/%u/%u)\n", rc, pPCHSGeometry->cCylinders, pPCHSGeometry->cHeads, pPCHSGeometry->cSectors));
853 LogFlowFunc(("pBackendData=%#p pPCHSGeometry=%#p PCHS=%u/%u/%u\n", pBackendData, pPCHSGeometry, pPCHSGeometry->cCylinders, pPCHSGeometry->cHeads, pPCHSGeometry->cSectors));
901 LogFlowFunc(("returns %Rrc (LCHS=%u/%u/%u)\n", rc, pLCHSGeometry->cCylinders, pLCHSGeometry->cHeads, pLCHSGeometry->cSectors));
909 LogFlowFunc(("pBackendData=%#p pLCHSGeometry=%#p LCHS=%u/%u/%u\n", pBackendData, pLCHSGeometry, pLCHSGeometry->cCylinders, pLCHSGeometry->cHeads, pLCHSGeometry->cSectors));
1210 pImage->PCHSGeometry.cCylinders, pImage->PCHSGeometry.cHeads, pImage->PCHSGeometry.cSectors,
1211 pImage->LCHSGeometry.cCylinders, pImage->LCHSGeometry.cHeads, pImage->LCHSGeometry.cSectors);