• Home
  • Raw
  • Download

Lines Matching refs:MAX_MBR_PARTS

72       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()
526 for (i = 0; i < MAX_MBR_PARTS; i++) { in DisplayMBRData()
673 *low = MAX_MBR_PARTS + 1; // code for "not found" in GetPartRange()
675 for (i = 0; i < MAX_MBR_PARTS; i++) { in GetPartRange()
679 if (*low == (MAX_MBR_PARTS + 1)) in GetPartRange()
687 if (*low == (MAX_MBR_PARTS + 1)) in GetPartRange()
745 for (i = 0; i < MAX_MBR_PARTS; i++) { in FindOverlaps()
746 for (j = i + 1; j < MAX_MBR_PARTS; j++) { in FindOverlaps()
776 for (i = 0; i < MAX_MBR_PARTS; i++) { in NumPrimaries()
791 for (i = 0; i < MAX_MBR_PARTS; i++) { in NumLogicals()
803 for (i = 0; i < MAX_MBR_PARTS; i++) { in CountParts()
820 for (i = 0; i < MAX_MBR_PARTS; i++) { in UpdateCanBeLogical()
834 for (j = 0; j < MAX_MBR_PARTS; j++) { in UpdateCanBeLogical()
871 for (i = 0; i < MAX_MBR_PARTS; i++) { in FirstLogicalLBA()
886 for (i = 0; i < MAX_MBR_PARTS; i++) { in LastLogicalLBA()
911 } while ((i < MAX_MBR_PARTS) && allOK); in AreLogicalsContiguous()
921 for (i = 0; i < MAX_MBR_PARTS; i++) { in DoTheyFit()
940 } while (allOK && (i < MAX_MBR_PARTS)); in SpaceBeforeAllLogicals()
968 for (i = 0; i < MAX_MBR_PARTS; i++) { in IsEEActive()
978 if (start >= MAX_MBR_PARTS) in FindNextInUse()
980 while ((start < MAX_MBR_PARTS) && (start >= 0) && (partitions[start].GetInclusion() == NONE)) in FindNextInUse()
982 if ((start < 0) || (start >= MAX_MBR_PARTS)) in FindNextInUse()
1006 for (i = 0; i < MAX_MBR_PARTS; i++) { in EmptyMBR()
1045 if ((num >= 0) && (num < MAX_MBR_PARTS) && (start <= UINT32_MAX) && (length <= UINT32_MAX)) { in MakePart()
1062 if ((num >= 0) && (num < MAX_MBR_PARTS)) { in SetPartType()
1076 if ((num >= 0) && (num < MAX_MBR_PARTS)) { in SetPartBootable()
1163 if ((start < MAX_MBR_PARTS) && (start >= 0)) in SortMBR()
1164 sort(partitions + start, partitions + MAX_MBR_PARTS); in SortMBR()
1175 for (i = 0; i < MAX_MBR_PARTS; i++) { in DeleteOversizedParts()
1193 for (i = 0; i < MAX_MBR_PARTS; i++) { in DeleteExtendedParts()
1208 for (i = 0; i < MAX_MBR_PARTS; i++) { in OmitOverlaps()
1209 for (j = i + 1; j < MAX_MBR_PARTS; j++) { in OmitOverlaps()
1226 for (i = MAX_MBR_PARTS - 1; i >= 0; i--) { in MaximizeLogicals()
1248 while ((num < 4) && (i < MAX_MBR_PARTS)) { in MaximizePrimaries()
1261 int numToDelete, i = MAX_MBR_PARTS - 1; in TrimPrimaries()
1282 for (i = 0; i < MAX_MBR_PARTS; i++) { in MakeLogicalsContiguous()
1329 } while ((j < MAX_MBR_PARTS) && !swapped); in RemoveLogicalsFromFirstFour()
1330 if (j >= MAX_MBR_PARTS) in RemoveLogicalsFromFirstFour()
1343 for (i = 4; i < MAX_MBR_PARTS; i++) { in MovePrimariesToFirstFour()
1399 for (i = 0; i < MAX_MBR_PARTS; i++) in CreateExtended()
1565 if ((i >= 0) && (i < MAX_MBR_PARTS)) in GetPartition()
1593 num = GetNumber(1, MAX_MBR_PARTS, 1, "Toggle active flag for partition: ") - 1; in DoMenu()
1598 for (num = 0; num < MAX_MBR_PARTS; num++) in DoMenu()
1602 num = GetNumber(1, MAX_MBR_PARTS, 1, "Partition to set as logical: ") - 1; in DoMenu()
1606 num = GetNumber(1, MAX_MBR_PARTS, 1, "Partition to omit: ") - 1; in DoMenu()
1627 num = GetNumber(1, MAX_MBR_PARTS, 1, "Partition to set as primary: ") - 1; in DoMenu()
1634 num = GetNumber(1, MAX_MBR_PARTS, 1, "Partition to change type code: ") - 1; in DoMenu()