Searched refs:nl2cache (Results 1 – 6 of 6) sorted by relevance
/titanic_50/usr/src/cmd/zpool/ |
H A D | zpool_vdev.c | 1167 int t, toplevels, mindev, maxdev, nspares, nlogs, nl2cache; in construct_spec() local 1178 nl2cache = 0; in construct_spec() 1282 nl2cache = children; in construct_spec() 1324 if (toplevels == 0 && nspares == 0 && nl2cache == 0) { in construct_spec() 1348 if (nl2cache != 0) in construct_spec() 1350 l2cache, nl2cache) == 0); in construct_spec() 1356 for (t = 0; t < nl2cache; t++) in construct_spec()
|
H A D | zpool_main.c | 3893 print_l2cache(zpool_handle_t *zhp, nvlist_t **l2cache, uint_t nl2cache, in print_l2cache() argument 3899 if (nl2cache == 0) in print_l2cache() 3904 for (i = 0; i < nl2cache; i++) { in print_l2cache() 4208 uint_t nspares, nl2cache; in status_callback() local 4228 &l2cache, &nl2cache) == 0) in status_callback() 4229 print_l2cache(zhp, l2cache, nl2cache, namewidth); in status_callback()
|
/titanic_50/usr/src/uts/common/fs/zfs/ |
H A D | spa.c | 1449 uint_t nl2cache; in spa_load_l2cache() local 1459 ZPOOL_CONFIG_L2CACHE, &l2cache, &nl2cache) == 0); in spa_load_l2cache() 1460 newvdevs = kmem_alloc(nl2cache * sizeof (void *), KM_SLEEP); in spa_load_l2cache() 1462 nl2cache = 0; in spa_load_l2cache() 1474 for (i = 0; i < nl2cache; i++) { in spa_load_l2cache() 1552 sav->sav_count = (int)nl2cache; in spa_load_l2cache() 3154 uint_t i, j, nl2cache; in spa_add_l2cache() local 3169 ZPOOL_CONFIG_L2CACHE, &l2cache, &nl2cache) == 0); in spa_add_l2cache() 3170 if (nl2cache != 0) { in spa_add_l2cache() 3172 ZPOOL_CONFIG_L2CACHE, l2cache, nl2cache) == 0); in spa_add_l2cache() [all …]
|
H A D | zfs_ioctl.c | 1896 uint_t nl2cache = 0, nspares = 0; in zfs_ioc_vdev_add() local 1905 &l2cache, &nl2cache); in zfs_ioc_vdev_add() 1920 if (spa_bootfs(spa) != 0 && nl2cache == 0 && nspares == 0) { in zfs_ioc_vdev_add()
|
/titanic_50/usr/src/lib/libzfs/common/ |
H A D | libzfs_import.c | 443 uint_t i, nspares, nl2cache; in get_configs() local 797 &l2cache, &nl2cache) == 0) { in get_configs() 798 for (i = 0; i < nl2cache; i++) { in get_configs()
|
H A D | libzfs_pool.c | 1243 uint_t nspares, nl2cache; in zpool_add() local 1260 &l2cache, &nl2cache) == 0) { in zpool_add()
|