Lines Matching defs:unit
207 int driveno; /* unit number */
717 int unit, part;
720 unit = DISKUNIT(dev);
723 xy = device_lookup_private(&xy_cd, unit);
796 int error, s, unit;
798 unit = DISKUNIT(dev);
800 xy = device_lookup_private(&xy_cd, unit);
889 int err, unit, part, s;
893 unit = DISKUNIT(dev);
894 xy = device_lookup_private(&xy_cd, unit);
968 int unit, part, size, omask;
970 /* valid unit? */
971 unit = DISKUNIT(dev);
972 xysc = device_lookup_private(&xy_cd, unit);
1000 int s, unit;
1004 unit = DISKUNIT(bp->b_dev);
1008 xy = device_lookup_private(&xy_cd, unit);
1146 iopb->unit = iorq->xy->xy_drive;
1149 iopb->unit = 0;
1196 xyc_cmd(struct xyc_softc *xycsc, int cmd, int subfn, int unit, int block,
1222 (unit == XYC_NOUNIT) ? NULL : xycsc->sc_drives[unit],
1555 xycsc->ciopb->unit = xysc->xy_drive;