Searched refs:pool_guid (Results 1 - 10 of 10) sorted by relevance

/netbsd-current/external/cddl/osnet/dist/uts/common/fs/zfs/
H A Dvdev_geom.c505 uint64_t pool_guid; local
515 if (nvlist_lookup_uint64(cfg, ZPOOL_CONFIG_POOL_GUID, &pool_guid) != 0)
530 if (pool_guid != *known_pool_guid)
533 *known_pool_guid = pool_guid;
561 uint64_t pool_guid; local
569 pool_guid = 0;
591 vdev_cfg, name, &pool_guid);
611 uint64_t pool_guid, top_guid, vdev_guid; local
630 pool_guid = 0;
631 (void) nvlist_lookup_uint64(config, ZPOOL_CONFIG_POOL_GUID, &pool_guid);
[all...]
H A Dvdev_label.c124 * pool_guid Unique identifier for this pool
525 uint64_t state, pool_guid, device_guid, txg, spare_pool; local
553 &pool_guid) != 0 ||
568 !spa_guid_exists(pool_guid, device_guid) &&
620 (spa = spa_by_guid(pool_guid, device_guid)) != NULL &&
H A Dspa_misc.c1504 * Return the spa_t associated with given pool_guid, if it exists. If
1509 spa_by_guid(uint64_t pool_guid, uint64_t device_guid) argument
1521 if (spa_guid(spa) == pool_guid) {
1544 * Determine whether a pool with the given pool_guid exists.
1547 spa_guid_exists(uint64_t pool_guid, uint64_t device_guid) argument
1549 return (spa_by_guid(pool_guid, device_guid) != NULL);
H A Dspa.c2203 uint64_t pool_guid; local
2206 if (nvlist_lookup_uint64(config, ZPOOL_CONFIG_POOL_GUID, &pool_guid))
2225 spa_guid_exists(pool_guid, 0)) {
2228 spa->spa_config_guid = pool_guid;
2240 error = spa_load_impl(spa, pool_guid, config, state, type,
2298 spa_load_impl(spa_t *spa, uint64_t pool_guid, nvlist_t *config, argument
2358 ASSERT(spa_guid(spa) == pool_guid);
H A Dzfs_ioctl.c3521 uint64_t pool_guid; local
3526 ZPOOL_CONFIG_POOL_GUID, &pool_guid) != 0)
3536 spa = spa_by_guid(pool_guid, vdev_guid);
/netbsd-current/external/cddl/osnet/dist/lib/libzfs/common/
H A Dlibzfs_import.c226 uint64_t pool_guid, vdev_guid, top_guid, txg, state; local
263 &pool_guid) != 0 ||
279 if (pe->pe_guid == pool_guid)
288 pe->pe_guid = pool_guid;
1549 uint64_t pool_guid; local
1552 ZPOOL_CONFIG_POOL_GUID, &pool_guid) == 0);
1553 if (pool_guid == import->guid)
H A Dlibzfs_pool.c4131 zpool_nextboot(libzfs_handle_t *hdl, uint64_t pool_guid, uint64_t dev_guid, argument
4141 fnvlist_add_uint64(args, ZPOOL_CONFIG_POOL_GUID, pool_guid);
/netbsd-current/external/cddl/osnet/dist/uts/common/fs/zfs/sys/
H A Dspa.h825 extern spa_t *spa_by_guid(uint64_t pool_guid, uint64_t device_guid);
826 extern boolean_t spa_guid_exists(uint64_t pool_guid, uint64_t device_guid);
/netbsd-current/external/cddl/osnet/dist/uts/common/os/
H A Dfm.c1118 fm_fmri_zfs_set(nvlist_t *fmri, int version, uint64_t pool_guid, argument
1136 if (nvlist_add_uint64(fmri, FM_FMRI_ZFS_POOL, pool_guid) != 0) {
/netbsd-current/external/cddl/osnet/dist/cmd/ztest/
H A Dztest.c5309 uint64_t pool_guid; local
5334 pool_guid = spa_guid(spa);
5384 ASSERT(pool_guid == spa_guid(spa));

Completed in 330 milliseconds