Lines Matching defs:guid

36  * 	pool guid -> toplevel vdev guid -> label txg
132 uint64_t guid;
147 * the name list and see if we find a matching guid. If so, replace
150 * There may be multiple names associated with a particular guid, in
158 verify(nvlist_lookup_uint64(nv, ZPOOL_CONFIG_GUID, &guid) == 0);
165 if (ne->ne_guid == guid) {
329 * known configs. The last thing to do is add the vdev guid -> path
352 pool_active(libzfs_handle_t *hdl, const char *name, uint64_t guid,
371 *isactive = (theguid == guid);
447 uint64_t guid;
533 * pool guid
547 guid = fnvlist_lookup_uint64(tmp,
550 ZPOOL_CONFIG_POOL_GUID, guid);
638 &guid) == 0);
713 nvlist_add_uint64(nvroot, ZPOOL_CONFIG_GUID, guid) != 0 ||
759 &guid) == 0);
761 if (pool_active(hdl, name, guid, &isactive) != 0)
1120 * poolname or guid (but not both) are provided by the caller when trying
1242 } else if (iarg->guid != 0) {
1248 iarg->guid == this_guid;
1313 * poolname or guid (but not both) are provided by the caller when trying
1318 char *poolname, uint64_t guid)
1330 verify(poolname == NULL || guid == 0);
1392 if (guid != 0 && guid != this_guid)
1442 if (pool_guid == import->guid)
1453 verify(import->poolname == NULL || import->guid == 0);
1460 import->poolname, import->guid));
1466 find_guid(nvlist_t *nv, uint64_t guid)
1473 if (tmp == guid)
1479 if (find_guid(child[c], guid))
1498 uint64_t guid;
1508 ZPOOL_CONFIG_GUID, &guid) == 0);
1509 if (guid == cbp->cb_guid) {
1532 uint64_t guid, vdev_guid;
1558 &guid) == 0);
1569 if (pool_active(hdl, name, guid, &isactive) == 0 && isactive &&
1588 * and the guid will be the same), or whether it's part of an
1592 if (pool_active(hdl, name, guid, &isactive) != 0) {
1641 * with a matching guid.