Lines Matching defs:l2cache
1800 nvlist_t **spares, **l2cache;
1818 &l2cache, &nl2cache) == 0) {
2881 boolean_t *l2cache, boolean_t *log, boolean_t return_parent)
3035 avail_spare, l2cache, NULL, return_parent)) != NULL) {
3056 avail_spare, l2cache, NULL, return_parent))
3069 avail_spare, l2cache, NULL, return_parent))
3071 *l2cache = B_TRUE;
3086 boolean_t *avail_spare, boolean_t *l2cache, boolean_t *log)
3105 *l2cache = B_FALSE;
3108 ret = vdev_to_nvlist_iter(nvroot, search, avail_spare, l2cache, log,
3142 boolean_t *l2cache, boolean_t *log, boolean_t return_parent)
3164 * User can pass NULL for avail_spare, l2cache, and log, but
3170 if (!l2cache)
3171 l2cache = &__l2cache;
3176 *l2cache = B_FALSE;
3179 ret = vdev_to_nvlist_iter(nvroot, search, avail_spare, l2cache, log,
3188 boolean_t *l2cache, boolean_t *log)
3190 return (__zpool_find_vdev(zhp, path, avail_spare, l2cache, log,
3197 boolean_t *avail_spare, boolean_t *l2cache, boolean_t *log)
3199 return (__zpool_find_vdev(zhp, path, avail_spare, l2cache, log,
3207 * if the VDEV is a spare, l2cache, or log device. If they're NULL then
3214 boolean_t spare = B_FALSE, l2cache = B_FALSE, log = B_FALSE;
3217 if ((tgt = zpool_find_vdev(zhp, path, &spare, &l2cache,
3224 *is_l2cache = l2cache;
3249 boolean_t avail_spare, l2cache, islog;
3261 if ((tgt = zpool_find_vdev(zhp, path, &avail_spare, &l2cache,
3283 if (l2cache) {
3337 boolean_t avail_spare, l2cache;
3344 if ((tgt = zpool_find_vdev(zhp, path, &avail_spare, &l2cache,
3391 boolean_t avail_spare, l2cache;
3398 if ((tgt = zpool_find_vdev(zhp, path, &avail_spare, &l2cache,
3533 boolean_t avail_spare, l2cache, islog;
3550 if ((tgt = zpool_find_vdev(zhp, old_disk, &avail_spare, &l2cache,
3557 if (l2cache)
3598 (zpool_find_vdev(zhp, newname, &avail_spare, &l2cache,
3761 boolean_t avail_spare, l2cache;
3768 if ((tgt = zpool_find_vdev(zhp, path, &avail_spare, &l2cache,
3775 if (l2cache)
4100 boolean_t avail_spare, l2cache, islog;
4114 if ((tgt = zpool_find_vdev(zhp, path, &avail_spare, &l2cache,
4197 boolean_t avail_spare, l2cache, islog;
4204 if ((tgt = zpool_find_vdev(zhp, path, &avail_spare, &l2cache,
4208 if (avail_spare || l2cache || islog) {
4231 boolean_t avail_spare, l2cache;
4248 &l2cache, NULL)) == NULL)
4253 * error clearing for l2cache devices.
5301 boolean_t avail_spare, l2cache;
5311 if ((tgt = zpool_find_vdev(zhp, vdevname, &avail_spare, &l2cache,