Home
last modified time | relevance | path

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

/titanic_44/usr/src/cmd/zpool/
H A Dzpool_vdev.c1164 int t, toplevels, mindev, maxdev, nspares, nlogs, nl2cache; in construct_spec() local
1175 nl2cache = 0; in construct_spec()
1279 nl2cache = children; in construct_spec()
1321 if (toplevels == 0 && nspares == 0 && nl2cache == 0) { in construct_spec()
1345 if (nl2cache != 0) in construct_spec()
1347 l2cache, nl2cache) == 0); in construct_spec()
1353 for (t = 0; t < nl2cache; t++) in construct_spec()
H A Dzpool_main.c3918 print_l2cache(zpool_handle_t *zhp, nvlist_t **l2cache, uint_t nl2cache, in print_l2cache() argument
3924 if (nl2cache == 0) in print_l2cache()
3929 for (i = 0; i < nl2cache; i++) { in print_l2cache()
4233 uint_t nspares, nl2cache; in status_callback() local
4253 &l2cache, &nl2cache) == 0) in status_callback()
4254 print_l2cache(zhp, l2cache, nl2cache, namewidth); in status_callback()
/titanic_44/usr/src/uts/common/fs/zfs/
H A Dspa.c1448 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()
[all …]
H A Dzfs_ioctl.c1893 uint_t nl2cache = 0, nspares = 0; in zfs_ioc_vdev_add() local
1902 &l2cache, &nl2cache); in zfs_ioc_vdev_add()
1917 if (spa_bootfs(spa) != 0 && nl2cache == 0 && nspares == 0) { in zfs_ioc_vdev_add()
/titanic_44/usr/src/lib/libzfs/common/
H A Dlibzfs_import.c443 uint_t i, nspares, nl2cache; in get_configs() local
797 &l2cache, &nl2cache) == 0) { in get_configs()
798 for (i = 0; i < nl2cache; i++) { in get_configs()
H A Dlibzfs_pool.c1228 uint_t nspares, nl2cache; in zpool_add() local
1245 &l2cache, &nl2cache) == 0) { in zpool_add()