Home
last modified time | relevance | path

Searched refs:primaryPart (Results 1 – 3 of 3) sorted by relevance

/titanic_44/usr/src/cmd/fs.d/pcfs/fsck/
H A Dpcfs_common.c466 int primaryPart = -1; in findPartitionOffset() local
528 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()
/titanic_44/usr/src/uts/common/fs/pcfs/
H A Dpc_vfsops.c1526 int primaryPart = -1; /* index of primary dos partition */ in findTheDrive() local
1604 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()
/titanic_44/usr/src/cmd/fs.d/pcfs/mkfs/
H A Dmkfs.c624 int primaryPart = -1; in seek_partn() local
687 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()