Searched refs:newroot (Results 1 – 3 of 3) sorted by relevance
/titanic_44/usr/src/cmd/zpool/ |
H A D | zpool_vdev.c | 794 check_replication(nvlist_t *config, nvlist_t *newroot) in check_replication() argument 817 if ((nvlist_lookup_nvlist_array(newroot, ZPOOL_CONFIG_CHILDREN, in check_replication() 826 if (num_logs(newroot) == children) { in check_replication() 835 if ((new = get_replication(newroot, B_TRUE)) == NULL) { in check_replication() 1368 nvlist_t *newroot = NULL, **child; in split_mirror_vdev() local 1372 if ((newroot = construct_spec(argc, argv)) == NULL) { in split_mirror_vdev() 1378 if (!flags.dryrun && make_disks(zhp, newroot) != 0) { in split_mirror_vdev() 1379 nvlist_free(newroot); in split_mirror_vdev() 1384 verify(nvlist_lookup_nvlist_array(newroot, in split_mirror_vdev() 1396 nvlist_free(newroot); in split_mirror_vdev() [all …]
|
/titanic_44/usr/src/lib/libzfs/common/ |
H A D | libzfs_pool.c | 2798 zpool_vdev_split(zpool_handle_t *zhp, char *newname, nvlist_t **newroot, in zpool_vdev_split() argument 2845 if (*newroot == NULL || in zpool_vdev_split() 2846 nvlist_lookup_nvlist_array(*newroot, ZPOOL_CONFIG_CHILDREN, in zpool_vdev_split() 2920 if (*newroot == NULL) { in zpool_vdev_split() 2921 if (nvlist_alloc(newroot, NV_UNIQUE_NAME, 0) != 0) in zpool_vdev_split() 2924 if (nvlist_add_string(*newroot, ZPOOL_CONFIG_TYPE, in zpool_vdev_split() 2928 verify(nvlist_remove_all(*newroot, ZPOOL_CONFIG_CHILDREN) == 0); in zpool_vdev_split() 2932 if (nvlist_add_nvlist_array(*newroot, ZPOOL_CONFIG_CHILDREN, varray, in zpool_vdev_split() 2950 ZPOOL_CONFIG_VDEV_TREE, *newroot) != 0 || in zpool_vdev_split() 2989 nvlist_free(*newroot); in zpool_vdev_split() [all …]
|
/titanic_44/usr/src/lib/libshell/common/sh/ |
H A D | name.c | 2049 register Dt_t *newscope, *newroot=shp->var_base; in sh_scope() local 2063 dtview(rp->sdict,newroot); in sh_scope() 2064 newroot = rp->sdict; in sh_scope() 2067 dtview(newscope,(Dt_t*)newroot); in sh_scope()
|