Home
last modified time | relevance | path

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

/titanic_50/usr/src/cmd/fs.d/pcfs/fsck/
H A Dpcfs_common.c470 int driveIndex; in findPartitionOffset() local
642 driveIndex = logicalDriveCount + numDrives - drvnum; in findPartitionOffset()
644 ltohi(part[extndDrives[driveIndex]].relsect) + in findPartitionOffset()
672 driveIndex = logicalDriveCount + numExtraDrives - drvnum; in findPartitionOffset()
673 found = ltohi(part[extraDrives[driveIndex]].relsect) * BPSEC; in findPartitionOffset()
/titanic_50/usr/src/uts/common/fs/pcfs/
H A Dpc_vfsops.c1529 int driveIndex; /* computed FDISK table index */ in findTheDrive() local
1730 driveIndex = logicalDriveCount + numDrives - ldrive; in findTheDrive()
1732 LE_32(dosp[extndDrives[driveIndex]].numsect); in findTheDrive()
1734 LE_32(dosp[extndDrives[driveIndex]].relsect) + in findTheDrive()
1766 driveIndex = logicalDriveCount + numExtraDrives - ldrive; in findTheDrive()
1767 ASSERT(driveIndex < MIN(numExtraDrives, FD_NUMPART)); in findTheDrive()
1768 mediasize = LE_32(dosp[extraDrives[driveIndex]].numsect); in findTheDrive()
1769 startsec = LE_32(dosp[extraDrives[driveIndex]].relsect); in findTheDrive()
/titanic_50/usr/src/cmd/fs.d/pcfs/mkfs/
H A Dmkfs.c628 int driveIndex; in seek_partn() local
835 driveIndex = logicalDriveCount + numDrives - drvnum; in seek_partn()
837 ltohi(part[extndDrives[driveIndex]].relsect) + in seek_partn()
857 fill_bpb_sizes(wbpb, part, extndDrives[driveIndex], in seek_partn()
861 part[extndDrives[driveIndex]].systid); in seek_partn()
889 driveIndex = logicalDriveCount + numExtraDrives - drvnum; in seek_partn()
890 *seekto = ltohi(part[extraDrives[driveIndex]].relsect); in seek_partn()
898 fill_bpb_sizes(wbpb, part, extraDrives[driveIndex], *seekto); in seek_partn()
901 lookup_FAT_size(part[extraDrives[driveIndex]].systid); in seek_partn()