Lines Matching defs:nl2cache
1510 uint_t nl2cache;
1520 ZPOOL_CONFIG_L2CACHE, &l2cache, &nl2cache) == 0);
1521 newvdevs = kmem_alloc(nl2cache * sizeof (void *), KM_SLEEP);
1523 nl2cache = 0;
1535 for (i = 0; i < nl2cache; i++) {
1607 sav->sav_count = (int)nl2cache;
3249 uint_t i, j, nl2cache;
3264 ZPOOL_CONFIG_L2CACHE, &l2cache, &nl2cache) == 0);
3265 if (nl2cache != 0) {
3267 ZPOOL_CONFIG_L2CACHE, l2cache, nl2cache) == 0);
3269 ZPOOL_CONFIG_L2CACHE, &l2cache, &nl2cache) == 0);
3275 for (i = 0; i < nl2cache; i++) {
3599 uint_t nspares, nl2cache;
3725 &l2cache, &nl2cache) == 0) {
3729 ZPOOL_CONFIG_L2CACHE, l2cache, nl2cache) == 0);
4278 uint_t nspares, nl2cache;
4405 &l2cache, &nl2cache) == 0) {
4413 ZPOOL_CONFIG_L2CACHE, l2cache, nl2cache) == 0);
4706 uint_t nspares, nl2cache;
4723 &nl2cache) != 0)
4724 nl2cache = 0;
4726 if (vd->vdev_children == 0 && nspares == 0 && nl2cache == 0)
4768 if (nl2cache != 0) {
4769 spa_set_aux_vdevs(&spa->spa_l2cache, l2cache, nl2cache,
5684 uint_t nspares, nl2cache;
5716 ZPOOL_CONFIG_L2CACHE, &l2cache, &nl2cache) == 0 &&
5717 (nv = spa_nvlist_lookup_by_guid(l2cache, nl2cache, guid)) != NULL) {
5724 ZPOOL_CONFIG_L2CACHE, l2cache, nl2cache, nv);