Lines Matching refs:guid
47 pool_active(libzfs_handle_t *hdl, const char *name, uint64_t guid,
65 *isactive = (theguid == guid);
107 pool_active_libzfs(void *handle, const char *name, uint64_t guid,
110 return (pool_active((libzfs_handle_t *)handle, name, guid, isactive));
153 uint64_t state, guid, l2cache;
166 /* Skip labels which do not have a valid guid. */
168 &guid) != 0 || guid == 0) {
223 find_guid(nvlist_t *nv, uint64_t guid)
228 if (fnvlist_lookup_uint64(nv, ZPOOL_CONFIG_GUID) == guid)
234 if (find_guid(child[c], guid))
260 uint64_t guid = fnvlist_lookup_uint64(list[i],
262 if (guid == cbp->cb_guid) {
285 uint64_t guid = 0, vdev_guid;
305 guid = fnvlist_lookup_uint64(config, ZPOOL_CONFIG_POOL_GUID);
316 if (pool_active(hdl, name, guid, &isactive) == 0 && isactive &&
335 * and the guid will be the same), or whether it's part of an
339 if (pool_active(hdl, name, guid, &isactive) != 0) {
386 * with a matching guid.