• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-12-stable/cddl/contrib/opensolaris/lib/libzfs/common/

Lines Matching defs:pools

93 	pool_entry_t		*pools;
272 * list of known pools.
274 for (pe = pl->pools; pe != NULL; pe = pe->pe_next) {
284 pe->pe_next = pl->pools;
285 pl->pools = pe;
429 * Convert our list of pools into the definitive set of configurations. We
463 for (pe = pl->pools; pe != NULL; pe = pe->pe_next) {
747 * zdb uses this path to report on active pools that were
1223 * Given a list of directories to search, find all pools stored on disk. This
1224 * includes partial pools which are not available to import. If no args are
1239 pool_list_t pools = { 0 };
1410 if (add_config(hdl, &pools, path,
1427 ret = get_configs(hdl, &pools, iarg->can_be_active, iarg->policy);
1430 for (pe = pools.pools; pe != NULL; pe = penext) {
1444 for (ne = pools.names; ne != NULL; ne = nenext) {
1465 * Given a cache file, return the contents as a list of importable pools.
1477 nvlist_t *pools;
1527 * Go through and get the current state of the pools and refresh their
1530 if (nvlist_alloc(&pools, 0, 0) != 0) {
1550 nvlist_free(pools);
1561 nvlist_free(pools);
1567 nvlist_free(pools);
1571 if (nvlist_add_nvlist(pools, nvpair_name(elem), dst) != 0) {
1575 nvlist_free(pools);
1582 return (pools);
1614 nvlist_t *pools = NULL;
1622 pools = zpool_find_import_cached(hdl, import->cachefile,
1625 pools = zpool_find_import_impl(hdl, import);
1627 return (pools);
1650 nvlist_t *pools;
1663 pools = zpool_search_import(hdl, args);
1665 if (pools != NULL) {
1667 while ((elem = nvlist_next_nvpair(pools, elem)) != NULL) {
1872 * over all pools in the system and search for one with a spare
1877 * can freely create pools on the hot spares of exported pools,