Lines Matching refs:partNum
246 // partNum = number of first partition in extended partition (normally 4).
247 int BasicMBRData::ReadLogicalParts(uint64_t extendedStart, int partNum) {
256 while (another && (partNum < MAX_MBR_PARTS) && (partNum >= 0) && (allOK > 0)) {
261 partNum -= 1;
264 EbrLocations[partNum] = offset;
293 if ((partNum >= 0) && (partNum < MAX_MBR_PARTS) && (allOK > 0)) {
303 partitions[partNum] = ebr.partitions[0];
305 partitions[partNum].SetStartLBA(ebr.partitions[0].firstLBA + offset);
306 partitions[partNum].SetInclusion(LOGICAL);
309 if ((ebr.partitions[1].firstLBA != UINT32_C(0)) && (partNum < (MAX_MBR_PARTS - 1))) {
311 partNum++;
318 return (partNum * allOK);
342 int i, j, partNum, next, allOK = 1, moreLogicals = 0;
375 partNum = FindNextInUse(4);
378 while (allOK && moreLogicals && (partNum < MAX_MBR_PARTS) && (partNum >= 0)) {
379 partitions[partNum].StoreInStruct(&tempMBR.partitions[0]);
382 next = FindNextInUse(partNum + 1);
399 partNum = next;
1120 void BasicMBRData::RecomputeCHS(int partNum) {
1121 partitions[partNum].RecomputeCHS();