Searched refs:maxunit (Results 1 – 1 of 1) sorted by relevance
70 int maxunit; /* size of devices array */ member395 for (i = 0; i < dc->maxunit; i++) in devclass_driver_added()512 for (i = 0; i < dc->maxunit; i++) { in devclass_driver_deleted()654 for (i = 0; i < dc->maxunit; i++) { in devclass_quiesce_driver()708 if (dc == NULL || unit < 0 || unit >= dc->maxunit) in devclass_get_device()763 for (i = 0; i < dc->maxunit; i++) { in devclass_get_devices()828 for (i = 0; i < dc->maxunit; i++) in devclass_get_count()848 return (dc->maxunit); in devclass_get_maxunit()865 while (unit < dc->maxunit && dc->devices[unit] != NULL) in devclass_find_free_unit()925 if (unit >= 0 && unit < dc->maxunit && dc->devices[unit] != NULL) { in devclass_alloc_unit()[all …]