Home
last modified time | relevance | path

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

/netbsd-src/external/cddl/osnet/dist/cmd/zpool/
H A Dzpool_vdev.c1229 int t, toplevels, mindev, maxdev, nspares, nlogs, nl2cache; in construct_spec() local
1240 nl2cache = 0; in construct_spec()
1344 nl2cache = children; in construct_spec()
1386 if (toplevels == 0 && nspares == 0 && nl2cache == 0) { in construct_spec()
1410 if (nl2cache != 0) in construct_spec()
1412 l2cache, nl2cache) == 0); in construct_spec()
1418 for (t = 0; t < nl2cache; t++) in construct_spec()
H A Dzpool_main.c4066 print_l2cache(zpool_handle_t *zhp, nvlist_t **l2cache, uint_t nl2cache, in print_l2cache() argument
4072 if (nl2cache == 0) in print_l2cache()
4077 for (i = 0; i < nl2cache; i++) { in print_l2cache()
4391 uint_t nspares, nl2cache; in status_callback() local
4411 &l2cache, &nl2cache) == 0) in status_callback()
4412 print_l2cache(zhp, l2cache, nl2cache, namewidth); in status_callback()
/netbsd-src/external/cddl/osnet/dist/uts/common/fs/zfs/
H A Dspa.c1519 uint_t nl2cache; in spa_load_l2cache() local
1529 ZPOOL_CONFIG_L2CACHE, &l2cache, &nl2cache) == 0); in spa_load_l2cache()
1530 newvdevs = kmem_alloc(nl2cache * sizeof (void *), KM_SLEEP); in spa_load_l2cache()
1532 nl2cache = 0; in spa_load_l2cache()
1544 for (i = 0; i < nl2cache; i++) { in spa_load_l2cache()
1616 sav->sav_count = (int)nl2cache; in spa_load_l2cache()
3341 uint_t i, j, nl2cache; in spa_add_l2cache() local
3356 ZPOOL_CONFIG_L2CACHE, &l2cache, &nl2cache) == 0); in spa_add_l2cache()
3357 if (nl2cache != 0) { in spa_add_l2cache()
3359 ZPOOL_CONFIG_L2CACHE, l2cache, nl2cache) == 0); in spa_add_l2cache()
[all …]
H A Dzfs_ioctl.c1925 uint_t nl2cache = 0, nspares = 0; in zfs_ioc_vdev_add() local
1934 &l2cache, &nl2cache); in zfs_ioc_vdev_add()
1950 if (spa_bootfs(spa) != 0 && nl2cache == 0 && nspares == 0) { in zfs_ioc_vdev_add()
/netbsd-src/external/cddl/osnet/dist/lib/libzfs/common/
H A Dlibzfs_import.c451 uint_t i, nspares, nl2cache; in get_configs() local
805 &l2cache, &nl2cache) == 0) { in get_configs()
806 for (i = 0; i < nl2cache; i++) { in get_configs()
H A Dlibzfs_pool.c1282 uint_t nspares, nl2cache; in zpool_add() local
1299 &l2cache, &nl2cache) == 0) { in zpool_add()