Lines Matching full:numentries
1681 // (the default), rounds numEntries to fill all the sectors necessary to
1684 int GPTData::SetGPTSize(uint32_t numEntries, int fillGPTSectors) {
1689 // First, adjust numEntries upward, if necessary, to get a number
1692 if (fillGPTSectors && ((numEntries % entriesPerSector) != 0)) {
1693 cout << "Adjusting GPT size from " << numEntries << " to ";
1694 numEntries = ((numEntries / entriesPerSector) + 1) * entriesPerSector;
1695 cout << numEntries << " to fill the sector\n";
1703 if (((numEntries != numParts) || (partitions == NULL)) && (numEntries > 0)) {
1704 newParts = new GPTPart [numEntries];
1708 if (numEntries < (high + 1)) { // Highest entry too high for new #
1711 << "partition table size of " << numEntries
1716 if (numEntries < numParts)
1717 copyNum = numEntries;
1729 numParts = numEntries;
1730 mainHeader.firstUsableLBA = ((numEntries * GPT_SIZE) / blockSize) + (((numEntries * GPT_SIZE) % blockSize) != 0) + 2 ;