Lines Matching defs:unit
539 int unit = ccdunit(dev);
548 if (unit >= numccd)
550 cs = &ccd_softc[unit];
579 /* Prevent our unit from being unconfigured while open. */
601 int unit = ccdunit(dev);
610 if (unit >= numccd)
612 cs = &ccd_softc[unit];
692 int unit = ccdunit(bp->b_dev);
693 struct ccd_softc *cs = &ccd_softc[unit];
705 printf("ccdstrategy: unit %d: not inited\n", unit);
971 int unit = ccdunit(dev);
978 if (unit >= numccd)
980 cs = &ccd_softc[unit];
993 int unit = ccdunit(dev);
1000 if (unit >= numccd)
1002 cs = &ccd_softc[unit];
1014 int unit = ccdunit(dev);
1027 if (unit >= numccd)
1029 cs = &ccd_softc[unit];
1170 ccio->ccio_unit = unit;
1359 int part, unit, omask, size;
1361 unit = ccdunit(dev);
1362 if (unit >= numccd)
1364 cs = &ccd_softc[unit];
1426 int unit = ccdunit(dev);
1427 struct ccd_softc *cs = &ccd_softc[unit];