Lines Matching refs:nchildren
128 int i, nchildren;
131 if (device_get_children(dev, &children, &nchildren) == 0) {
132 for (i = 0; i < nchildren; i++) {
138 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;
438 if (device_get_children(*miibus, &children, &nchildren) != 0) {
440 nchildren = 0;
449 for (i = 0; i < nchildren; i++) {
515 rv = device_get_children(*miibus, &children, &nchildren);
519 if (nchildren == 0) {