Searched refs:logicalDriveCount (Results 1 – 3 of 3) sorted by relevance
464 int logicalDriveCount = 0; in findPartitionOffset() local529 logicalDriveCount++; in findPartitionOffset()584 logicalDriveCount += numDrives; in findPartitionOffset()634 } while (drvnum > logicalDriveCount + numDrives); in findPartitionOffset()636 if (drvnum <= logicalDriveCount + numDrives) { in findPartitionOffset()642 driveIndex = logicalDriveCount + numDrives - drvnum; in findPartitionOffset()663 logicalDriveCount += numDrives; in findPartitionOffset()671 if (drvnum <= logicalDriveCount + numExtraDrives) { in findPartitionOffset()672 driveIndex = logicalDriveCount + numExtraDrives - drvnum; in findPartitionOffset()
1524 int logicalDriveCount = 0; /* Count of logical drives seen */ in findTheDrive() local1605 logicalDriveCount++; in findTheDrive()1660 logicalDriveCount += numDrives; in findTheDrive()1720 } while (ldrive > logicalDriveCount + numDrives); in findTheDrive()1724 if (ldrive <= logicalDriveCount + numDrives) { in findTheDrive()1730 driveIndex = logicalDriveCount + numDrives - ldrive; in findTheDrive()1750 logicalDriveCount += numDrives; in findTheDrive()1765 if (ldrive <= logicalDriveCount + numExtraDrives) { in findTheDrive()1766 driveIndex = logicalDriveCount + numExtraDrives - ldrive; in findTheDrive()
622 int logicalDriveCount = 0; in seek_partn() local688 logicalDriveCount++; in seek_partn()777 logicalDriveCount += numDrives; in seek_partn()827 } while (drvnum > logicalDriveCount + numDrives); in seek_partn()829 if (drvnum <= logicalDriveCount + numDrives) { in seek_partn()835 driveIndex = logicalDriveCount + numDrives - drvnum; in seek_partn()880 logicalDriveCount += numDrives; in seek_partn()888 if (drvnum <= logicalDriveCount + numExtraDrives) { in seek_partn()889 driveIndex = logicalDriveCount + numExtraDrives - drvnum; in seek_partn()