Lines Matching defs:nl2cache
1458 uint_t nl2cache;
1468 ZPOOL_CONFIG_L2CACHE, &l2cache, &nl2cache) == 0);
1469 newvdevs = kmem_alloc(nl2cache * sizeof (void *), KM_SLEEP);
1471 nl2cache = 0;
1483 for (i = 0; i < nl2cache; i++) {
1555 sav->sav_count = (int)nl2cache;
3256 uint_t i, j, nl2cache;
3271 ZPOOL_CONFIG_L2CACHE, &l2cache, &nl2cache) == 0);
3272 if (nl2cache != 0) {
3274 ZPOOL_CONFIG_L2CACHE, l2cache, nl2cache) == 0);
3276 ZPOOL_CONFIG_L2CACHE, &l2cache, &nl2cache) == 0);
3282 for (i = 0; i < nl2cache; i++) {
3601 uint_t nspares, nl2cache;
3711 &l2cache, &nl2cache) == 0) {
3715 ZPOOL_CONFIG_L2CACHE, l2cache, nl2cache) == 0);
4056 uint_t nspares, nl2cache;
4183 &l2cache, &nl2cache) == 0) {
4191 ZPOOL_CONFIG_L2CACHE, l2cache, nl2cache) == 0);
4479 uint_t nspares, nl2cache;
4496 &nl2cache) != 0)
4497 nl2cache = 0;
4499 if (vd->vdev_children == 0 && nspares == 0 && nl2cache == 0)
4541 if (nl2cache != 0) {
4542 spa_set_aux_vdevs(&spa->spa_l2cache, l2cache, nl2cache,
5464 uint_t nspares, nl2cache;
5496 ZPOOL_CONFIG_L2CACHE, &l2cache, &nl2cache) == 0 &&
5497 (nv = spa_nvlist_lookup_by_guid(l2cache, nl2cache, guid)) != NULL) {
5504 ZPOOL_CONFIG_L2CACHE, l2cache, nl2cache, nv);