Lines Matching refs:gptPart
1792 int GPTData::OnePartToMBR(uint32_t gptPart, int mbrPart) { in OnePartToMBR() argument
1799 if (gptPart >= numParts) { in OnePartToMBR()
1800 cout << "GPT partition " << gptPart + 1 << " is out of range; omitting it.\n"; in OnePartToMBR()
1803 if (allOK && (partitions[gptPart].GetLastLBA() == UINT64_C(0))) { in OnePartToMBR()
1804 cout << "GPT partition " << gptPart + 1 << " is undefined; omitting it.\n"; in OnePartToMBR()
1807 if (allOK && (partitions[gptPart].GetFirstLBA() <= UINT32_MAX) && in OnePartToMBR()
1808 (partitions[gptPart].GetLengthLBA() <= UINT32_MAX)) { in OnePartToMBR()
1809 if (partitions[gptPart].GetLastLBA() > UINT32_MAX) { in OnePartToMBR()
1813 protectiveMBR.MakePart(mbrPart, (uint32_t) partitions[gptPart].GetFirstLBA(), in OnePartToMBR()
1814 (uint32_t) partitions[gptPart].GetLengthLBA(), in OnePartToMBR()
1815 partitions[gptPart].GetHexType() / 256, 0); in OnePartToMBR()
1818 cout << "Partition " << gptPart + 1 << " begins beyond the 32-bit pointer limit of MBR " in OnePartToMBR()