Lines Matching defs:unit
32 devices, this is the unit selector for the
260 static struct pf_unit *pf_current;/* unit of current request */
278 int unit;
281 for (unit = 0, pf = units; unit < PF_UNITS; unit++, pf++) {
288 pf->drive = (*drives[unit])[D_SLV];
289 pf->lun = (*drives[unit])[D_LUN];
290 snprintf(pf->name, PF_NAMELEN, "%s%d", name, unit);
292 disk->first_minor = unit;
295 if (!(*drives[unit])[D_PRT])
698 int k, unit;
715 for (unit = 0; unit < PF_UNITS; unit++, pf++) {
716 int *conf = *drives[unit];
733 for (pf = units, unit = 0; unit < PF_UNITS; pf++, unit++)
949 int unit;
961 for (pf = units, unit = 0; unit < PF_UNITS; pf++, unit++)
968 for (pf = units, unit = 0; unit < PF_UNITS; pf++, unit++)
975 for (pf = units, unit = 0; unit < PF_UNITS; pf++, unit++) {
990 int unit;
992 for (pf = units, unit = 0; unit < PF_UNITS; pf++, unit++) {