Lines Matching defs:unit
123 int ra_hwunit; /* Hardware unit number */
304 while (bufq_peek(udautab[unit]) != NULL)
305 (void) tsleep(&udautab[unit], PZERO - 1,
323 int unit;
329 unit = DISKUNIT(bp->b_dev);
761 int unit;
766 unit = DISKUNIT(dev);
767 rx = device_lookup_private(&rx_cd, unit);
792 int unit;
799 unit = DISKUNIT(bp->b_dev);
800 if ((rx = device_lookup_private(&rx_cd, unit)) == NULL) {
852 int unit = DISKUNIT(dev);
854 struct rx_softc *rx = device_lookup_private(&rx_cd, unit);
1015 * We got some (configured) unit's status. Return DONE if it succeeded.
1055 /* The unit has fallen offline. Try to figure out why. */
1062 aprint_error_dev(usc, "duplicate unit number!!!\n");
1149 int unit;
1151 unit = DISKUNIT(dev);
1154 ra = device_lookup_private(&ra_cd, unit);
1159 ra = device_lookup_private(&racd_cd, unit);
1164 ra = device_lookup_private(&rx_cd, unit);
1167 panic("mscp_device_lookup: unexpected major %"PRIu32" unit %u",
1168 major(dev), unit);