Searched refs:drvnum (Results 1 – 3 of 3) sorted by relevance
379 int drvnum; in parse_drvnum() local385 drvnum = *pn - 'c' + 1; in parse_drvnum()402 drvnum = v; in parse_drvnum()404 drvnum = 99; in parse_drvnum()411 return (drvnum); in parse_drvnum()469 int drvnum; in findPartitionOffset() local485 if ((drvnum = parse_drvnum(ldrive)) < 0) in findPartitionOffset()546 if (drvnum == BOOT_PARTITION_DRIVE) { in findPartitionOffset()556 if (drvnum == PRIMARY_DOS_DRIVE && primaryPart >= 0) { in findPartitionOffset()634 } while (drvnum > logicalDriveCount + numDrives); in findPartitionOffset()[all …]
364 int drvnum; in parse_drvnum() local370 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() local643 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()[all …]
347 long drvnum = 0; in pcfs_device_identify() local349 if ((error = ddi_strtol(c, NULL, 10, &drvnum)) == 0) { in pcfs_device_identify()353 if (drvnum > 24 || drvnum == 0) in pcfs_device_identify()358 *dos_ldrive = (int)drvnum; in pcfs_device_identify()