Searched refs:l2cache (Results 1 - 8 of 8) sorted by relevance

/freebsd-12-stable/cddl/contrib/opensolaris/lib/libzfs/common/
H A Dlibzfs_pool.c1394 nvlist_t **spares, **l2cache; local
1412 &l2cache, &nl2cache) == 0) {
2207 boolean_t *l2cache, boolean_t *log)
2361 avail_spare, l2cache, NULL)) != NULL) {
2382 avail_spare, l2cache, NULL)) != NULL) {
2393 avail_spare, l2cache, NULL)) != NULL) {
2394 *l2cache = B_TRUE;
2409 boolean_t *avail_spare, boolean_t *l2cache, boolean_t *log)
2420 *l2cache = B_FALSE;
2423 ret = vdev_to_nvlist_iter(nvroot, search, avail_spare, l2cache, lo
2206 vdev_to_nvlist_iter(nvlist_t *nv, nvlist_t *search, boolean_t *avail_spare, boolean_t *l2cache, boolean_t *log) argument
2408 zpool_find_vdev_by_physpath(zpool_handle_t *zhp, const char *ppath, boolean_t *avail_spare, boolean_t *l2cache, boolean_t *log) argument
2445 zpool_find_vdev(zpool_handle_t *zhp, const char *path, boolean_t *avail_spare, boolean_t *l2cache, boolean_t *log) argument
2681 boolean_t avail_spare, l2cache, islog; local
2751 boolean_t avail_spare, l2cache; local
2891 boolean_t avail_spare, l2cache, islog; local
3065 boolean_t avail_spare, l2cache; local
3370 boolean_t avail_spare, l2cache, islog; local
3440 boolean_t avail_spare, l2cache, islog; local
3474 boolean_t avail_spare, l2cache; local
[all...]
H A Dlibzfs_import.c443 nvlist_t **spares, **l2cache; local
801 * Update the paths for l2cache devices.
804 &l2cache, &nl2cache) == 0) {
806 if (fix_paths(l2cache[i], pl->names) != 0)
1895 * Check if any pool is currently using this l2cache device.
/freebsd-12-stable/cddl/contrib/opensolaris/cmd/zpool/
H A Dzpool_vdev.c1329 nvlist_t *nvroot, *nv, **top, **spares, **l2cache; local
1338 l2cache = NULL;
1407 if (l2cache != NULL) {
1465 l2cache = child;
1559 l2cache, nl2cache) == 0);
1566 nvlist_free(l2cache[t]);
1569 if (l2cache)
1570 free(l2cache);
H A Dzpool_main.c5117 print_l2cache(zpool_handle_t *zhp, status_cbdata_t *cb, nvlist_t **l2cache, argument
5129 name = zpool_vdev_name(g_zfs, zhp, l2cache[i],
5131 print_status_config(zhp, cb, name, l2cache[i], 2, B_FALSE);
5448 nvlist_t **spares, **l2cache; local
5484 &l2cache, &nl2cache) == 0)
5485 print_l2cache(zhp, cbp, l2cache, nl2cache);
/freebsd-12-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
H A Dspa.c1744 * Load (or re-load) the current list of vdevs describing the active l2cache for
1754 nvlist_t **l2cache; local
1778 ZPOOL_CONFIG_L2CACHE, &l2cache, &nl2cache) == 0);
1794 VERIFY(nvlist_lookup_uint64(l2cache[i], ZPOOL_CONFIG_GUID,
1814 VERIFY(spa_config_parse(spa, &vd, l2cache[i], NULL, 0,
1820 * Commit this vdev as an l2cache device,
1868 * Recompute the stashed list of l2cache devices, with status
1874 l2cache = kmem_alloc(sav->sav_count * sizeof (void *), KM_SLEEP);
1876 l2cache[i] = vdev_config_generate(spa,
1879 ZPOOL_CONFIG_L2CACHE, l2cache, sa
4750 nvlist_t **l2cache; local
5134 nvlist_t **spares, **l2cache; local
5828 nvlist_t **spares, **l2cache; local
6292 nvlist_t **spares, **l2cache; local
[all...]
H A Dvdev_removal.c2028 nvlist_t **spares, **l2cache, *nv; local
2080 ZPOOL_CONFIG_L2CACHE, &l2cache, &nl2cache) == 0 &&
2081 (nv = spa_nvlist_lookup_by_guid(l2cache, nl2cache, guid)) != NULL) {
2091 ZPOOL_CONFIG_L2CACHE, l2cache, nl2cache, nv);
H A Dzfs_ioctl.c1964 nvlist_t *config, **l2cache, **spares; local
1974 &l2cache, &nl2cache);
1988 * l2cache and spare devices are ok to be added to a rootpool.
/freebsd-12-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/
H A Dspa.h863 boolean_t l2cache);

Completed in 278 milliseconds