Home
last modified time | relevance | path

Searched refs:ZPOOL_CONFIG_POOL_STATE (Results 1 – 17 of 17) sorted by relevance

/freebsd/sys/contrib/openzfs/lib/libzfs/
H A Dlibzfs_import.c174 if (nvlist_lookup_uint64(config, ZPOOL_CONFIG_POOL_STATE, in zpool_clear_label()
183 ZPOOL_CONFIG_POOL_STATE, &l2cache) == 0 && in zpool_clear_label()
300 stateval = fnvlist_lookup_uint64(config, ZPOOL_CONFIG_POOL_STATE); in zpool_in_use()
H A Dlibzfs_status.c237 ZPOOL_CONFIG_POOL_STATE); in check_status()
/freebsd/sys/contrib/openzfs/lib/libzutil/
H A Dzutil_import.c325 if (nvlist_lookup_uint64(config, ZPOOL_CONFIG_POOL_STATE, in add_config()
623 ZPOOL_CONFIG_POOL_STATE); in get_configs()
625 ZPOOL_CONFIG_POOL_STATE, state); in get_configs()
967 if (nvlist_lookup_uint64(*config, ZPOOL_CONFIG_POOL_STATE, in zpool_read_label_slow()
1114 if (nvlist_lookup_uint64(*config, ZPOOL_CONFIG_POOL_STATE, in zpool_read_label()
1236 if (!(nvlist_lookup_uint64(label, ZPOOL_CONFIG_POOL_STATE, &state)) && in label_paths()
1510 ZPOOL_CONFIG_POOL_STATE, &state) == 0 && in zpool_find_import_impl()
/freebsd/cddl/usr.sbin/zfsd/tests/
H A Dzfsd_unittest.cc341 ASSERT_EQ(0, nvlist_add_uint64(labelConfig, ZPOOL_CONFIG_POOL_STATE, in TEST_F()
356 ASSERT_EQ(0, nvlist_add_uint64(labelConfig, ZPOOL_CONFIG_POOL_STATE, in TEST_F()
/freebsd/sys/contrib/openzfs/module/zfs/
H A Dspa_config.c459 fnvlist_add_uint64(config, ZPOOL_CONFIG_POOL_STATE, spa_state(spa)); in spa_config_generate()
H A Dvdev_label.c909 if (nvlist_lookup_uint64(label, ZPOOL_CONFIG_POOL_STATE, in vdev_inuse()
1027 fnvlist_add_uint64(label, ZPOOL_CONFIG_POOL_STATE, reason_spare ? in vdev_aux_label_generate()
H A Dvdev.c2493 if (nvlist_lookup_uint64(label, ZPOOL_CONFIG_POOL_STATE, in vdev_validate()
2499 ZPOOL_CONFIG_POOL_STATE); in vdev_validate()
3952 nvlist_lookup_uint64(label, ZPOOL_CONFIG_POOL_STATE, &state) != 0) { in vdev_validate_aux()
H A Dvdev_draid.c2532 fnvlist_add_uint64(nv, ZPOOL_CONFIG_POOL_STATE, in vdev_draid_read_config_spare()
H A Dspa.c3528 (void) nvlist_lookup_uint64(config, ZPOOL_CONFIG_POOL_STATE, &state); in spa_activity_check_required()
6895 if (nvlist_lookup_uint64(tryconfig, ZPOOL_CONFIG_POOL_STATE, &state))
6949 fnvlist_add_uint64(config, ZPOOL_CONFIG_POOL_STATE, state);
8491 fnvlist_add_uint64(config, ZPOOL_CONFIG_POOL_STATE,
/freebsd/usr.sbin/makefs/
H A Dzfs.c303 nvlist_add_uint64(poolnv, ZPOOL_CONFIG_POOL_STATE, POOL_STATE_EXPORTED); in pool_config_nvcreate()
/freebsd/sys/contrib/openzfs/cmd/
H A Dzhack.c770 ZPOOL_CONFIG_POOL_STATE, ZPOOL_CONFIG_GUID }; in zhack_repair_one_label()
/freebsd/sys/contrib/openzfs/include/sys/fs/
H A Dzfs.h722 #define ZPOOL_CONFIG_POOL_STATE "state" macro
/freebsd/sys/contrib/openzfs/module/os/freebsd/zfs/
H A Dvdev_geom.c489 if (nvlist_lookup_uint64(config, ZPOOL_CONFIG_POOL_STATE, in vdev_geom_read_config()
/freebsd/sys/cddl/boot/zfs/
H A Dzfsimpl.h795 #define ZPOOL_CONFIG_POOL_STATE "state" macro
/freebsd/stand/libsa/zfs/
H A Dzfsimpl.c2053 if (nvlist_find(nvl, ZPOOL_CONFIG_POOL_STATE, DATA_TYPE_UINT64, in vdev_probe()
/freebsd/sys/contrib/openzfs/cmd/zpool/
H A Dzpool_main.c3400 verify(nvlist_lookup_uint64(config, ZPOOL_CONFIG_POOL_STATE, in show_import()
3771 state = fnvlist_lookup_uint64(config, ZPOOL_CONFIG_POOL_STATE); in zfs_force_import_required()
3974 verify(nvlist_lookup_uint64(config, ZPOOL_CONFIG_POOL_STATE, in import_pools()
/freebsd/sys/contrib/openzfs/cmd/zdb/
H A Dzdb.c5375 ZPOOL_CONFIG_POOL_STATE, &l2cache) == 0 && in dump_label()