Lines Matching defs:config

1467 	nvlist_t *config, *props = NULL;
1472 zc->zc_iflags, &config))
1478 nvlist_free(config);
1496 nvlist_free(config);
1509 error = spa_create(zc->zc_name, config, props, zplprops);
1521 nvlist_free(config);
1541 nvlist_t *config, *props = NULL;
1546 zc->zc_iflags, &config)) != 0)
1552 nvlist_free(config);
1556 if (nvlist_lookup_uint64(config, ZPOOL_CONFIG_POOL_GUID, &guid) != 0 ||
1560 error = spa_import(zc->zc_name, config, props, zc->zc_cookie);
1565 if ((err = put_nvlist(zc, config)) != 0)
1569 nvlist_free(config);
1612 * zc_nvlist_dst config nvlist
1613 * zc_nvlist_dst_size size of config nvlist
1618 nvlist_t *config;
1622 error = spa_get_stats(zc->zc_name, &config, zc->zc_value,
1625 if (config != NULL) {
1626 ret = put_nvlist(zc, config);
1627 nvlist_free(config);
1630 * The config may be present even if 'error' is non-zero.
1649 nvlist_t *tryconfig, *config;
1656 config = spa_tryimport(tryconfig);
1660 if (config == NULL)
1663 error = put_nvlist(zc, config);
1664 nvlist_free(config);
1842 nvlist_t *config, **l2cache, **spares;
1850 zc->zc_iflags, &config);
1851 (void) nvlist_lookup_nvlist_array(config, ZPOOL_CONFIG_L2CACHE,
1854 (void) nvlist_lookup_nvlist_array(config, ZPOOL_CONFIG_SPARES,
1868 nvlist_free(config);
1874 error = spa_vdev_add(spa, config);
1875 nvlist_free(config);
1948 nvlist_t *config;
1955 zc->zc_iflags, &config)) == 0) {
1956 error = spa_vdev_attach(spa, zc->zc_guid, config, replacing);
1957 nvlist_free(config);
1983 nvlist_t *config, *props = NULL;
1991 zc->zc_iflags, &config)) {
2000 nvlist_free(config);
2004 error = spa_vdev_split_mirror(spa, zc->zc_string, config, props, exp);
2008 nvlist_free(config);
4622 nvlist_t *config = NULL;
4630 policy, &config);
4631 if (config != NULL) {
4634 if ((err = put_nvlist(zc, config)) != 0)
4636 nvlist_free(config);