Lines Matching defs:mos_config
3863 spa_verify_host(spa_t *spa, nvlist_t *mos_config)
3869 if (!spa_is_root(spa) && nvlist_lookup_uint64(mos_config,
3871 hostname = fnvlist_lookup_string(mos_config,
4315 nvlist_t *nv, *mos_config, *policy;
4333 if (load_nvlist(spa, spa->spa_config_object, &mos_config)
4344 error = spa_verify_host(spa, mos_config);
4346 nvlist_free(mos_config);
4351 nv = fnvlist_lookup_nvlist(mos_config, ZPOOL_CONFIG_VDEV_TREE);
4360 nvlist_free(mos_config);
4406 if (nvlist_exists(mos_config, ZPOOL_CONFIG_HOSTID))
4408 fnvlist_lookup_uint64(mos_config, ZPOOL_CONFIG_HOSTID));
4409 if (nvlist_exists(mos_config, ZPOOL_CONFIG_HOSTNAME))
4411 fnvlist_lookup_string(mos_config, ZPOOL_CONFIG_HOSTNAME));
4420 mos_config_txg = fnvlist_lookup_uint64(mos_config,
4422 nvlist_free(mos_config);
4423 mos_config = spa_config_generate(spa, NULL, mos_config_txg, B_FALSE);
4426 fnvlist_add_nvlist(mos_config, ZPOOL_LOAD_POLICY, policy);
4427 spa_config_set(spa, mos_config);
4762 nvlist_t *mos_config;
4763 if (load_nvlist(spa, spa->spa_config_object, &mos_config) != 0) {
4772 VERIFY(!nvlist_exists(mos_config,
4777 nvlist_free(mos_config);
4779 } else if (!nvlist_exists(mos_config, ZPOOL_CONFIG_HAS_PER_VDEV_ZAPS)) {
4792 nvlist_free(mos_config);