Lines Matching defs:cBlockAllocationTableEntries

167     uint32_t        cBlockAllocationTableEntries;
457 ddh.MaxTableEntries = RT_H2BE_U32(pImage->cBlockAllocationTableEntries);
509 size_t cbBlockAllocationTableToWrite = pImage->cBlockAllocationTableEntries * sizeof(uint32_t);
518 for (unsigned i = 0; i < pImage->cBlockAllocationTableEntries; i++)
731 pImage->cBlockAllocationTableEntries = RT_BE2H_U32(vhdDynamicDiskHeader.MaxTableEntries);
732 LogFlowFunc(("MaxTableEntries=%lu\n", pImage->cBlockAllocationTableEntries));
754 pBlockAllocationTable = (uint32_t *)RTMemAllocZ(pImage->cBlockAllocationTableEntries * sizeof(uint32_t));
766 pImage->cBlockAllocationTableEntries * sizeof(uint32_t));
772 pImage->pBlockAllocationTable = (uint32_t *)RTMemAllocZ(pImage->cBlockAllocationTableEntries * sizeof(uint32_t));
779 for (i = 0; i < pImage->cBlockAllocationTableEntries; i++)
1036 pImage->cBlockAllocationTableEntries = (uint32_t)((cbSize + pImage->cbDataBlock - 1) / pImage->cbDataBlock); /* Align table to the block size. */
1037 u32BlockAllocationTableSectors = (pImage->cBlockAllocationTableEntries * sizeof(uint32_t) + VHD_SECTOR_SIZE - 1) / VHD_SECTOR_SIZE;
1038 pImage->pBlockAllocationTable = (uint32_t *)RTMemAllocZ(pImage->cBlockAllocationTableEntries * sizeof(uint32_t));
1042 for (unsigned i = 0; i < pImage->cBlockAllocationTableEntries; i++)
1075 DynamicDiskHeader.MaxTableEntries = RT_H2BE_U32(pImage->cBlockAllocationTableEntries);
1088 pImage->cBlockAllocationTableEntries * sizeof(uint32_t));
2482 unsigned cBlocks = pImage->cBlockAllocationTableEntries;
2700 uint32_t cBlocksOld = pImage->cBlockAllocationTableEntries; /** < Number of blocks before the resize. */
2706 for (unsigned idxBlock = 0; idxBlock < pImage->cBlockAllocationTableEntries; idxBlock++)
2834 pImage->cBlockAllocationTableEntries = cBlocksNew;