Searched defs:DMG_BLOCK2BYTE (Results 1 - 1 of 1) sorted by relevance

/vbox/src/VBox/Storage/
H A DDMG.cpp53 #define DMG_BLOCK2BYTE(u) ((uint64_t)(u) << 9) macro
1922 cbToRead = RT_MIN(cbToRead, DMG_BLOCK2BYTE(pExtent->cSectorsExtent - uExtentRel));
1928 rc = dmgWrapFileReadUser(pThis, pExtent->offFileStart + DMG_BLOCK2BYTE(uExtentRel), pIoCtx, cbToRead);
1940 if (DMG_BLOCK2BYTE(pExtent->cSectorsExtent) > pThis->cbDecompExtent)
1945 pThis->pvDecompExtent = RTMemAllocZ(DMG_BLOCK2BYTE(pExtent->cSectorsExtent));
1949 pThis->cbDecompExtent = DMG_BLOCK2BYTE(pExtent->cSectorsExtent);
1956 RT_MIN(pThis->cbDecompExtent, DMG_BLOCK2BYTE(pExtent->cSectorsExtent)));
1964 (uint8_t *)pThis->pvDecompExtent + DMG_BLOCK2BYTE(uExtentRel),

Completed in 54 milliseconds