Home
last modified time | relevance | path

Searched refs:gptPart (Results 1 – 2 of 2) sorted by relevance

/third_party/gptfdisk/
Dgpt.cc1792 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()
[all …]
Dgpt.h140 …int OnePartToMBR(uint32_t gptPart, int mbrPart); // add one partition to MBR. Returns 1 if success…