Lines Matching refs:part
456 struct ipart part[FD_NUMPART]; in findPartitionOffset() local
504 (void) memcpy(part, mb.parts, sizeof (part)); in findPartitionOffset()
527 if (isDosDrive(part[i].systid)) { in findPartitionOffset()
536 if ((extendedPart < 0) && isDosExtended(part[i].systid)) { in findPartitionOffset()
540 if ((bootPart < 0) && isBootPart(part[i].systid)) { in findPartitionOffset()
552 found = ltohi(part[bootPart].relsect) * BPSEC; in findPartitionOffset()
557 found = ltohi(part[primaryPart].relsect) * BPSEC; in findPartitionOffset()
574 nextseek = xstartsect = ltohi(part[extendedPart].relsect); in findPartitionOffset()
575 xnumsect = ltohi(part[extendedPart].numsect); in findPartitionOffset()
596 (void) memcpy(part, extmboot.parts, sizeof (part)); in findPartitionOffset()
613 if (isDosDrive(part[i].systid)) { in findPartitionOffset()
616 } else if (isDosExtended(part[i].systid)) { in findPartitionOffset()
630 ltohi(part[i].relsect); in findPartitionOffset()
644 ltohi(part[extndDrives[driveIndex]].relsect) + in findPartitionOffset()
664 (void) memcpy(part, mb.parts, sizeof (part)); in findPartitionOffset()
673 found = ltohi(part[extraDrives[driveIndex]].relsect) * BPSEC; in findPartitionOffset()