Lines Matching refs:guid
235 uint64_t guid; in fix_paths() local
259 verify(nvlist_lookup_uint64(nv, ZPOOL_CONFIG_GUID, &guid) == 0); in fix_paths()
265 if (ne->ne_guid == guid) { in fix_paths()
445 zutil_pool_active(libpc_handle_t *hdl, const char *name, uint64_t guid, in zutil_pool_active() argument
451 guid, isactive); in zutil_pool_active()
502 uint64_t guid; in get_configs() local
602 guid = fnvlist_lookup_uint64(tmp, in get_configs()
605 ZPOOL_CONFIG_POOL_GUID, guid); in get_configs()
700 &guid) == 0); in get_configs()
775 nvlist_add_uint64(nvroot, ZPOOL_CONFIG_GUID, guid) != 0 || in get_configs()
821 &guid) == 0); in get_configs()
823 if (zutil_pool_active(hdl, name, guid, &isactive) != 0) in get_configs()
951 uint64_t state, guid, txg; in zpool_read_label_slow() local
963 &guid) != 0 || guid == 0) { in zpool_read_label_slow()
982 if (expected_guid == guid) in zpool_read_label_slow()
988 expected_guid = guid; in zpool_read_label_slow()
1100 uint64_t state, guid, txg; in zpool_read_label()
1110 &guid) != 0 || guid == 0) { in zpool_read_label()
1129 if (expected_guid == guid) in zpool_read_label()
1135 expected_guid = guid; in zpool_read_label()
1181 uint64_t guid; in label_paths_impl() local
1199 error = nvlist_lookup_uint64(nvroot, ZPOOL_CONFIG_GUID, &guid); in label_paths_impl()
1200 if ((error != 0) || (guid != vdev_guid)) in label_paths_impl()
1462 verify(iarg->poolname == NULL || iarg->guid == 0); in zpool_find_import_impl()
1508 if (iarg->poolname != NULL || iarg->guid != 0) { in zpool_find_import_impl()
1522 } else if (iarg->guid != 0 && !aux) { in zpool_find_import_impl()
1527 iarg->guid == this_guid; in zpool_find_import_impl()
1645 verify(iarg->poolname == NULL || iarg->guid == 0); in zpool_find_import_cached()
1705 if (iarg->guid != 0 && iarg->guid != this_guid) in zpool_find_import_cached()
1718 uint64_t saved_guid = iarg->guid; in zpool_find_import_cached()
1740 iarg->guid = this_guid; in zpool_find_import_cached()
1774 iarg->guid = saved_guid; in zpool_find_import_cached()
1815 verify(iarg->poolname == NULL || iarg->guid == 0); in zpool_find_import()
1854 verify(import->poolname == NULL || import->guid == 0); in zpool_search_import()
1873 uint64_t v, guid = strtoull(tgt, NULL, 0); in pool_match() local
1876 if (guid != 0) { in pool_match()
1878 return (v == guid); in pool_match()