Home
last modified time | relevance | path

Searched refs:newchild (Results 1 – 5 of 5) sorted by relevance

/illumos-gate/usr/src/lib/libzutil/common/
H A Dzutil_import.c623 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 Dnfs4_srv_ns.c249 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 Dzpool_main.c3984 nvlist_t **oldchild, **newchild; in print_vdev_stats() local
4088 &newchild, &children) != 0) 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()
4160 vname = zpool_vdev_name(g_zfs, zhp, newchild[c], in print_vdev_stats()
4173 &newchild, &children) != 0) in print_vdev_stats()
4192 vname = zpool_vdev_name(g_zfs, zhp, newchild[c], in print_vdev_stats()
[all …]
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dvdev.c356 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 Dlibzfs_pool.c3354 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()