Searched defs:device_guid (Results 1 - 2 of 2) sorted by relevance

/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dvdev_label.c663 uint64_t state, pool_guid, device_guid, txg, spare_pool; local
684 &device_guid) != 0) {
706 !spa_guid_exists(pool_guid, device_guid) &&
707 !spa_spare_exists(device_guid, NULL, NULL) &&
708 !spa_l2cache_exists(device_guid, NULL))
727 if (spa_spare_exists(device_guid, &spare_pool, NULL) ||
728 spa_has_spare(spa, device_guid)) {
730 *spare_guid = device_guid;
738 return (!spa_has_spare(spa, device_guid) ||
742 return (spa_has_spare(spa, device_guid));
[all...]
H A Dspa_misc.c1387 * device_guid is non-zero, determine whether the pool exists *and* contains
1388 * a device with the specified device_guid.
1391 spa_by_guid(uint64_t pool_guid, uint64_t device_guid) argument
1404 if (device_guid == 0)
1408 device_guid) != NULL)
1416 device_guid) != NULL)
1429 spa_guid_exists(uint64_t pool_guid, uint64_t device_guid) argument
1431 return (spa_by_guid(pool_guid, device_guid) != NULL);

Completed in 143 milliseconds