Lines Matching refs:dunit
538 int i, val, dunit, r;
572 r = resource_find_dev(&i, dname, &dunit, NULL, NULL);
576 if (resource_int_value(dname, dunit, "target", &val) &&
577 (resource_string_value(dname, dunit, "at",&strval)||
580 if (newunit == dunit)
594 int wired, i, val, dunit;
603 for (wired = 0; resource_find_dev(&i, dname, &dunit, NULL, NULL) == 0;
605 if (resource_string_value(dname, dunit, "at", &strval) == 0) {
610 if (resource_int_value(dname, dunit, "target", &val) == 0) {
615 if (resource_int_value(dname, dunit, "lun", &val) == 0) {
621 unit = dunit;