Home
last modified time | relevance | path

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

/titanic_50/usr/src/cmd/fs.d/pcfs/fsck/
H A Dpcfs_common.c379 int drvnum; in parse_drvnum() local
385 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() local
485 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 …]
/titanic_50/usr/src/cmd/fs.d/pcfs/mkfs/
H A Dmkfs.c364 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()
[all …]
/titanic_50/usr/src/uts/common/fs/pcfs/
H A Dpc_vfsops.c347 long drvnum = 0; in pcfs_device_identify() local
349 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()