Searched refs:VMDK_BYTE2SECTOR (Results 1 - 1 of 1) sorted by relevance

/vbox/src/VBox/Storage/
H A DVMDK.cpp190 #define VMDK_BYTE2SECTOR(u) ((u) >> 9) macro
1291 pExtent->cOverheadSectors = VMDK_BYTE2SECTOR(cbOverhead);
1301 pExtent->uSectorGD = uStartSector + VMDK_BYTE2SECTOR(cbGDRounded + cbGTRounded);
1319 uOffsetSectors = pExtent->uSectorRGD + VMDK_BYTE2SECTOR(cbGDRounded);
1333 uOffsetSectors += VMDK_BYTE2SECTOR(pExtent->cGTEntries * sizeof(uint32_t));
1337 uOffsetSectors = pExtent->uSectorGD + VMDK_BYTE2SECTOR(cbGDRounded);
1351 uOffsetSectors += VMDK_BYTE2SECTOR(pExtent->cGTEntries * sizeof(uint32_t));
2669 && (pExtent->enmType != VMDKETYPE_FLAT || pExtent->cNominalSectors + pExtent->uSectorOffset > VMDK_BYTE2SECTOR(cbExtentSize)))
3297 uint64_t cCylinders = VMDK_BYTE2SECTOR(pImage->cbSize)
3391 pExtent->cNominalSectors = VMDK_BYTE2SECTOR(cbSiz
[all...]

Completed in 701 milliseconds