Home
last modified time | relevance | path

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

/titanic_50/usr/src/lib/libzfs/common/
H A Dlibzfs_import.c589 nvlist_t **newchild; in get_configs() local
591 newchild = zfs_alloc(hdl, (id + 1) * in get_configs()
593 if (newchild == NULL) in get_configs()
597 newchild[c] = child[c]; in get_configs()
600 child = newchild; in get_configs()
621 nvlist_t **newchild; in get_configs() local
623 newchild = zfs_alloc(hdl, (max_id) * in get_configs()
625 if (newchild == NULL) in get_configs()
629 newchild[c] = child[c]; in get_configs()
632 child = newchild; in get_configs()
H A Dlibzfs_pool.c2819 nvlist_t *tree, *config, **child, **newchild, *newconfig = NULL; in zpool_vdev_split() local
2863 &newchild, &newchildren) != 0) in zpool_vdev_split()
2914 newchild, newchildren)) >= 0) { in zpool_vdev_split()
/titanic_50/usr/src/uts/common/fs/nfs/
H A Dnfs4_srv_ns.c239 tree_add_child(treenode_t *parent, treenode_t *newchild) in tree_add_child() argument
241 newchild->tree_parent = parent; in tree_add_child()
242 newchild->tree_sibling = parent->tree_child_first; in tree_add_child()
243 parent->tree_child_first = newchild; in tree_add_child()
/titanic_50/usr/src/cmd/zpool/
H A Dzpool_main.c2197 nvlist_t **oldchild, **newchild; in print_vdev_stats() local
2254 &newchild, &children) != 0) in print_vdev_stats()
2264 (void) nvlist_lookup_uint64(newchild[c], ZPOOL_CONFIG_IS_HOLE, in print_vdev_stats()
2267 (void) nvlist_lookup_uint64(newchild[c], ZPOOL_CONFIG_IS_LOG, in print_vdev_stats()
2273 vname = zpool_vdev_name(g_zfs, zhp, newchild[c], B_FALSE); in print_vdev_stats()
2275 newchild[c], cb, depth + 2); in print_vdev_stats()
2289 (void) nvlist_lookup_uint64(newchild[c], in print_vdev_stats()
2293 vname = zpool_vdev_name(g_zfs, zhp, newchild[c], in print_vdev_stats()
2296 oldchild[c] : NULL, newchild[c], in print_vdev_stats()
2308 &newchild, &children) != 0) in print_vdev_stats()
[all …]
/titanic_50/usr/src/uts/common/fs/zfs/
H A Dvdev.c207 vdev_t **newchild; in vdev_add_child() local
224 newchild = kmem_zalloc(newsize, KM_SLEEP); in vdev_add_child()
226 bcopy(pvd->vdev_child, newchild, oldsize); in vdev_add_child()
230 pvd->vdev_child = newchild; in vdev_add_child()
283 vdev_t **newchild, *cvd; in vdev_compact_children() local
293 newchild = kmem_alloc(newc * sizeof (vdev_t *), KM_SLEEP); in vdev_compact_children()
297 newchild[newc] = cvd; in vdev_compact_children()
303 pvd->vdev_child = newchild; in vdev_compact_children()