Home
last modified time | relevance | path

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

/freebsd-10-stable/cddl/contrib/opensolaris/cmd/zpool/
Dzpool_vdev.c1222 int t, toplevels, mindev, maxdev, nspares, nlogs, nl2cache; in construct_spec() local
1233 nl2cache = 0; in construct_spec()
1337 nl2cache = children; in construct_spec()
1379 if (toplevels == 0 && nspares == 0 && nl2cache == 0) { in construct_spec()
1403 if (nl2cache != 0) in construct_spec()
1405 l2cache, nl2cache) == 0); in construct_spec()
1411 for (t = 0; t < nl2cache; t++) in construct_spec()
Dzpool_main.c4107 print_l2cache(zpool_handle_t *zhp, nvlist_t **l2cache, uint_t nl2cache, in print_l2cache() argument
4113 if (nl2cache == 0) in print_l2cache()
4118 for (i = 0; i < nl2cache; i++) { in print_l2cache()
4432 uint_t nspares, nl2cache; in status_callback() local
4452 &l2cache, &nl2cache) == 0) in status_callback()
4453 print_l2cache(zhp, l2cache, nl2cache, namewidth); in status_callback()
/freebsd-10-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
Dspa.c1510 uint_t nl2cache; in spa_load_l2cache() local
1520 ZPOOL_CONFIG_L2CACHE, &l2cache, &nl2cache) == 0); in spa_load_l2cache()
1521 newvdevs = kmem_alloc(nl2cache * sizeof (void *), KM_SLEEP); in spa_load_l2cache()
1523 nl2cache = 0; in spa_load_l2cache()
1535 for (i = 0; i < nl2cache; i++) { in spa_load_l2cache()
1607 sav->sav_count = (int)nl2cache; in spa_load_l2cache()
3249 uint_t i, j, nl2cache; in spa_add_l2cache() local
3264 ZPOOL_CONFIG_L2CACHE, &l2cache, &nl2cache) == 0); in spa_add_l2cache()
3265 if (nl2cache != 0) { in spa_add_l2cache()
3267 ZPOOL_CONFIG_L2CACHE, l2cache, nl2cache) == 0); in spa_add_l2cache()
[all …]
Dzfs_ioctl.c1905 uint_t nl2cache = 0, nspares = 0; in zfs_ioc_vdev_add() local
1914 &l2cache, &nl2cache); in zfs_ioc_vdev_add()
1930 if (spa_bootfs(spa) != 0 && nl2cache == 0 && nspares == 0) { in zfs_ioc_vdev_add()
/freebsd-10-stable/cddl/contrib/opensolaris/lib/libzfs/common/
Dlibzfs_import.c445 uint_t i, nspares, nl2cache; in get_configs() local
799 &l2cache, &nl2cache) == 0) { in get_configs()
800 for (i = 0; i < nl2cache; i++) { in get_configs()
Dlibzfs_pool.c1293 uint_t nspares, nl2cache; in zpool_add() local
1310 &l2cache, &nl2cache) == 0) { in zpool_add()