Lines Matching refs:avail_spare

1931  * 'avail_spare' is set to TRUE if the provided guid refers to an AVAIL
1935 vdev_to_nvlist_iter(nvlist_t *nv, nvlist_t *search, boolean_t *avail_spare,
2086 avail_spare, l2cache, NULL)) != NULL) {
2107 avail_spare, l2cache, NULL)) != NULL) {
2108 *avail_spare = B_TRUE;
2118 avail_spare, l2cache, NULL)) != NULL) {
2134 boolean_t *avail_spare, boolean_t *l2cache, boolean_t *log)
2144 *avail_spare = B_FALSE;
2148 ret = vdev_to_nvlist_iter(nvroot, search, avail_spare, l2cache, log);
2167 zpool_find_vdev(zpool_handle_t *zhp, const char *path, boolean_t *avail_spare,
2192 *avail_spare = B_FALSE;
2196 ret = vdev_to_nvlist_iter(nvroot, search, avail_spare, l2cache, log);
2403 boolean_t avail_spare, l2cache, islog;
2415 if ((tgt = zpool_find_vdev(zhp, path, &avail_spare, &l2cache,
2421 if (avail_spare)
2475 boolean_t avail_spare, l2cache;
2482 if ((tgt = zpool_find_vdev(zhp, path, &avail_spare, &l2cache,
2488 if (avail_spare)
2615 boolean_t avail_spare, l2cache, islog;
2642 if ((tgt = zpool_find_vdev(zhp, old_disk, &avail_spare, &l2cache,
2646 if (avail_spare)
2674 (zpool_find_vdev(zhp, newname, &avail_spare, &l2cache,
2675 NULL) == NULL || !avail_spare) &&
2798 boolean_t avail_spare, l2cache;
2805 if ((tgt = zpool_find_vdev(zhp, path, &avail_spare, &l2cache,
2809 if (avail_spare)
3107 boolean_t avail_spare, l2cache, islog;
3115 if ((tgt = zpool_find_vdev(zhp, path, &avail_spare, &l2cache,
3121 if (!avail_spare && !l2cache && !islog) {
3153 boolean_t avail_spare, l2cache;
3169 if ((tgt = zpool_find_vdev(zhp, path, &avail_spare,
3177 if (avail_spare)