Searched refs:nl2cache (Results 1 – 6 of 6) sorted by relevance
/freebsd/sys/contrib/openzfs/cmd/zpool/ |
H A D | zpool_vdev.c | 1494 int t, toplevels, mindev, maxdev, nspares, nlogs, nl2cache; in construct_spec() local 1505 nl2cache = 0; in construct_spec() 1645 nl2cache = children; in construct_spec() 1731 if (toplevels == 0 && nspares == 0 && nl2cache == 0) { in construct_spec() 1755 if (nl2cache != 0) in construct_spec() 1757 (const nvlist_t **)l2cache, nl2cache) == 0); in construct_spec() 1764 for (t = 0; t < nl2cache; t++) in construct_spec()
|
H A D | zpool_main.c | 9460 uint_t nl2cache; in l2cache_nvlist() local 9462 &l2cache, &nl2cache) == 0) { in l2cache_nvlist() 9463 if (nl2cache == 0) in l2cache_nvlist() 9467 for (int i = 0; i < nl2cache; i++) { in l2cache_nvlist() 10288 uint_t nl2cache) in print_l2cache() argument 10293 if (nl2cache == 0) in print_l2cache() 10298 for (i = 0; i < nl2cache; i++) { in print_l2cache() 10891 uint_t nspares, nl2cache; in status_callback() local 10947 &l2cache, &nl2cache) == 0) in status_callback() 10948 print_l2cache(zhp, cbp, l2cache, nl2cache); in status_callback()
|
/freebsd/sys/contrib/openzfs/module/zfs/ |
H A D | spa.c | 2340 uint_t nl2cache; in spa_load_l2cache() local 2367 nl2cache = 0; in spa_load_l2cache() 2373 ZPOOL_CONFIG_L2CACHE, &l2cache, &nl2cache)); in spa_load_l2cache() 2374 newvdevs = kmem_alloc(nl2cache * sizeof (void *), KM_SLEEP); in spa_load_l2cache() 2379 for (i = 0; i < nl2cache; i++) { in spa_load_l2cache() 2435 sav->sav_count = (int)nl2cache; in spa_load_l2cache() 6010 uint_t i, j, nl2cache; local 6024 ZPOOL_CONFIG_L2CACHE, &l2cache, &nl2cache)); 6025 if (nl2cache != 0) { 6027 (const nvlist_t * const *)l2cache, nl2cache); [all …]
|
H A D | vdev_removal.c | 2388 uint_t nspares, nl2cache; in spa_vdev_remove() local 2451 ZPOOL_CONFIG_L2CACHE, &l2cache, &nl2cache) == 0 && in spa_vdev_remove() 2452 (nv = spa_nvlist_lookup_by_guid(l2cache, nl2cache, guid)) != NULL) { in spa_vdev_remove() 2476 ZPOOL_CONFIG_L2CACHE, l2cache, nl2cache, nv); in spa_vdev_remove()
|
/freebsd/sys/contrib/openzfs/lib/libzutil/ |
H A D | zutil_import.c | 497 uint_t i, nspares, nl2cache; in get_configs() local 864 &l2cache, &nl2cache) == 0) { in get_configs() 865 for (i = 0; i < nl2cache; i++) { in get_configs()
|
/freebsd/sys/contrib/openzfs/lib/libzfs/ |
H A D | libzfs_pool.c | 1801 uint_t nspares, nl2cache; in zpool_add() local 1818 &l2cache, &nl2cache) == 0) { in zpool_add()
|