Home
last modified time | relevance | path

Searched refs:ZPOOL_CONFIG_GUID (Results 1 – 25 of 28) sorted by relevance

12

/freebsd/sys/contrib/openzfs/module/os/freebsd/zfs/
H A Dspa_os.c132 fnvlist_add_uint64(tops[holes[i]], ZPOOL_CONFIG_GUID, 0); in spa_generate_rootconf()
141 fnvlist_add_uint64(tops[i], ZPOOL_CONFIG_GUID, 0); in spa_generate_rootconf()
156 fnvlist_add_uint64(nvroot, ZPOOL_CONFIG_GUID, pgid); in spa_generate_rootconf()
169 fnvlist_remove(config, ZPOOL_CONFIG_GUID); in spa_generate_rootconf()
H A Dzfs_ioctl_os.c71 { ZPOOL_CONFIG_GUID, DATA_TYPE_UINT64, 0}
105 ZPOOL_CONFIG_GUID, &vdev_guid) != 0) in zfs_ioc_nextboot()
H A Dvdev_geom.c673 (void) nvlist_lookup_uint64(config, ZPOOL_CONFIG_GUID, &vdev_guid); in vdev_attach_ok()
/freebsd/cddl/usr.sbin/zfsd/tests/
H A Dzfsd_unittest.cc220 ZPOOL_CONFIG_GUID, 0x5678)); in SetUp()
290 ASSERT_EQ(0, nvlist_add_uint64(m_vdevConfig, ZPOOL_CONFIG_GUID, in SetUp()
339 ASSERT_EQ(0, nvlist_add_uint64(labelConfig, ZPOOL_CONFIG_GUID, in TEST_F()
354 ASSERT_EQ(0, nvlist_add_uint64(labelConfig, ZPOOL_CONFIG_GUID, in TEST_F()
434 ZPOOL_CONFIG_GUID, 0xbeef)); in SetUp()
710 ZPOOL_CONFIG_GUID, 0xbeef)); in SetUp()
863 ASSERT_EQ(0, nvlist_add_uint64(rootVdev, ZPOOL_CONFIG_GUID, 0x5678)); in TEST_F()
/freebsd/sys/contrib/openzfs/lib/libzfs/
H A Dlibzfs_import.c168 if (nvlist_lookup_uint64(config, ZPOOL_CONFIG_GUID, in zpool_clear_label()
229 if (fnvlist_lookup_uint64(nv, ZPOOL_CONFIG_GUID) == guid) in find_guid()
262 ZPOOL_CONFIG_GUID); in find_aux()
302 vdev_guid = fnvlist_lookup_uint64(config, ZPOOL_CONFIG_GUID); in zpool_in_use()
H A Dlibzfs_pool.c165 (nvlist_lookup_uint64(nv, ZPOOL_CONFIG_GUID, &value) in zpool_get_prop_int()
2436 uint64_t guid = fnvlist_lookup_uint64(tgt, ZPOOL_CONFIG_GUID); in zpool_translate_vdev_guids()
2908 if (strcmp(srchkey, ZPOOL_CONFIG_GUID) == 0) { in vdev_to_nvlist_iter()
2911 ZPOOL_CONFIG_GUID); in vdev_to_nvlist_iter()
3097 fnvlist_add_uint64(search, ZPOOL_CONFIG_GUID, guid); in zpool_find_vdev_by_physpath()
3154 fnvlist_add_uint64(search, ZPOOL_CONFIG_GUID, guid); in __zpool_find_vdev()
3229 return (fnvlist_lookup_uint64(tgt, ZPOOL_CONFIG_GUID)); in zpool_vdev_path_to_guid_impl()
3266 zc.zc_guid = fnvlist_lookup_uint64(tgt, ZPOOL_CONFIG_GUID); in zpool_vdev_online()
3349 zc.zc_guid = fnvlist_lookup_uint64(tgt, ZPOOL_CONFIG_GUID); in zpool_vdev_offline()
3403 zc.zc_guid = fnvlist_lookup_uint64(tgt, ZPOOL_CONFIG_GUID); in zpool_vdev_remove_wanted()
[all …]
/freebsd/sys/contrib/openzfs/lib/libzutil/
H A Dzutil_import.c259 verify(nvlist_lookup_uint64(nv, ZPOOL_CONFIG_GUID, &guid) == 0); in fix_paths()
329 nvlist_lookup_uint64(config, ZPOOL_CONFIG_GUID, &vdev_guid) == 0) { in add_config()
356 nvlist_lookup_uint64(config, ZPOOL_CONFIG_GUID, in add_config()
732 ZPOOL_CONFIG_GUID, 0ULL) != 0) { in get_configs()
759 ZPOOL_CONFIG_GUID, 0ULL) != 0) { in get_configs()
775 nvlist_add_uint64(nvroot, ZPOOL_CONFIG_GUID, guid) != 0 || in get_configs()
962 if (nvlist_lookup_uint64(*config, ZPOOL_CONFIG_GUID, in zpool_read_label_slow()
1109 if (nvlist_lookup_uint64(*config, ZPOOL_CONFIG_GUID, in zpool_read_label()
1199 error = nvlist_lookup_uint64(nvroot, ZPOOL_CONFIG_GUID, &guid); in label_paths_impl()
1230 if (nvlist_lookup_uint64(label, ZPOOL_CONFIG_GUID, &vdev_guid) != 0) in label_paths()
/freebsd/sys/contrib/openzfs/cmd/zed/agents/
H A Dzfs_agents.c125 (void) nvlist_lookup_uint64(nvl, ZPOOL_CONFIG_GUID, in zfs_agent_iter_vdev()
138 nvlist_lookup_uint64(nvl, ZPOOL_CONFIG_GUID, &vdev_guid) == 0 && in zfs_agent_iter_vdev()
H A Dzfs_retire.c110 if (nvlist_lookup_uint64(nv, ZPOOL_CONFIG_GUID, &guid) == 0 && in find_vdev()
173 if (nvlist_lookup_uint64(spares[i], ZPOOL_CONFIG_GUID, in remove_spares()
H A Dzfs_mod.c248 (void) nvlist_lookup_uint64(vdev, ZPOOL_CONFIG_GUID, &guid); in zfs_process_add()
650 (void) nvlist_lookup_uint64(nvl, ZPOOL_CONFIG_GUID, &guid); in zfs_iter_vdev()
H A Dzfs_diagnosis.c255 (void) nvlist_lookup_uint64(vd, ZPOOL_CONFIG_GUID, &vdev_guid); in zfs_mark_vdev()
/freebsd/usr.sbin/makefs/
H A Dzfs.c307 nvlist_add_uint64(poolnv, ZPOOL_CONFIG_GUID, zfs->vdevguid); in pool_config_nvcreate()
328 nvlist_add_uint64(diskvdevnv, ZPOOL_CONFIG_GUID, zfs->vdevguid); in pool_disk_vdev_config_nvcreate()
350 nvlist_add_uint64(rootvdevnv, ZPOOL_CONFIG_GUID, zfs->poolguid); in pool_root_vdev_config_nvcreate()
/freebsd/cddl/usr.sbin/zfsd/
H A Dvdev.cc97 if (nvlist_lookup_uint64(m_config, ZPOOL_CONFIG_GUID, &guid) != 0) in VdevLookupGuid()
/freebsd/sys/contrib/openzfs/lib/libzfs/os/freebsd/
H A Dlibzfs_compat.c347 fnvlist_add_uint64(args, ZPOOL_CONFIG_GUID, dev_guid); in zpool_nextboot()
/freebsd/sys/contrib/openzfs/cmd/zinject/
H A Dtranslate.c359 verify(nvlist_lookup_uint64(tgt, ZPOOL_CONFIG_GUID, in translate_device()
/freebsd/sys/contrib/openzfs/module/zfs/
H A Dspa_config.c480 fnvlist_add_uint64(config, ZPOOL_CONFIG_GUID, in spa_config_generate()
H A Dvdev_label.c469 fnvlist_add_uint64(nv, ZPOOL_CONFIG_GUID, vd->vdev_guid); in vdev_config_generate()
913 nvlist_lookup_uint64(label, ZPOOL_CONFIG_GUID, in vdev_inuse()
1031 fnvlist_add_uint64(label, ZPOOL_CONFIG_GUID, vd->vdev_guid); in vdev_aux_label_generate()
H A Dvdev.c788 if (nvlist_lookup_uint64(nv, ZPOOL_CONFIG_GUID, &guid) != 0) in vdev_alloc()
791 if (nvlist_lookup_uint64(nv, ZPOOL_CONFIG_GUID, &guid) != 0) in vdev_alloc()
794 if (nvlist_lookup_uint64(nv, ZPOOL_CONFIG_GUID, &guid) != 0) in vdev_alloc()
797 if (nvlist_lookup_uint64(nv, ZPOOL_CONFIG_GUID, &guid) != 0) in vdev_alloc()
2434 if (nvlist_lookup_uint64(label, ZPOOL_CONFIG_GUID, &guid) != 0) { in vdev_validate()
2439 ZPOOL_CONFIG_GUID); in vdev_validate()
3954 nvlist_lookup_uint64(label, ZPOOL_CONFIG_GUID, &guid) != 0 || in vdev_validate_aux()
H A Dspa.c2381 guid = fnvlist_lookup_uint64(l2cache[i], ZPOOL_CONFIG_GUID); in spa_load_l2cache()
5989 ZPOOL_CONFIG_GUID);
6038 ZPOOL_CONFIG_GUID);
6272 fnvlist_add_uint64(dev[i], ZPOOL_CONFIG_GUID,
8418 if (nvlist_lookup_uint64(child[c], ZPOOL_CONFIG_GUID,
10520 if (nvlist_lookup_uint64(sav->sav_pending[i], ZPOOL_CONFIG_GUID,
/freebsd/sys/contrib/openzfs/cmd/zpool/
H A Dzpool_vdev.c244 verify(nvlist_lookup_uint64(label, ZPOOL_CONFIG_GUID, &guid) == 0); in is_spare()
253 ZPOOL_CONFIG_GUID, &spareguid) == 0); in is_spare()
/freebsd/sys/contrib/openzfs/lib/libzutil/os/linux/
H A Dzutil_import_os.c156 error = nvlist_lookup_uint64(config, ZPOOL_CONFIG_GUID, &vdev_guid); in zpool_open_func()
/freebsd/stand/libsa/zfs/
H A Dzfsimpl.c1133 rc = nvlist_find(kids[i], ZPOOL_CONFIG_GUID, in vdev_from_nvlist()
1249 rc = nvlist_find(kids[i], ZPOOL_CONFIG_GUID, in vdev_update_from_nvlist()
1309 rc = nvlist_find(kids[i], ZPOOL_CONFIG_GUID, DATA_TYPE_UINT64, in vdev_init_from_nvlist()
2112 if (nvlist_find(nvl, ZPOOL_CONFIG_GUID, DATA_TYPE_UINT64, in vdev_probe()
/freebsd/sys/contrib/openzfs/cmd/
H A Dzhack.c771 ZPOOL_CONFIG_POOL_STATE, ZPOOL_CONFIG_GUID }; in zhack_repair_one_label()
/freebsd/sys/contrib/openzfs/include/sys/fs/
H A Dzfs.h732 #define ZPOOL_CONFIG_GUID "guid" macro
/freebsd/sys/cddl/boot/zfs/
H A Dzfsimpl.h804 #define ZPOOL_CONFIG_GUID "guid" macro

12