Lines Matching refs:gptPart
1638 int GPTData::OnePartToMBR(uint32_t gptPart, int mbrPart) { in OnePartToMBR() argument
1645 if (gptPart >= numParts) { in OnePartToMBR()
1646 cout << "GPT partition " << gptPart + 1 << " is out of range; omitting it.\n"; in OnePartToMBR()
1649 if (allOK && (partitions[gptPart].GetLastLBA() == UINT64_C(0))) { in OnePartToMBR()
1650 cout << "GPT partition " << gptPart + 1 << " is undefined; omitting it.\n"; in OnePartToMBR()
1653 if (allOK && (partitions[gptPart].GetFirstLBA() <= UINT32_MAX) && in OnePartToMBR()
1654 (partitions[gptPart].GetLengthLBA() <= UINT32_MAX)) { in OnePartToMBR()
1655 if (partitions[gptPart].GetLastLBA() > UINT32_MAX) { in OnePartToMBR()
1659 protectiveMBR.MakePart(mbrPart, (uint32_t) partitions[gptPart].GetFirstLBA(), in OnePartToMBR()
1660 (uint32_t) partitions[gptPart].GetLengthLBA(), in OnePartToMBR()
1661 partitions[gptPart].GetHexType() / 256, 0); in OnePartToMBR()
1664 cout << "Partition " << gptPart + 1 << " begins beyond the 32-bit pointer limit of MBR " in OnePartToMBR()