Lines Matching refs:numEntries
1684 int GPTData::SetGPTSize(uint32_t numEntries, int fillGPTSectors) { in SetGPTSize() argument
1692 if (fillGPTSectors && ((numEntries % entriesPerSector) != 0)) { in SetGPTSize()
1693 cout << "Adjusting GPT size from " << numEntries << " to "; in SetGPTSize()
1694 numEntries = ((numEntries / entriesPerSector) + 1) * entriesPerSector; in SetGPTSize()
1695 cout << numEntries << " to fill the sector\n"; in SetGPTSize()
1703 if (((numEntries != numParts) || (partitions == NULL)) && (numEntries > 0)) { in SetGPTSize()
1704 newParts = new GPTPart [numEntries]; in SetGPTSize()
1708 if (numEntries < (high + 1)) { // Highest entry too high for new # in SetGPTSize()
1711 << "partition table size of " << numEntries in SetGPTSize()
1716 if (numEntries < numParts) in SetGPTSize()
1717 copyNum = numEntries; in SetGPTSize()
1729 numParts = numEntries; in SetGPTSize()
1730 …mainHeader.firstUsableLBA = ((numEntries * GPT_SIZE) / blockSize) + (((numEntries * GPT_SIZE) % bl… in SetGPTSize()