Lines Matching defs:avail_spare

1923  * 'avail_spare' is set to TRUE if the provided guid refers to an AVAIL
1927 vdev_to_nvlist_iter(nvlist_t *nv, nvlist_t *search, boolean_t *avail_spare,
2078 avail_spare, l2cache, NULL)) != NULL) {
2099 avail_spare, l2cache, NULL)) != NULL) {
2100 *avail_spare = B_TRUE;
2110 avail_spare, l2cache, NULL)) != NULL) {
2126 boolean_t *avail_spare, boolean_t *l2cache, boolean_t *log)
2136 *avail_spare = B_FALSE;
2140 ret = vdev_to_nvlist_iter(nvroot, search, avail_spare, l2cache, log);
2159 zpool_find_vdev(zpool_handle_t *zhp, const char *path, boolean_t *avail_spare,
2185 *avail_spare = B_FALSE;
2189 ret = vdev_to_nvlist_iter(nvroot, search, avail_spare, l2cache, log);
2393 boolean_t avail_spare, l2cache, islog;
2405 if ((tgt = zpool_find_vdev(zhp, path, &avail_spare, &l2cache,
2411 if (avail_spare)
2465 boolean_t avail_spare, l2cache;
2472 if ((tgt = zpool_find_vdev(zhp, path, &avail_spare, &l2cache,
2478 if (avail_spare)
2605 boolean_t avail_spare, l2cache, islog;
2622 if ((tgt = zpool_find_vdev(zhp, old_disk, &avail_spare, &l2cache,
2626 if (avail_spare)
2654 (zpool_find_vdev(zhp, newname, &avail_spare, &l2cache,
2655 NULL) == NULL || !avail_spare) &&
2768 boolean_t avail_spare, l2cache;
2775 if ((tgt = zpool_find_vdev(zhp, path, &avail_spare, &l2cache,
2779 if (avail_spare)
3074 boolean_t avail_spare, l2cache, islog;
3082 if ((tgt = zpool_find_vdev(zhp, path, &avail_spare, &l2cache,
3088 if (!avail_spare && !l2cache && !islog) {
3120 boolean_t avail_spare, l2cache;
3136 if ((tgt = zpool_find_vdev(zhp, path, &avail_spare,
3144 if (avail_spare)