Searched refs:maxunit (Results 1 - 9 of 9) sorted by relevance

/freebsd-9.3-release/sys/net/
H A Dif_clone.h38 #define IFC_CLONE_INITIALIZER(name, data, maxunit, \
40 { { 0 }, name, maxunit, NULL, 0, data, attach, match, create, destroy }
/freebsd-9.3-release/sys/dev/sound/
H A Dclone.c86 int maxunit; member in struct:snd_clone
168 snd_clone_create(int typemask, int maxunit, int deadline, uint32_t flags) argument
174 SND_CLONE_ASSERT(maxunit == -1 ||
175 !(maxunit & ~(~typemask & SND_CLONE_MAXUNIT)),
176 ("maxunit overflow: typemask=0x%08x maxunit=%d",
177 typemask, maxunit));
185 c->maxunit = (maxunit == -1) ? (~typemask & SND_CLONE_MAXUNIT) :
186 maxunit;
264 snd_clone_setmaxunit(struct snd_clone *c, int maxunit) argument
[all...]
/freebsd-9.3-release/sys/dev/acpica/
H A Dacpi_battery.c335 int found_unit, i, maxunit; local
342 maxunit = devclass_get_maxunit(batt_dc);
343 for (i = 0; i < maxunit; i++) {
/freebsd-9.3-release/sys/kern/
H A Dsubr_bus.c89 int maxunit; /* size of devices array */ member in struct:devclass
1011 for (i = 0; i < dc->maxunit; i++)
1127 for (i = 0; i < dc->maxunit; i++) {
1269 for (i = 0; i < dc->maxunit; i++) {
1323 if (dc == NULL || unit < 0 || unit >= dc->maxunit)
1378 for (i = 0; i < dc->maxunit; i++) {
1443 for (i = 0; i < dc->maxunit; i++)
1463 return (dc->maxunit);
1480 while (unit < dc->maxunit && dc->devices[unit] != NULL)
1554 if (unit >= 0 && unit < dc->maxunit
[all...]
/freebsd-9.3-release/usr.sbin/ppp/
H A Dbundle.c700 int enoentcount, err, minunit, maxunit; local
716 maxunit = -1;
719 maxunit = unit + 1;
726 for (bundle.unit = minunit; bundle.unit != maxunit; bundle.unit++) {
/freebsd-9.3-release/sys/dev/hpt27xx/
H A Dhpt27xx_osm_bsd.c1166 int maxunit; /* size of devices array */ member in struct:devclass
/freebsd-9.3-release/sys/dev/hptnr/
H A Dhptnr_osm_bsd.c1200 int maxunit; /* size of devices array */ member in struct:devclass
/freebsd-9.3-release/sys/dev/hptrr/
H A Dhptrr_osm_bsd.c1173 int maxunit; /* size of devices array */ member in struct:devclass
/freebsd-9.3-release/sys/dev/en/
H A Dmidway.c3283 int maxunit; local
3290 maxunit = devclass_get_maxunit(dc);
3291 for (lcv = 0 ; lcv < maxunit ; lcv++) {

Completed in 113 milliseconds