Searched refs:primaryPart (Results 1 – 3 of 3) sorted by relevance
466 int primaryPart = -1; in findPartitionOffset() local528 if (primaryPart < 0) { in findPartitionOffset()530 primaryPart = i; in findPartitionOffset()556 if (drvnum == PRIMARY_DOS_DRIVE && primaryPart >= 0) { in findPartitionOffset()557 found = ltohi(part[primaryPart].relsect) * BPSEC; in findPartitionOffset()
1526 int primaryPart = -1; /* index of primary dos partition */ in findTheDrive() local1604 if (primaryPart < 0) { in findTheDrive()1606 primaryPart = i; in findTheDrive()1632 if (ldrive == PRIMARY_DOS_DRIVE && primaryPart >= 0) { in findTheDrive()1633 startsec = LE_32(dosp[primaryPart].relsect); in findTheDrive()1634 mediasize = LE_32(dosp[primaryPart].numsect); in findTheDrive()
624 int primaryPart = -1; in seek_partn() local687 if (primaryPart < 0) { in seek_partn()689 primaryPart = i; in seek_partn()732 if (drvnum == PRIMARY_DOS_DRIVE && primaryPart >= 0) { in seek_partn()733 if ((*seekto = ltohi(part[primaryPart].relsect)) == 0) { in seek_partn()740 fill_bpb_sizes(wbpb, part, primaryPart, *seekto); in seek_partn()742 FdiskFATsize = lookup_FAT_size(part[primaryPart].systid); in seek_partn()