Searched refs:device_guid (Results 1 - 3 of 3) sorted by relevance
/freebsd-12-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/ |
H A D | vdev_label.c | 663 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 D | spa_misc.c | 1487 * device_guid is non-zero, determine whether the pool exists *and* contains 1488 * a device with the specified device_guid. 1491 spa_by_guid(uint64_t pool_guid, uint64_t device_guid) argument 1504 if (device_guid == 0) 1508 device_guid) != NULL) 1516 device_guid) != NULL) 1529 spa_guid_exists(uint64_t pool_guid, uint64_t device_guid) argument 1531 return (spa_by_guid(pool_guid, device_guid) != NULL);
|
/freebsd-12-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/ |
H A D | spa.h | 851 extern spa_t *spa_by_guid(uint64_t pool_guid, uint64_t device_guid); 852 extern boolean_t spa_guid_exists(uint64_t pool_guid, uint64_t device_guid);
|
Completed in 119 milliseconds