Lines Matching defs:unit
32 devices, this is the unit selector for the
267 static struct pf_unit *pf_current;/* unit of current request */
291 int unit;
294 for (unit = 0, pf = units; unit < PF_UNITS; unit++, pf++) {
316 pf->drive = (*drives[unit])[D_SLV];
317 pf->lun = (*drives[unit])[D_LUN];
318 snprintf(pf->name, PF_NAMELEN, "%s%d", name, unit);
320 disk->first_minor = unit;
324 if (!(*drives[unit])[D_PRT])
726 int k, unit;
748 for (unit = 0; unit < PF_UNITS; unit++, pf++) {
749 int *conf = *drives[unit];
766 for (pf = units, unit = 0; unit < PF_UNITS; pf++, unit++) {
1024 int unit;
1036 for (pf = units, unit = 0; unit < PF_UNITS; pf++, unit++) {
1046 for (pf = units, unit = 0; unit < PF_UNITS; pf++, unit++) {
1060 int unit;
1062 for (pf = units, unit = 0; unit < PF_UNITS; pf++, unit++) {