Lines Matching refs:nchildren
83 uint64_t nchildren;
106 nchildren = 1;
107 nvlist_lookup_uint64(best_cfg, ZPOOL_CONFIG_VDEV_CHILDREN, &nchildren);
112 tops = kmem_zalloc(nchildren * sizeof (void *), KM_SLEEP);
113 for (i = 0; i < nchildren; i++) {
123 if (i >= nchildren)
133 for (i = 0; i < nchildren; i++) {
157 (const nvlist_t * const *)tops, nchildren);
174 for (i = 0; i < nchildren; i++)
176 kmem_free(tops, nchildren * sizeof (void *));