Lines Matching refs:nl2cache

1448 	uint_t nl2cache;  in spa_load_l2cache()  local
1458 ZPOOL_CONFIG_L2CACHE, &l2cache, &nl2cache) == 0); in spa_load_l2cache()
1459 newvdevs = kmem_alloc(nl2cache * sizeof (void *), KM_SLEEP); in spa_load_l2cache()
1461 nl2cache = 0; in spa_load_l2cache()
1473 for (i = 0; i < nl2cache; i++) { in spa_load_l2cache()
1551 sav->sav_count = (int)nl2cache; in spa_load_l2cache()
3140 uint_t i, j, nl2cache; in spa_add_l2cache() local
3155 ZPOOL_CONFIG_L2CACHE, &l2cache, &nl2cache) == 0); in spa_add_l2cache()
3156 if (nl2cache != 0) { in spa_add_l2cache()
3158 ZPOOL_CONFIG_L2CACHE, l2cache, nl2cache) == 0); in spa_add_l2cache()
3160 ZPOOL_CONFIG_L2CACHE, &l2cache, &nl2cache) == 0); in spa_add_l2cache()
3166 for (i = 0; i < nl2cache; i++) { in spa_add_l2cache()
3485 uint_t nspares, nl2cache; in spa_create() local
3594 &l2cache, &nl2cache) == 0) { in spa_create()
3598 ZPOOL_CONFIG_L2CACHE, l2cache, nl2cache) == 0); in spa_create()
3931 uint_t nspares, nl2cache; in spa_import() local
4057 &l2cache, &nl2cache) == 0) { in spa_import()
4065 ZPOOL_CONFIG_L2CACHE, l2cache, nl2cache) == 0); in spa_import()
4350 uint_t nspares, nl2cache; in spa_vdev_add() local
4367 &nl2cache) != 0) in spa_vdev_add()
4368 nl2cache = 0; in spa_vdev_add()
4370 if (vd->vdev_children == 0 && nspares == 0 && nl2cache == 0) in spa_vdev_add()
4412 if (nl2cache != 0) { in spa_vdev_add()
4413 spa_set_aux_vdevs(&spa->spa_l2cache, l2cache, nl2cache, in spa_vdev_add()
5317 uint_t nspares, nl2cache; in spa_vdev_remove() local
5346 ZPOOL_CONFIG_L2CACHE, &l2cache, &nl2cache) == 0 && in spa_vdev_remove()
5347 (nv = spa_nvlist_lookup_by_guid(l2cache, nl2cache, guid)) != NULL) { in spa_vdev_remove()
5352 ZPOOL_CONFIG_L2CACHE, l2cache, nl2cache, nv); in spa_vdev_remove()