Home
last modified time | relevance | path

Searched refs:MAX_MBR_PARTS (Results 1 – 5 of 5) sorted by relevance

/external/gptfdisk/
Dbasicmbr.cc72 for (i = 0; i < MAX_MBR_PARTS; i++) { in BasicMBRData()
129 for (i = 0; i < MAX_MBR_PARTS; i++) { in operator =()
286 uint64_t EbrLocations[MAX_MBR_PARTS]; in ReadLogicalParts()
289 memset(&EbrLocations, 0, MAX_MBR_PARTS * sizeof(uint64_t)); in ReadLogicalParts()
290 while (another && (partNum < MAX_MBR_PARTS) && (partNum >= 0) && (allOK > 0)) { in ReadLogicalParts()
291 for (i = 0; i < MAX_MBR_PARTS; i++) { in ReadLogicalParts()
328 if ((partNum >= 0) && (partNum < MAX_MBR_PARTS) && (allOK > 0)) { in ReadLogicalParts()
344 if ((ebr.partitions[1].firstLBA != UINT32_C(0)) && (partNum < (MAX_MBR_PARTS - 1))) { in ReadLogicalParts()
413 while (allOK && moreLogicals && (partNum < MAX_MBR_PARTS) && (partNum >= 0)) { in WriteMBRData()
418 if ((next < MAX_MBR_PARTS) && (next > 0) && (partitions[next].GetStartLBA() > 0)) { in WriteMBRData()
[all …]
Dbasicmbr.h17 #define MAX_MBR_PARTS 128 macro
50 MBRPart partitions[MAX_MBR_PARTS];
141 int SectorUsedAs(uint64_t sector, int topPartNum = MAX_MBR_PARTS);
Dsgdisk.cc54 for (int i = 0; i < MAX_MBR_PARTS; i++) { in android_dump()
Dmbr.cc115 for (i = 0; i < MAX_MBR_PARTS; i++) { in DeleteByLocation()
Dgpt.cc1678 if (numParts > MAX_MBR_PARTS) in XFormPartitions()
1679 numToConvert = MAX_MBR_PARTS; in XFormPartitions()