Lines Matching refs:cBlocks
113 pHdrConv->cBlocks = SET_ENDIAN_U32(enmConv, pHdr->cBlocks);
141 pHdrConv->cBlocks = SET_ENDIAN_U32(enmConv, pHdr->cBlocks);
170 pHdrConv->cBlocks = SET_ENDIAN_U32(enmConv, pHdr->cBlocks);
361 pHeader->u.v1plus.cBlocks = (uint32_t)(cbDisk / cbBlock);
363 pHeader->u.v1plus.cBlocks++;
369 pHeader->u.v1plus.offData = RT_ALIGN_32(pHeader->u.v1plus.offBlocks + (pHeader->u.v1plus.cBlocks * sizeof(VDIIMAGEBLOCKPOINTER)), cbDataAlign);
586 for (unsigned i = 0; i < pImage->Header.u.v1.cBlocks; i++)
592 for (unsigned i = 0; i < pImage->Header.u.v1.cBlocks; i++)
594 pImage->Header.u.v1.cBlocksAllocated = pImage->Header.u.v1.cBlocks;
897 unsigned cBlocks = getImageBlocks(&pImage->Header);
899 for (unsigned i = 0; i < cBlocks; i++)
902 for (unsigned i = 0; i < cBlocks; i++)
2354 vdIfErrorMessage(pImage->pIfError, "Header: cbBlock=%u cbBlockExtra=%u cBlocks=%u cBlocksAllocated=%u\n",
2379 unsigned uBlock, cBlocksNotFree, cBadBlocks, cBlocks = getImageBlocks(&pImage->Header);
2380 for (uBlock=0, cBlocksNotFree=0, cBadBlocks=0; uBlock<cBlocks; uBlock++)
2385 if (pImage->paBlocks[uBlock] >= cBlocks)
2432 unsigned cBlocks;
2435 cBlocks = getImageBlocks(&pImage->Header);
2465 for (unsigned i = 0; i < cBlocks; i++)
2501 for (unsigned i = 0; i < cBlocks; i++)
2566 (uint64_t)i * uPercentSpan / (cBlocks + cBlocksToMove) + uPercentStart);
2612 (uint64_t)(cBlocks + cBlocksMoved) * uPercentSpan / (cBlocks + cBlocksToMove) + uPercentStart);