Lines Matching refs:mos_config
2390 spa_verify_host(spa_t *spa, nvlist_t *mos_config)
2396 if (!spa_is_root(spa) && nvlist_lookup_uint64(mos_config,
2398 hostname = fnvlist_lookup_string(mos_config,
2792 nvlist_t *nv, *mos_config, *policy;
2810 if (load_nvlist(spa, spa->spa_config_object, &mos_config)
2821 error = spa_verify_host(spa, mos_config);
2823 nvlist_free(mos_config);
2828 nv = fnvlist_lookup_nvlist(mos_config, ZPOOL_CONFIG_VDEV_TREE);
2872 mos_config_txg = fnvlist_lookup_uint64(mos_config,
2874 nvlist_free(mos_config);
2875 mos_config = spa_config_generate(spa, NULL, mos_config_txg, B_FALSE);
2878 fnvlist_add_nvlist(mos_config, ZPOOL_LOAD_POLICY, policy);
2879 spa_config_set(spa, mos_config);
3189 nvlist_t *mos_config;
3190 if (load_nvlist(spa, spa->spa_config_object, &mos_config) != 0) {
3199 VERIFY(!nvlist_exists(mos_config,
3205 } else if (!nvlist_exists(mos_config, ZPOOL_CONFIG_HAS_PER_VDEV_ZAPS)) {
3218 nvlist_free(mos_config);