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

/osnet-11/usr/src/lib/libzfs/common/
H A Dlibzfs_vdev.c940 check_replication(libzfs_handle_t *hdl, nvlist_t *config, nvlist_t *newroot, argument
966 if ((nvlist_lookup_nvlist_array(newroot, ZPOOL_CONFIG_CHILDREN,
974 if (!valid_replication(hdl, newroot, &p_new, &s_new, B_TRUE, force))
1507 nvlist_t *newroot = NULL; local
1520 if ((newroot = construct_spec(hdl, vdevcount, vdevlist))
1525 if (!flags.dryrun && make_disks(hdl, zhp, newroot,
1528 nvlist_free(newroot);
1532 verify(nvlist_lookup_nvlist_array(newroot,
1547 nvlist_free(newroot);
1553 if (zpool_vdev_split(zhp, newname, &newroot, prop
1578 nvlist_t *newroot; local
[all...]
H A Dlibzfs_pool.c2921 * Split a mirror pool. If newroot points to null, then a new nvlist
2925 zpool_vdev_split(zpool_handle_t *zhp, char *newname, nvlist_t **newroot, argument
2974 if (*newroot == NULL ||
2975 nvlist_lookup_nvlist_array(*newroot, ZPOOL_CONFIG_CHILDREN,
3049 if (*newroot == NULL) {
3050 if (nvlist_alloc(newroot, NV_UNIQUE_NAME, 0) != 0)
3053 if (nvlist_add_string(*newroot, ZPOOL_CONFIG_TYPE,
3057 verify(nvlist_remove_all(*newroot, ZPOOL_CONFIG_CHILDREN) == 0);
3061 if (nvlist_add_nvlist_array(*newroot, ZPOOL_CONFIG_CHILDREN, varray,
3079 ZPOOL_CONFIG_VDEV_TREE, *newroot) !
[all...]
/osnet-11/usr/src/lib/libshell/common/sh/
H A Dname.c2214 register Dt_t *newscope, *newroot=shp->var_base; local
2219 newroot = nv_dict(shp->namespace);
2220 dtview(newroot,(Dt_t*)shp->var_base);
2235 dtview(rp->sdict,newroot);
2236 newroot = rp->sdict;
2239 dtview(newscope,(Dt_t*)newroot);

Completed in 40 milliseconds