Searched refs:newroot (Results 1 - 3 of 3) sorted by relevance

/illumos-gate/usr/src/cmd/zpool/
H A Dzpool_vdev.c794 check_replication(nvlist_t *config, nvlist_t *newroot) argument
817 if ((nvlist_lookup_nvlist_array(newroot, ZPOOL_CONFIG_CHILDREN,
826 if (num_logs(newroot) == children) {
835 if ((new = get_replication(newroot, B_TRUE)) == NULL) {
1368 nvlist_t *newroot = NULL, **child; local
1372 if ((newroot = construct_spec(argc, argv)) == NULL) {
1378 if (!flags.dryrun && make_disks(zhp, newroot) != 0) {
1379 nvlist_free(newroot);
1384 verify(nvlist_lookup_nvlist_array(newroot,
1396 nvlist_free(newroot);
1424 nvlist_t *newroot; local
[all...]
/illumos-gate/usr/src/lib/libzfs/common/
H A Dlibzfs_pool.c2856 * Split a mirror pool. If newroot points to null, then a new nvlist
2860 zpool_vdev_split(zpool_handle_t *zhp, char *newname, nvlist_t **newroot, argument
2907 if (*newroot == NULL ||
2908 nvlist_lookup_nvlist_array(*newroot, ZPOOL_CONFIG_CHILDREN,
2982 if (*newroot == NULL) {
2983 if (nvlist_alloc(newroot, NV_UNIQUE_NAME, 0) != 0)
2986 if (nvlist_add_string(*newroot, ZPOOL_CONFIG_TYPE,
2990 verify(nvlist_remove_all(*newroot, ZPOOL_CONFIG_CHILDREN) == 0);
2994 if (nvlist_add_nvlist_array(*newroot, ZPOOL_CONFIG_CHILDREN, varray,
3012 ZPOOL_CONFIG_VDEV_TREE, *newroot) !
[all...]
/illumos-gate/usr/src/lib/libshell/common/sh/
H A Dname.c2049 register Dt_t *newscope, *newroot=shp->var_base; local
2063 dtview(rp->sdict,newroot);
2064 newroot = rp->sdict;
2067 dtview(newscope,(Dt_t*)newroot);

Completed in 75 milliseconds