Lines Matching refs:l2cache
2336 nvlist_t **l2cache = NULL; in spa_load_l2cache() local
2370 ZPOOL_CONFIG_L2CACHE, &l2cache, &nl2cache)); in spa_load_l2cache()
2377 guid = fnvlist_lookup_uint64(l2cache[i], ZPOOL_CONFIG_GUID); in spa_load_l2cache()
2396 VERIFY(spa_config_parse(spa, &vd, l2cache[i], NULL, 0, in spa_load_l2cache()
2441 l2cache = kmem_alloc(sav->sav_count * sizeof (void *), in spa_load_l2cache()
2444 l2cache[i] = vdev_config_generate(spa, in spa_load_l2cache()
2447 (const nvlist_t * const *)l2cache, sav->sav_count); in spa_load_l2cache()
2473 nvlist_free(l2cache[i]); in spa_load_l2cache()
2475 kmem_free(l2cache, sav->sav_count * sizeof (void *)); in spa_load_l2cache()
6006 nvlist_t **l2cache; local
6021 ZPOOL_CONFIG_L2CACHE, &l2cache, &nl2cache));
6024 (const nvlist_t * const *)l2cache, nl2cache);
6026 &l2cache, &nl2cache));
6033 guid = fnvlist_lookup_uint64(l2cache[i],
6046 VERIFY0(nvlist_lookup_uint64_array(l2cache[i],
6049 vdev_config_generate_stats(vd, l2cache[i]);
6399 nvlist_t **spares, **l2cache; local
6567 &l2cache, &nl2cache) == 0) {
6571 ZPOOL_CONFIG_L2CACHE, (const nvlist_t * const *)l2cache,
6716 nvlist_t **spares, **l2cache; local
6837 &l2cache, &nl2cache) == 0) {
6844 ZPOOL_CONFIG_L2CACHE, (const nvlist_t * const *)l2cache,
7276 nvlist_t **spares, **l2cache; local
7293 if (nvlist_lookup_nvlist_array(nvroot, ZPOOL_CONFIG_L2CACHE, &l2cache,
7387 spa_set_aux_vdevs(&spa->spa_l2cache, l2cache, nl2cache,