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

/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dvdev_label.c519 uint64_t state, pool_guid, device_guid, txg, spare_pool; local
540 &device_guid) != 0) {
562 !spa_guid_exists(pool_guid, device_guid) &&
563 !spa_spare_exists(device_guid, NULL, NULL) &&
564 !spa_l2cache_exists(device_guid, NULL))
583 if (spa_spare_exists(device_guid, &spare_pool, NULL) ||
584 spa_has_spare(spa, device_guid)) {
586 *spare_guid = device_guid;
594 return (!spa_has_spare(spa, device_guid) ||
598 return (spa_has_spare(spa, device_guid));
[all...]
H A Dspa_misc.c1329 * device_guid is non-zero, determine whether the pool exists *and* contains
1330 * a device with the specified device_guid.
1333 spa_by_guid(uint64_t pool_guid, uint64_t device_guid) argument
1346 if (device_guid == 0)
1350 device_guid) != NULL)
1358 device_guid) != NULL)
1371 spa_guid_exists(uint64_t pool_guid, uint64_t device_guid) argument
1373 return (spa_by_guid(pool_guid, device_guid) != NULL);

Completed in 49 milliseconds