/freebsd/sys/contrib/openzfs/module/os/freebsd/zfs/ |
H A D | spa_os.c | 132 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 D | zfs_ioctl_os.c | 71 { ZPOOL_CONFIG_GUID, DATA_TYPE_UINT64, 0} 105 ZPOOL_CONFIG_GUID, &vdev_guid) != 0) in zfs_ioc_nextboot()
|
H A D | vdev_geom.c | 673 (void) nvlist_lookup_uint64(config, ZPOOL_CONFIG_GUID, &vdev_guid); in vdev_attach_ok()
|
/freebsd/cddl/usr.sbin/zfsd/tests/ |
H A D | zfsd_unittest.cc | 220 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 D | libzfs_import.c | 168 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 D | libzfs_pool.c | 165 (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 D | zutil_import.c | 259 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 D | zfs_agents.c | 125 (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 D | zfs_retire.c | 110 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 D | zfs_mod.c | 248 (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 D | zfs_diagnosis.c | 255 (void) nvlist_lookup_uint64(vd, ZPOOL_CONFIG_GUID, &vdev_guid); in zfs_mark_vdev()
|
/freebsd/usr.sbin/makefs/ |
H A D | zfs.c | 307 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 D | vdev.cc | 97 if (nvlist_lookup_uint64(m_config, ZPOOL_CONFIG_GUID, &guid) != 0) in VdevLookupGuid()
|
/freebsd/sys/contrib/openzfs/lib/libzfs/os/freebsd/ |
H A D | libzfs_compat.c | 347 fnvlist_add_uint64(args, ZPOOL_CONFIG_GUID, dev_guid); in zpool_nextboot()
|
/freebsd/sys/contrib/openzfs/cmd/zinject/ |
H A D | translate.c | 359 verify(nvlist_lookup_uint64(tgt, ZPOOL_CONFIG_GUID, in translate_device()
|
/freebsd/sys/contrib/openzfs/module/zfs/ |
H A D | spa_config.c | 480 fnvlist_add_uint64(config, ZPOOL_CONFIG_GUID, in spa_config_generate()
|
H A D | vdev_label.c | 469 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 D | vdev.c | 788 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 D | spa.c | 2381 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 D | zpool_vdev.c | 244 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 D | zutil_import_os.c | 156 error = nvlist_lookup_uint64(config, ZPOOL_CONFIG_GUID, &vdev_guid); in zpool_open_func()
|
/freebsd/stand/libsa/zfs/ |
H A D | zfsimpl.c | 1133 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 D | zhack.c | 771 ZPOOL_CONFIG_POOL_STATE, ZPOOL_CONFIG_GUID }; in zhack_repair_one_label()
|
/freebsd/sys/contrib/openzfs/include/sys/fs/ |
H A D | zfs.h | 732 #define ZPOOL_CONFIG_GUID "guid" macro
|
/freebsd/sys/cddl/boot/zfs/ |
H A D | zfsimpl.h | 804 #define ZPOOL_CONFIG_GUID "guid" macro
|