Lines Matching refs:drvnum
364 int drvnum; in parse_drvnum() local
370 drvnum = *pn - 'c' + 1; in parse_drvnum()
392 drvnum = v; in parse_drvnum()
394 drvnum = 99; in parse_drvnum()
401 return (drvnum); in parse_drvnum()
627 int drvnum; in seek_partn() local
643 if ((drvnum = parse_drvnum(pn)) < 0) in seek_partn()
705 if (drvnum == BOOT_PARTITION_DRIVE) { in seek_partn()
732 if (drvnum == PRIMARY_DOS_DRIVE && primaryPart >= 0) { 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()
888 if (drvnum <= logicalDriveCount + numExtraDrives) { in seek_partn()
889 driveIndex = logicalDriveCount + numExtraDrives - drvnum; in seek_partn()