Home
last modified time | relevance | path

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

/freebsd/sys/contrib/openzfs/cmd/zpool/
H A Dzpool_vdev.c1486 int t, toplevels, mindev, maxdev, nspares, nlogs, nl2cache; in construct_spec() local
1520 nl2cache = 0; in construct_spec()
1659 nl2cache = children; in construct_spec()
1750 if (toplevels == 0 && nspares == 0 && nl2cache == 0) { in construct_spec()
1774 if (nl2cache != 0) in construct_spec()
1776 (const nvlist_t **)l2cache, nl2cache) == 0); in construct_spec()
1783 for (t = 0; t < nl2cache; t++) in construct_spec()
H A Dzpool_main.c9593 uint_t nl2cache; in l2cache_nvlist() local
9595 &l2cache, &nl2cache) == 0) { in l2cache_nvlist()
9596 if (nl2cache == 0) in l2cache_nvlist()
9600 for (int i = 0; i < nl2cache; i++) { in l2cache_nvlist()
10421 uint_t nl2cache) in print_l2cache() argument
10426 if (nl2cache == 0) in print_l2cache()
10431 for (i = 0; i < nl2cache; i++) { in print_l2cache()
11061 uint_t nspares, nl2cache; in status_callback() local
11118 &l2cache, &nl2cache) == 0) in status_callback()
11119 print_l2cache(zhp, cbp, l2cache, nl2cache); in status_callback()
/freebsd/sys/contrib/openzfs/module/zfs/
H A Dspa.c2555 uint_t nl2cache; in spa_load_l2cache() local
2582 nl2cache = 0; in spa_load_l2cache()
2588 ZPOOL_CONFIG_L2CACHE, &l2cache, &nl2cache)); in spa_load_l2cache()
2589 newvdevs = kmem_alloc(nl2cache * sizeof (void *), KM_SLEEP); in spa_load_l2cache()
2594 for (i = 0; i < nl2cache; i++) { in spa_load_l2cache()
2650 sav->sav_count = (int)nl2cache; in spa_load_l2cache()
6225 uint_t i, j, nl2cache; local
6239 ZPOOL_CONFIG_L2CACHE, &l2cache, &nl2cache));
6240 if (nl2cache != 0) {
6242 (const nvlist_t * const *)l2cache, nl2cache);
[all …]
H A Dvdev_removal.c2434 uint_t nspares, nl2cache; in spa_vdev_remove() local
2497 ZPOOL_CONFIG_L2CACHE, &l2cache, &nl2cache) == 0 && in spa_vdev_remove()
2498 (nv = spa_nvlist_lookup_by_guid(l2cache, nl2cache, guid)) != NULL) { in spa_vdev_remove()
2522 ZPOOL_CONFIG_L2CACHE, l2cache, nl2cache, nv); in spa_vdev_remove()
/freebsd/sys/contrib/openzfs/lib/libzutil/
H A Dzutil_import.c498 uint_t i, nspares, nl2cache; in get_configs() local
865 &l2cache, &nl2cache) == 0) { in get_configs()
866 for (i = 0; i < nl2cache; i++) { in get_configs()
/freebsd/sys/contrib/openzfs/lib/libzfs/
H A Dlibzfs_pool.c1774 uint_t nspares, nl2cache; in zpool_add() local
1791 &l2cache, &nl2cache) == 0) { in zpool_add()