Lines Matching defs:guid

32  * 	pool guid -> toplevel vdev guid -> label txg
129 uint64_t guid;
144 * the name list and see if we find a matching guid. If so, replace
147 * There may be multiple names associated with a particular guid, in
155 verify(nvlist_lookup_uint64(nv, ZPOOL_CONFIG_GUID, &guid) == 0);
162 if (ne->ne_guid == guid) {
324 * known configs. The last thing to do is add the vdev guid -> path
347 pool_active(libzfs_handle_t *hdl, const char *name, uint64_t guid,
366 *isactive = (theguid == guid);
444 uint64_t version, guid;
530 * pool guid
544 ZPOOL_CONFIG_POOL_GUID, &guid) == 0);
546 ZPOOL_CONFIG_POOL_GUID, guid) != 0)
634 &guid) == 0);
707 nvlist_add_uint64(nvroot, ZPOOL_CONFIG_GUID, guid) != 0 ||
753 &guid) == 0);
755 if (pool_active(hdl, name, guid, &isactive) != 0)
1277 * (/dev/rdsk) is searched. poolname or guid (but not both) are
1452 } else if (iarg->guid != 0) {
1458 iarg->guid == this_guid;
1585 * poolname or guid (but not both) are provided by the caller when trying
1593 char *poolname, uint64_t guid, boolean_t trusted, boolean_t validate)
1602 verify(poolname == NULL || guid == 0);
1628 if (guid != 0 && guid != src_guid)
1686 char *name, uint64_t guid)
1688 return (zpool_find_import_cached_impl(hdl, cache, name, guid, B_TRUE,
1710 if (pool_guid == import->guid)
1721 verify(import->poolname == NULL || import->guid == 0);
1730 import->poolname, import->guid, import->trust_cache,
1750 uint64_t guid, const char *cachefile, boolean_t cachefile_trusted,
1757 poolname, guid, cachefile_trusted, B_TRUE));
1761 iarg.guid = guid;
1769 find_guid(nvlist_t *nv, uint64_t guid)
1776 if (tmp == guid)
1782 if (find_guid(child[c], guid))
1801 uint64_t guid;
1811 ZPOOL_CONFIG_GUID, &guid) == 0);
1812 if (guid == cbp->cb_guid) {
1835 uint64_t guid, vdev_guid;
1861 &guid) == 0);
1872 if (pool_active(hdl, name, guid, &isactive) == 0 && isactive &&
1884 * and the guid will be the same), or whether it's part of an
1888 if (pool_active(hdl, name, guid, &isactive) != 0) {
1937 * with a matching guid.