Lines Matching refs:mos_config
2718 spa_verify_host(spa_t *spa, nvlist_t *mos_config) in spa_verify_host() argument
2724 if (!spa_is_root(spa) && nvlist_lookup_uint64(mos_config, in spa_verify_host()
2726 hostname = fnvlist_lookup_string(mos_config, in spa_verify_host()
3156 nvlist_t *nv, *mos_config, *policy; local
3174 if (load_nvlist(spa, spa->spa_config_object, &mos_config)
3185 error = spa_verify_host(spa, mos_config);
3187 nvlist_free(mos_config);
3192 nv = fnvlist_lookup_nvlist(mos_config, ZPOOL_CONFIG_VDEV_TREE);
3236 mos_config_txg = fnvlist_lookup_uint64(mos_config,
3238 nvlist_free(mos_config);
3239 mos_config = spa_config_generate(spa, NULL, mos_config_txg, B_FALSE);
3242 fnvlist_add_nvlist(mos_config, ZPOOL_LOAD_POLICY, policy);
3243 spa_config_set(spa, mos_config);
3563 nvlist_t *mos_config; local
3564 if (load_nvlist(spa, spa->spa_config_object, &mos_config) != 0) {
3573 VERIFY(!nvlist_exists(mos_config,
3579 } else if (!nvlist_exists(mos_config, ZPOOL_CONFIG_HAS_PER_VDEV_ZAPS)) {
3592 nvlist_free(mos_config);