Lines Matching defs:nchildren
132 int i, nchildren;
135 if (device_get_children(dev, &children, &nchildren) == 0) {
136 for (i = 0; i < nchildren; i++) {
142 if (nchildren == 0) {
235 int i, nchildren;
240 if (device_get_children(dev, &children, &nchildren) != 0)
243 for (i = 0; i < nchildren; i++) {
368 int bmsr, first, i, nchildren, phymax, phymin, rv;
430 if (device_get_children(*miibus, &children, &nchildren) != 0) {
432 nchildren = 0;
441 for (i = 0; i < nchildren; i++) {
507 rv = device_get_children(*miibus, &children, &nchildren);
511 if (nchildren == 0) {