Home
last modified time | relevance | path

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

/freebsd-12.1/cddl/contrib/opensolaris/cmd/zpool/
H A Dzpool_vdev.c1259 int t, toplevels, mindev, maxdev, nspares, nlogs, nl2cache; in construct_spec() local
1270 nl2cache = 0; in construct_spec()
1374 nl2cache = children; in construct_spec()
1416 if (toplevels == 0 && nspares == 0 && nl2cache == 0) { in construct_spec()
1440 if (nl2cache != 0) in construct_spec()
1442 l2cache, nl2cache) == 0); in construct_spec()
1448 for (t = 0; t < nl2cache; t++) in construct_spec()
H A Dzpool_main.c4785 print_l2cache(zpool_handle_t *zhp, nvlist_t **l2cache, uint_t nl2cache, in print_l2cache() argument
4791 if (nl2cache == 0) in print_l2cache()
4796 for (i = 0; i < nl2cache; i++) { in print_l2cache()
5109 uint_t nspares, nl2cache; in status_callback() local
5139 &l2cache, &nl2cache) == 0) in status_callback()
5140 print_l2cache(zhp, l2cache, nl2cache, namewidth); in status_callback()
/freebsd-12.1/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
H A Dspa.c1660 uint_t nl2cache; in spa_load_l2cache() local
1686 nl2cache = 0; in spa_load_l2cache()
1770 sav->sav_count = (int)nl2cache; in spa_load_l2cache()
4338 uint_t i, j, nl2cache; local
4354 if (nl2cache != 0) {
4730 uint_t nspares, nl2cache; local
5415 uint_t nspares, nl2cache; local
5873 uint_t nspares, nl2cache; local
5890 &nl2cache) != 0)
5891 nl2cache = 0;
[all …]
H A Dvdev_removal.c2041 uint_t nspares, nl2cache; in spa_vdev_remove() local
2091 ZPOOL_CONFIG_L2CACHE, &l2cache, &nl2cache) == 0 && in spa_vdev_remove()
2092 (nv = spa_nvlist_lookup_by_guid(l2cache, nl2cache, guid)) != NULL) { in spa_vdev_remove()
2102 ZPOOL_CONFIG_L2CACHE, l2cache, nl2cache, nv); in spa_vdev_remove()
H A Dzfs_ioctl.c1946 uint_t nl2cache = 0, nspares = 0; in zfs_ioc_vdev_add() local
1955 &l2cache, &nl2cache); in zfs_ioc_vdev_add()
1971 if (spa_bootfs(spa) != 0 && nl2cache == 0 && nspares == 0) { in zfs_ioc_vdev_add()
/freebsd-12.1/cddl/contrib/opensolaris/lib/libzfs/common/
H A Dlibzfs_import.c444 uint_t i, nspares, nl2cache; in get_configs() local
804 &l2cache, &nl2cache) == 0) { in get_configs()
805 for (i = 0; i < nl2cache; i++) { in get_configs()
H A Dlibzfs_pool.c1350 uint_t nspares, nl2cache; in zpool_add() local
1367 &l2cache, &nl2cache) == 0) { in zpool_add()