Lines Matching refs: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 };
1398 if (add_config(hdl, &pools, path,
1415 ret = get_configs(hdl, &pools, iarg->can_be_active, iarg->policy);
1418 for (pe = pools.pools; pe != NULL; pe = penext) {
1432 for (ne = pools.names; ne != NULL; ne = nenext) {
1453 * Given a cache file, return the contents as a list of importable pools.
1465 nvlist_t *pools;
1515 * Go through and get the current state of the pools and refresh their
1518 if (nvlist_alloc(&pools, 0, 0) != 0) {
1538 nvlist_free(pools);
1549 nvlist_free(pools);
1555 nvlist_free(pools);
1559 if (nvlist_add_nvlist(pools, nvpair_name(elem), dst) != 0) {
1563 nvlist_free(pools);
1570 return (pools);
1789 * over all pools in the system and search for one with a spare
1794 * can freely create pools on the hot spares of exported pools,