Searched refs:newroot (Results 1 – 3 of 3) sorted by relevance
| /illumos-gate/usr/src/cmd/zpool/ |
| H A D | zpool_vdev.c | 873 check_replication(nvlist_t *config, nvlist_t *newroot) in check_replication() argument 897 if ((nvlist_lookup_nvlist_array(newroot, ZPOOL_CONFIG_CHILDREN, in check_replication() 906 if (num_logs(newroot) == children) { in check_replication() 915 if ((new = get_replication(newroot, B_TRUE)) == NULL) { in check_replication() 1554 nvlist_t *newroot = NULL, **child; in split_mirror_vdev() local 1559 if ((newroot = construct_spec(props, argc, argv)) == NULL) { in split_mirror_vdev() 1571 make_disks(zhp, newroot, boot_type, 0) != 0) { in split_mirror_vdev() 1572 nvlist_free(newroot); in split_mirror_vdev() 1577 verify(nvlist_lookup_nvlist_array(newroot, in split_mirror_vdev() 1589 nvlist_free(newroot); in split_mirror_vdev() [all …]
|
| /illumos-gate/usr/src/lib/libzfs/common/ |
| H A D | libzfs_pool.c | 3391 zpool_vdev_split(zpool_handle_t *zhp, char *newname, nvlist_t **newroot, in zpool_vdev_split() argument 3438 if (*newroot == NULL || in zpool_vdev_split() 3439 nvlist_lookup_nvlist_array(*newroot, ZPOOL_CONFIG_CHILDREN, in zpool_vdev_split() 3513 if (*newroot == NULL) { in zpool_vdev_split() 3514 if (nvlist_alloc(newroot, NV_UNIQUE_NAME, 0) != 0) in zpool_vdev_split() 3517 if (nvlist_add_string(*newroot, ZPOOL_CONFIG_TYPE, in zpool_vdev_split() 3521 verify(nvlist_remove_all(*newroot, ZPOOL_CONFIG_CHILDREN) == 0); in zpool_vdev_split() 3525 if (nvlist_add_nvlist_array(*newroot, ZPOOL_CONFIG_CHILDREN, varray, in zpool_vdev_split() 3543 ZPOOL_CONFIG_VDEV_TREE, *newroot) != 0 || in zpool_vdev_split() 3582 nvlist_free(*newroot); in zpool_vdev_split() [all …]
|
| /illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/sh/ |
| H A D | name.c | 2364 register Dt_t *newscope, *newroot=shp->var_base; in sh_scope() local 2368 newroot = nv_dict(shp->namespace); in sh_scope() 2382 dtview(rp->sdict,newroot); in sh_scope() 2383 newroot = rp->sdict; in sh_scope() 2386 dtview(newscope,(Dt_t*)newroot); in sh_scope()
|