Lines Matching defs:guid
130 * spa_guid_exists() Determine whether a pool/device guid exists.
902 spa_aux_exists(uint64_t guid, uint64_t *pool, int *refcnt, avl_tree_t *avl)
906 search.aux_guid = guid;
989 spa_spare_exists(uint64_t guid, uint64_t *pool, int *refcnt)
994 found = spa_aux_exists(guid, pool, refcnt, &spa_spare_avl);
1042 spa_l2cache_exists(uint64_t guid, uint64_t *pool)
1047 found = spa_aux_exists(guid, pool, NULL, &spa_l2cache_avl);
1411 uint64_t guid = spa_get_random(-1ULL);
1414 while (guid == 0 || spa_guid_exists(spa_guid(spa), guid))
1415 guid = spa_get_random(-1ULL);
1417 while (guid == 0 || spa_guid_exists(guid, 0))
1418 guid = spa_get_random(-1ULL);
1421 return (guid);
1571 uint64_t guid;
1576 * vdev. We stash the original pool guid in 'spa_config_guid' to handle
1582 guid = spa->spa_last_synced_guid != 0 ?
1586 * Return the most recently synced out guid unless we're
1592 return (guid);