Lines Matching defs:child
481 nvlist_t **child;
485 &child, &children) != 0)
489 if (!pool_label_check(child[c], hdl))
1561 nvlist_t **child;
1574 &child, &children) != 0)
1578 vname = zpool_vdev_name(hdl, NULL, child[c], B_TRUE, B_FALSE);
1579 print_vdev_tree(hdl, vname, child[c], indent + 2);
1888 nvlist_t **child;
2034 &child, &children) != 0)
2038 if ((ret = vdev_to_nvlist_iter(child[c], search,
2047 nvlist_lookup_uint64(child[c],
2052 (void) nvlist_lookup_uint64(child[c],
2059 &child, &children) == 0) {
2061 if ((ret = vdev_to_nvlist_iter(child[c], search,
2070 &child, &children) == 0) {
2072 if ((ret = vdev_to_nvlist_iter(child[c], search,
2183 nvlist_t **child;
2188 &child, &count) == 0) {
2190 if (zpool_has_duplicate_vdev(zhp, child[i]))
2288 nvlist_t **child;
2293 ZPOOL_CONFIG_CHILDREN, &child, &count) != 0)
2297 ret = vdev_get_physpaths(child[i], physpath,
2317 nvlist_t **child;
2330 &child, &count) != 0)
2341 (void) vdev_get_physpaths(child[0], physpath, phypath_size, &rsz,
2595 nvlist_t **child;
2599 if (nvlist_lookup_nvlist_array(search, ZPOOL_CONFIG_CHILDREN, &child,
2605 children == 2 && child[which] == tgt)
2609 if (is_replacing_spare(child[c], tgt, which))
2631 nvlist_t **child;
2672 &child, &children) != 0 || children != 1) {
2681 if ((newname = zpool_vdev_name(NULL, NULL, child[0],
2700 verify(nvlist_add_uint64(child[0], ZPOOL_CONFIG_ASHIFT,
2930 nvlist_t *tree, *config, **child, **newchild, *newconfig = NULL;
2962 if (nvlist_lookup_nvlist_array(tree, ZPOOL_CONFIG_CHILDREN, &child,
2990 (void) nvlist_lookup_uint64(child[c], ZPOOL_CONFIG_IS_LOG,
2992 (void) nvlist_lookup_uint64(child[c], ZPOOL_CONFIG_IS_HOLE,
3012 verify(nvlist_lookup_string(child[c], ZPOOL_CONFIG_TYPE, &type)
3021 verify(nvlist_lookup_nvlist_array(child[c],
3901 nvlist_t **child;
3907 ZPOOL_CONFIG_CHILDREN, &child, &children) != 0) {
3919 sb = find_start_block(hdl, child[c]);
3933 nvlist_t **child;
3938 ZPOOL_CONFIG_CHILDREN, &child, &children) != 0) {
3961 if (pool_get_req_gpt_part(child[c], hdl, tag, size) == 0) {