Lines Matching defs:child

367 	nvlist_t **child;
375 &child, &children) != 0)
381 (void) nvlist_lookup_uint64(child[c], ZPOOL_CONFIG_IS_LOG,
386 vname = zpool_vdev_name(g_zfs, zhp, child[c], B_FALSE);
387 print_vdev_tree(zhp, vname, child[c], indent + 2,
1234 nvlist_t **child;
1244 &child, &children) == 0) {
1246 if ((ret = max_width(zhp, child[c], depth + 2,
1252 &child, &children) == 0) {
1254 if ((ret = max_width(zhp, child[c], depth + 2,
1260 &child, &children) == 0) {
1262 if ((ret = max_width(zhp, child[c], depth + 2,
1280 nvlist_t **child;
1288 &child, &children) == 0) {
1290 if (find_vdev(child[c], search))
1323 nvlist_t **child;
1334 &child, &children) != 0)
1451 (void) nvlist_lookup_uint64(child[c], ZPOOL_CONFIG_IS_LOG,
1453 (void) nvlist_lookup_uint64(child[c], ZPOOL_CONFIG_IS_HOLE,
1457 vname = zpool_vdev_name(g_zfs, zhp, child[c], B_TRUE);
1458 print_status_config(zhp, vname, child[c],
1472 nvlist_t **child;
1524 &child, &children) != 0)
1530 (void) nvlist_lookup_uint64(child[c], ZPOOL_CONFIG_IS_LOG,
1535 vname = zpool_vdev_name(g_zfs, NULL, child[c], B_TRUE);
1536 print_import_config(vname, child[c], namewidth, depth + 2);
1541 &child, &children) == 0) {
1544 vname = zpool_vdev_name(g_zfs, NULL, child[c], B_FALSE);
1551 &child, &children) == 0) {
1554 vname = zpool_vdev_name(g_zfs, NULL, child[c], B_FALSE);
1563 * Logs are recorded as top level vdevs in the main pool child array
1573 nvlist_t **child;
1575 if (nvlist_lookup_nvlist_array(nv, ZPOOL_CONFIG_CHILDREN, &child,
1585 (void) nvlist_lookup_uint64(child[c], ZPOOL_CONFIG_IS_LOG,
1589 name = zpool_vdev_name(g_zfs, zhp, child[c], B_TRUE);
1591 print_status_config(zhp, name, child[c], namewidth,
1594 print_import_config(name, child[c], namewidth, 2);
2943 nvlist_t **child;
2991 &child, &children) != 0)
2997 if (nvlist_lookup_uint64(child[c],
3001 if (nvlist_lookup_uint64(child[c],
3007 vname = zpool_vdev_name(g_zfs, zhp, child[c], B_FALSE);
3008 print_list_stats(zhp, vname, child[c], cb, depth + 2);
3016 if (nvlist_lookup_uint64(child[c], ZPOOL_CONFIG_IS_LOG,
3019 vname = zpool_vdev_name(g_zfs, zhp, child[c], B_FALSE);
3020 print_list_stats(zhp, vname, child[c], cb, depth + 2);
3026 &child, &children) == 0 && children > 0) {
3030 vname = zpool_vdev_name(g_zfs, zhp, child[c], B_FALSE);
3031 print_list_stats(zhp, vname, child[c], cb, depth + 2);
3036 if (nvlist_lookup_nvlist_array(nv, ZPOOL_CONFIG_SPARES, &child,
3041 vname = zpool_vdev_name(g_zfs, zhp, child[c], B_FALSE);
3042 print_list_stats(zhp, vname, child[c], cb, depth + 2);