Lines Matching refs:nchildren
138 int i, nchildren;
141 if (device_get_children(dev, &children, &nchildren) == 0) {
142 for (i = 0; i < nchildren; i++) {
148 if (nchildren == 0) {
241 int i, nchildren;
246 if (device_get_children(dev, &children, &nchildren) != 0)
249 for (i = 0; i < nchildren; i++) {
374 int bmsr, first, i, nchildren, phymax, phymin, rv;
436 if (device_get_children(*miibus, &children, &nchildren) != 0) {
438 nchildren = 0;
447 for (i = 0; i < nchildren; i++) {
513 rv = device_get_children(*miibus, &children, &nchildren);
517 if (nchildren == 0) {