Lines Matching refs:nl2cache
2337 uint_t nl2cache; in spa_load_l2cache() local
2364 nl2cache = 0; in spa_load_l2cache()
2370 ZPOOL_CONFIG_L2CACHE, &l2cache, &nl2cache)); in spa_load_l2cache()
2371 newvdevs = kmem_alloc(nl2cache * sizeof (void *), KM_SLEEP); in spa_load_l2cache()
2376 for (i = 0; i < nl2cache; i++) { in spa_load_l2cache()
2432 sav->sav_count = (int)nl2cache; in spa_load_l2cache()
6007 uint_t i, j, nl2cache; local
6021 ZPOOL_CONFIG_L2CACHE, &l2cache, &nl2cache));
6022 if (nl2cache != 0) {
6024 (const nvlist_t * const *)l2cache, nl2cache);
6026 &l2cache, &nl2cache));
6032 for (i = 0; i < nl2cache; i++) {
6400 uint_t nspares, nl2cache; local
6567 &l2cache, &nl2cache) == 0) {
6572 nl2cache);
6717 uint_t nspares, nl2cache; local
6837 &l2cache, &nl2cache) == 0) {
6845 nl2cache);
7277 uint_t nspares, nl2cache; local
7294 &nl2cache) != 0)
7295 nl2cache = 0;
7297 if (vd->vdev_children == 0 && nspares == 0 && nl2cache == 0)
7386 if (nl2cache != 0) {
7387 spa_set_aux_vdevs(&spa->spa_l2cache, l2cache, nl2cache,