Home
last modified time | relevance | path

Searched refs:spa_guid (Results 1 – 14 of 14) sorted by relevance

/freebsd/sys/contrib/openzfs/module/os/freebsd/zfs/
H A Dvdev_geom.c679 if (pool_guid != 0 && pool_guid != spa_guid(vd->vdev_spa)) { in vdev_attach_ok()
682 (uintmax_t)spa_guid(vd->vdev_spa), (uintmax_t)pool_guid); in vdev_attach_ok()
762 (uintmax_t)spa_guid(vd->vdev_spa), (uintmax_t)vd->vdev_guid); in vdev_geom_open_by_guids()
773 (uintmax_t)spa_guid(vd->vdev_spa), in vdev_geom_open_by_guids()
777 (uintmax_t)spa_guid(vd->vdev_spa), in vdev_geom_open_by_guids()
/freebsd/stand/libsa/zfs/
H A Dzfs.c746 *pool_guid = spa->spa_guid; in zfs_probe()
1557 if (spa->spa_guid == mount->spa->spa_guid) in zfs_dev_open()
1582 if (mnt->spa->spa_guid == mount->spa->spa_guid) in zfs_dev_close()
1649 dev->pool_guid = spa->spa_guid; in zfs_parsedev()
1680 dev->pool_guid = spa->spa_guid; in zfs_fmtdev()
H A Dzfsimpl.c1288 if (spa->spa_guid != pool_guid) { in vdev_init_from_nvlist()
1344 if (spa->spa_guid == guid) in spa_find_by_guid()
1375 spa->spa_guid = guid; in spa_create()
/freebsd/sys/contrib/openzfs/module/zfs/
H A Dspa_misc.c1060 } else if (aux->aux_pool == spa_guid(vd->vdev_spa)) { in spa_aux_remove()
1101 found->aux_pool = spa_guid(vd->vdev_spa); in spa_aux_activate()
1521 if (spa_guid(spa) == pool_guid) { in spa_by_guid()
1580 } while (guid == 0 || spa_guid_exists(spa_guid(spa), guid)); in spa_generate_guid()
1751 spa_guid(spa_t *spa) in spa_guid() function
2364 uint64_t pool_guid = spa_guid(spa); in spa_import_progress_set_notes_impl()
2471 sip->pool_guid = spa_guid(spa); in spa_import_progress_add()
3047 EXPORT_SYMBOL(spa_guid);
H A Dzfs_fm.c302 pool_guid = spa_guid(spa); in zfs_ereport_clear()
357 search.re_pool_guid = spa_guid(spa); in zfs_ereport_is_duplicate()
516 fm_fmri_zfs_set(detector, FM_ZFS_SCHEME_VERSION, spa_guid(spa), in zfs_ereport_start()
531 FM_EREPORT_PAYLOAD_ZFS_POOL_GUID, DATA_TYPE_UINT64, spa_guid(spa), in zfs_ereport_start()
1374 FM_EREPORT_PAYLOAD_ZFS_POOL_GUID, spa_guid(spa))); in zfs_event_create()
H A Dspa.c494 spa_prop_add_list(nv, ZPOOL_PROP_GUID, NULL, spa_guid(spa), src); in spa_prop_get_config()
998 ASSERT3U(spa_guid(spa), !=, *newguid); in spa_change_guid_check()
1011 oldguid = spa_guid(spa); in spa_change_guid_sync()
2052 spa_import_progress_remove(spa_guid(spa)); in spa_unload()
3433 (void) spa_import_progress_set_state(spa_guid(spa), in spa_load()
3459 (void) spa_import_progress_set_state(spa_guid(spa), in spa_load()
3721 (void) spa_import_progress_set_mmp_check(spa_guid(spa), in spa_activity_check()
3999 ASSERT(spa_guid(spa) == pool_guid);
4157 (void) spa_import_progress_set_max_txg(spa_guid(spa),
5636 spa_import_progress_remove(spa_guid(spa));
[all …]
H A Dspa_config.c461 fnvlist_add_uint64(config, ZPOOL_CONFIG_POOL_GUID, spa_guid(spa)); in spa_config_generate()
H A Dspa_stats.c826 (void) snprintf(buf, size, "%llu\n", (u_longlong_t)spa_guid(spa)); in spa_guid_data()
H A Dvdev.c666 ASSERT(!spa_guid_exists(spa_guid(spa), guid)); in vdev_alloc_common()
2393 &aux_guid) == 0 && aux_guid == spa_guid(spa)) { in vdev_validate()
2417 if (spa->spa_trust_config && guid != spa_guid(spa)) { in vdev_validate()
2423 (u_longlong_t)spa_guid(spa)); in vdev_validate()
H A Dvdev_draid.c2529 fnvlist_add_uint64(nv, ZPOOL_CONFIG_POOL_GUID, spa_guid(spa)); in vdev_draid_read_config_spare()
H A Darc.c8119 l2arc_write_eligible(uint64_t spa_guid, arc_buf_hdr_t *hdr) in l2arc_write_eligible() argument
8128 if (hdr->b_spa != spa_guid || HDR_HAS_L2HDR(hdr) || in l2arc_write_eligible()
10102 guid = spa_guid(dev->l2ad_vdev->vdev_spa); in l2arc_dev_hdr_read()
10466 l2dhdr->dh_spa_guid = spa_guid(dev->l2ad_vdev->vdev_spa); in l2arc_dev_hdr_update()
/freebsd/sys/contrib/openzfs/include/sys/
H A Dspa.h988 extern void spa_import_progress_remove(uint64_t spa_guid);
1047 extern uint64_t spa_guid(spa_t *spa);
/freebsd/sys/contrib/openzfs/cmd/
H A Dztest.c6793 orig = spa_guid(spa); in ztest_reguid()
6798 zs->zs_guid = spa_guid(spa); in ztest_reguid()
6806 orig, spa_guid(spa)); in ztest_reguid()
6809 VERIFY3U(orig, !=, spa_guid(spa)); in ztest_reguid()
7459 pool_guid = spa_guid(spa); in ztest_spa_import_export()
7509 ASSERT3U(pool_guid, ==, spa_guid(spa)); in ztest_spa_import_export()
8047 zs->zs_guid = spa_guid(spa); in ztest_import()
8681 zs->zs_guid = spa_guid(spa); in ztest_init()
/freebsd/sys/cddl/boot/zfs/
H A Dzfsimpl.h2050 uint64_t spa_guid; /* pool guid */ member