Home
last modified time | relevance | path

Searched refs:nl2cache (Results 1 – 6 of 6) sorted by relevance

/illumos-gate/usr/src/cmd/zpool/
H A Dzpool_vdev.c1298 int t, toplevels, mindev, maxdev, nspares, nlogs, nl2cache; in construct_spec() local
1309 nl2cache = 0; in construct_spec()
1439 nl2cache = children; in construct_spec()
1507 if (toplevels == 0 && nspares == 0 && nl2cache == 0) { in construct_spec()
1531 if (nl2cache != 0) in construct_spec()
1533 l2cache, nl2cache) == 0); in construct_spec()
1540 for (t = 0; t < nl2cache; t++) in construct_spec()
H A Dzpool_main.c6971 uint_t nl2cache) in print_l2cache() argument
6976 if (nl2cache == 0) in print_l2cache()
6981 for (i = 0; i < nl2cache; i++) { in print_l2cache()
7342 uint_t nspares, nl2cache; in status_callback() local
7380 &l2cache, &nl2cache) == 0) in status_callback()
7381 print_l2cache(zhp, cbp, l2cache, nl2cache); in status_callback()
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dspa.c1718 uint_t nl2cache; in spa_load_l2cache() local
1739 nl2cache = 0; in spa_load_l2cache()
1743 ZPOOL_CONFIG_L2CACHE, &l2cache, &nl2cache) == 0); in spa_load_l2cache()
1744 if (nl2cache > 0) { in spa_load_l2cache()
1746 nl2cache * sizeof (void *), KM_SLEEP); in spa_load_l2cache()
1758 for (i = 0; i < nl2cache; i++) { in spa_load_l2cache()
1830 sav->sav_count = (int)nl2cache; in spa_load_l2cache()
4733 uint_t i, j, nl2cache; local
4748 ZPOOL_CONFIG_L2CACHE, &l2cache, &nl2cache) == 0);
4749 if (nl2cache != 0) {
[all …]
H A Dvdev_removal.c2070 uint_t nspares, nl2cache; in spa_vdev_remove() local
2120 ZPOOL_CONFIG_L2CACHE, &l2cache, &nl2cache) == 0 && in spa_vdev_remove()
2121 (nv = spa_nvlist_lookup_by_guid(l2cache, nl2cache, guid)) != NULL) { in spa_vdev_remove()
2131 ZPOOL_CONFIG_L2CACHE, l2cache, nl2cache, nv); in spa_vdev_remove()
/illumos-gate/usr/src/lib/libzutil/common/
H A Dzutil_import.c477 uint_t i, nspares, nl2cache; in get_configs() local
837 &l2cache, &nl2cache) == 0) { in get_configs()
838 for (i = 0; i < nl2cache; i++) { in get_configs()
/illumos-gate/usr/src/lib/libzfs/common/
H A Dlibzfs_pool.c1447 uint_t nspares, nl2cache; in zpool_add() local
1464 &l2cache, &nl2cache) == 0) { in zpool_add()