Searched refs:newchild (Results 1 – 5 of 5) sorted by relevance
/illumos-gate/usr/src/lib/libzutil/common/ |
H A D | zutil_import.c | 623 nvlist_t **newchild; in get_configs() local 625 newchild = zutil_alloc(hdl, (id + 1) * in get_configs() 627 if (newchild == NULL) in get_configs() 631 newchild[c] = child[c]; in get_configs() 634 child = newchild; in get_configs() 655 nvlist_t **newchild; in get_configs() local 657 newchild = zutil_alloc(hdl, (max_id) * in get_configs() 659 if (newchild == NULL) in get_configs() 663 newchild[c] = child[c]; in get_configs() 666 child = newchild; in get_configs()
|
/illumos-gate/usr/src/uts/common/fs/nfs/ |
H A D | nfs4_srv_ns.c | 249 tree_add_child(treenode_t *parent, treenode_t *newchild) in tree_add_child() argument 251 newchild->tree_parent = parent; in tree_add_child() 252 newchild->tree_sibling = parent->tree_child_first; in tree_add_child() 253 parent->tree_child_first = newchild; in tree_add_child()
|
/illumos-gate/usr/src/cmd/zpool/ |
H A D | zpool_main.c | 3984 nvlist_t **oldchild, **newchild; in print_vdev_stats() local 4088 &newchild, &children) != 0) in print_vdev_stats() 4105 (void) nvlist_lookup_uint64(newchild[c], ZPOOL_CONFIG_IS_HOLE, in print_vdev_stats() 4108 (void) nvlist_lookup_uint64(newchild[c], ZPOOL_CONFIG_IS_LOG, in print_vdev_stats() 4114 if (nvlist_exists(newchild[c], ZPOOL_CONFIG_ALLOCATION_BIAS)) in print_vdev_stats() 4117 vname = zpool_vdev_name(g_zfs, zhp, newchild[c], in print_vdev_stats() 4120 newchild[c], cb, depth + 2); in print_vdev_stats() 4135 (void) nvlist_lookup_uint64(newchild[c], in print_vdev_stats() 4140 (void) nvlist_lookup_string(newchild[c], in print_vdev_stats() 4142 (void) nvlist_lookup_string(newchild[c], in print_vdev_stats() [all …]
|
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | vdev.c | 356 vdev_t **newchild; in vdev_add_child() local 373 newchild = kmem_zalloc(newsize, KM_SLEEP); in vdev_add_child() 375 bcopy(pvd->vdev_child, newchild, oldsize); in vdev_add_child() 379 pvd->vdev_child = newchild; in vdev_add_child() 443 vdev_t **newchild, *cvd; in vdev_compact_children() local 465 newchild = kmem_alloc(newc * sizeof (vdev_t *), KM_SLEEP); in vdev_compact_children() 469 newchild[newc] = cvd; in vdev_compact_children() 475 pvd->vdev_child = newchild; in vdev_compact_children()
|
/illumos-gate/usr/src/lib/libzfs/common/ |
H A D | libzfs_pool.c | 3354 nvlist_t *tree, *config, **child, **newchild, *newconfig = NULL; in zpool_vdev_split() local 3398 &newchild, &newchildren) != 0) in zpool_vdev_split() 3449 newchild, newchildren)) >= 0) { in zpool_vdev_split()
|