Lines Matching refs:top
604 nvlist_t **top;
619 &top, &toplevels) == 0);
624 nv = top[t];
627 * For separate logs we ignore the top level vdev replication
1329 nvlist_t *nvroot, *nv, **top, **spares, **l2cache;
1335 top = NULL;
1469 /* create a top-level vdev with children */
1527 top = realloc(top, toplevels * sizeof (nvlist_t *));
1528 if (top == NULL)
1530 top[toplevels - 1] = nv;
1547 * Finally, create nvroot and add all top-level vdevs to it.
1553 top, toplevels) == 0);
1562 nvlist_free(top[t]);
1571 free(top);
1636 nvlist_t **top;
1640 &top, &toplevels) == 0);
1645 (void) nvlist_lookup_uint64(top[t], ZPOOL_CONFIG_IS_LOG, &log);
1648 if (nvlist_exists(top[t], ZPOOL_CONFIG_ALLOCATION_BIAS))
1713 vdev_error(gettext("at least one general top-level vdev must "