Lines Matching defs:device_guid
525 uint64_t state, pool_guid, device_guid, txg, spare_pool;
546 &device_guid) != 0) {
568 !spa_guid_exists(pool_guid, device_guid) &&
569 !spa_spare_exists(device_guid, NULL, NULL) &&
570 !spa_l2cache_exists(device_guid, NULL))
589 if (spa_spare_exists(device_guid, &spare_pool, NULL) ||
590 spa_has_spare(spa, device_guid)) {
592 *spare_guid = device_guid;
600 return (!spa_has_spare(spa, device_guid) ||
604 return (spa_has_spare(spa, device_guid));
611 if (spa_l2cache_exists(device_guid, NULL))
620 (spa = spa_by_guid(pool_guid, device_guid)) != NULL &&