Lines Matching refs:numEntries
1845 // (the default), rounds numEntries to fill all the sectors necessary to
1848 int GPTData::SetGPTSize(uint32_t numEntries, int fillGPTSectors) {
1853 // First, adjust numEntries upward, if necessary, to get a number
1856 if (fillGPTSectors && ((numEntries % entriesPerSector) != 0)) {
1857 cout << "Adjusting GPT size from " << numEntries << " to ";
1858 numEntries = ((numEntries / entriesPerSector) + 1) * entriesPerSector;
1859 cout << numEntries << " to fill the sector\n";
1867 if (((numEntries != numParts) || (partitions == NULL)) && (numEntries > 0)) {
1868 newParts = new GPTPart [numEntries];
1872 if (numEntries < (high + 1)) { // Highest entry too high for new #
1875 << "partition table size of " << numEntries
1880 if (numEntries < numParts)
1881 copyNum = numEntries;
1893 numParts = numEntries;