Lines Matching defs:nl2cache
1506 uint_t nl2cache;
1516 ZPOOL_CONFIG_L2CACHE, &l2cache, &nl2cache) == 0);
1517 newvdevs = kmem_alloc(nl2cache * sizeof (void *), KM_SLEEP);
1519 nl2cache = 0;
1531 for (i = 0; i < nl2cache; i++) {
1603 sav->sav_count = (int)nl2cache;
3310 uint_t i, j, nl2cache;
3325 ZPOOL_CONFIG_L2CACHE, &l2cache, &nl2cache) == 0);
3326 if (nl2cache != 0) {
3328 ZPOOL_CONFIG_L2CACHE, l2cache, nl2cache) == 0);
3330 ZPOOL_CONFIG_L2CACHE, &l2cache, &nl2cache) == 0);
3336 for (i = 0; i < nl2cache; i++) {
3660 uint_t nspares, nl2cache;
3770 &l2cache, &nl2cache) == 0) {
3774 ZPOOL_CONFIG_L2CACHE, l2cache, nl2cache) == 0);
4309 uint_t nspares, nl2cache;
4436 &l2cache, &nl2cache) == 0) {
4444 ZPOOL_CONFIG_L2CACHE, l2cache, nl2cache) == 0);
4737 uint_t nspares, nl2cache;
4754 &nl2cache) != 0)
4755 nl2cache = 0;
4757 if (vd->vdev_children == 0 && nspares == 0 && nl2cache == 0)
4799 if (nl2cache != 0) {
4800 spa_set_aux_vdevs(&spa->spa_l2cache, l2cache, nl2cache,
5728 uint_t nspares, nl2cache;
5757 ZPOOL_CONFIG_L2CACHE, &l2cache, &nl2cache) == 0 &&
5758 (nv = spa_nvlist_lookup_by_guid(l2cache, nl2cache, guid)) != NULL) {
5763 ZPOOL_CONFIG_L2CACHE, l2cache, nl2cache, nv);