Home
last modified time | relevance | path

Searched refs:zpool_handle_t (Results 1 – 25 of 49) sorted by relevance

12

/freebsd-13.1/sys/contrib/openzfs/include/
H A Dlibzfs.h196 typedef struct zpool_handle zpool_handle_t; typedef
236 extern void zpool_close(zpool_handle_t *);
237 extern const char *zpool_get_name(zpool_handle_t *);
238 extern int zpool_get_state(zpool_handle_t *);
246 typedef int (*zpool_iter_f)(zpool_handle_t *, void *);
256 extern int zpool_add(zpool_handle_t *, nvlist_t *);
293 extern int zpool_reguid(zpool_handle_t *);
296 extern int zpool_sync_one(zpool_handle_t *, void *);
321 const char *zpool_get_state_str(zpool_handle_t *);
331 extern int zpool_props_refresh(zpool_handle_t *);
[all …]
H A Dlibzfs_impl.h52 zpool_handle_t *libzfs_pool_handles;
81 zpool_handle_t *zpool_hdl;
102 zpool_handle_t *zpool_next;
202 int zpool_open_silent(libzfs_handle_t *, const char *, zpool_handle_t **);
/freebsd-13.1/cddl/usr.sbin/zfsd/
H A Dzpool_list.h54 typedef struct zpool_handle zpool_handle_t; typedef
64 typedef bool PoolFilter_t(zpool_handle_t *pool, nvlist_t *poolConfig,
73 class ZpoolList : public std::list<zpool_handle_t *>
119 static int LoadIterator(zpool_handle_t *pool, void *data);
H A Dzpool_list.cc69 ZpoolList::ZpoolAll(zpool_handle_t *pool, nvlist_t *poolConfig, void *cbArg) in ZpoolAll()
75 ZpoolList::ZpoolByGUID(zpool_handle_t *pool, nvlist_t *poolConfig, in ZpoolByGUID()
88 ZpoolList::ZpoolByName(zpool_handle_t *pool, nvlist_t *poolConfig, void *cbArg) in ZpoolByName()
97 ZpoolList::LoadIterator(zpool_handle_t *pool, void *data) in LoadIterator()
H A Dvdev.h52 typedef struct zpool_handle zpool_handle_t; typedef
80 Vdev(zpool_handle_t *pool, nvlist_t *vdevConfig);
135 std::string Name(zpool_handle_t *, bool verbose) const;
H A Dzfsd_exception.h51 typedef struct zpool_handle zpool_handle_t; typedef
84 ZfsdException(zpool_handle_t *pool, const char *, ...);
H A Dvdev_iterator.h49 typedef struct zpool_handle zpool_handle_t; typedef
72 VdevIterator(zpool_handle_t *pool);
H A Dzfsd.h65 typedef struct zpool_handle zpool_handle_t; typedef
73 typedef int LeafIterFunc(zpool_handle_t *, nvlist_t *, void *);
H A Dcase_file.h350 Vdev BeingReplacedBy(zpool_handle_t *zhp);
394 nvlist_t *CaseVdev(zpool_handle_t *zhp) const;
H A Dcase_file.cc225 zpool_handle_t *casePool(zpl.empty() ? NULL : zpl.front()); in RefreshVdevState()
242 zpool_handle_t *pool(zpl.empty() ? NULL : zpl.front()); in ReEvaluate()
499 zpool_handle_t *zhp(zpl.empty() ? NULL : zpl.front()); in ActivateSpare()
951 zpool_handle_t *zhp(zpl.empty() ? NULL : zpl.front()); in OnGracePeriodEnded()
1012 CaseFile::BeingReplacedBy(zpool_handle_t *zhp) { in BeingReplacedBy()
1062 zpool_handle_t *zhp(zpl.empty() ? NULL : zpl.front()); in Replace()
1164 CaseFile::CaseVdev(zpool_handle_t *zhp) const in CaseVdev()
H A Dzfsd_event.cc395 zpool_handle_t* hdl; in CleanupSpares()
451 zpool_handle_t *hdl(static_cast<zpool_handle_t*>(cbArg)); in TryDetach()
H A Dvdev.cc107 Vdev::Vdev(zpool_handle_t *pool, nvlist_t *config) in Vdev()
330 Vdev::Name(zpool_handle_t *zhp, bool verbose) const in Name()
/freebsd-13.1/sys/contrib/openzfs/cmd/zpool/
H A Dzpool_util.h58 nvlist_t *make_root_vdev(zpool_handle_t *zhp, nvlist_t *props, int force,
61 nvlist_t *split_mirror_vdev(zpool_handle_t *zhp, char *newname,
71 int for_each_vdev(zpool_handle_t *zhp, pool_vdev_iter_f func, void *data);
80 void pool_list_remove(zpool_list_t *, zpool_handle_t *);
132 void after_zpool_upgrade(zpool_handle_t *zhp);
H A Dzpool_iter.c52 zpool_handle_t *zn_handle;
69 zpool_handle_t *l = ((zpool_node_t *)larg)->zn_handle; in zpool_compare()
70 zpool_handle_t *r = ((zpool_node_t *)rarg)->zn_handle; in zpool_compare()
82 add_pool(zpool_handle_t *zhp, void *data) in add_pool()
144 zpool_handle_t *zhp; in pool_list_get()
196 pool_list_remove(zpool_list_t *zlp, zpool_handle_t *zhp) in pool_list_remove()
277 for_each_vdev(zpool_handle_t *zhp, pool_vdev_iter_f func, void *data) in for_each_vdev()
569 zpool_handle_t *zhp = zhp_data; in for_each_vdev_run_cb()
628 all_pools_for_each_vdev_gather_cb(zpool_handle_t *zhp, void *cb_vcdl) in all_pools_for_each_vdev_gather_cb()
H A Dzpool_main.c564 zpool_handle_t *zhp; in zpool_do_initialize()
907 zpool_handle_t *zhp; in zpool_do_add()
1791 zpool_handle_t *zhp; in zpool_do_destroy()
3095 zpool_handle_t *zhp; in do_import()
3363 zpool_handle_t *zhp; in zpool_do_checkpoint()
6425 zpool_handle_t *zhp; in zpool_do_attach_or_replace()
6602 zpool_handle_t *zhp; in zpool_do_detach()
6674 zpool_handle_t *zhp; in zpool_do_split()
6834 zpool_handle_t *zhp; in zpool_do_online()
6909 zpool_handle_t *zhp; in zpool_do_offline()
[all …]
/freebsd-13.1/sys/contrib/openzfs/lib/libzfs/
H A Dlibzfs_pool.c73 zpool_get_all_props(zpool_handle_t *zhp) in zpool_get_all_props()
469 zpool_handle_t *zhp; in zpool_valid_proplist()
1066 zpool_handle_t *
1069 zpool_handle_t *zhp; in zpool_open_canfail()
1111 zpool_handle_t *zhp; in zpool_open_silent()
1139 zpool_handle_t *
1142 zpool_handle_t *zhp; in zpool_open()
1161 zpool_close(zpool_handle_t *zhp) in zpool_close()
1173 zpool_get_name(zpool_handle_t *zhp) in zpool_get_name()
2137 zpool_handle_t *zhp; in zpool_import_props()
[all …]
H A Dlibzfs_config.c220 zpool_get_config(zpool_handle_t *zhp, nvlist_t **oldconfig) in zpool_get_config()
232 zpool_get_features(zpool_handle_t *zhp) in zpool_get_features()
265 zpool_refresh_stats(zpool_handle_t *zhp, boolean_t *missing) in zpool_refresh_stats()
392 zpool_handle_t *zhp; in zpool_iter()
H A Dlibzfs_import.c50 zpool_handle_t *zhp; in pool_active()
263 zpool_handle_t *cb_zhp;
267 find_aux(zpool_handle_t *zhp, void *data) in find_aux()
307 zpool_handle_t *zhp; in zpool_in_use()
/freebsd-13.1/cddl/usr.sbin/zfsd/tests/
H A Dlibmocks.h45 typedef struct zpool_handle zpool_handle_t; typedef
46 typedef int (*zpool_iter_f)(zpool_handle_t *, void *);
/freebsd-13.1/sys/contrib/openzfs/cmd/zed/agents/
H A Dzfs_retire.c76 zpool_handle_t *cb_zhp;
81 find_pool(zpool_handle_t *zhp, void *data) in find_pool()
146 static zpool_handle_t *
151 zpool_handle_t *zhp; in find_by_guid()
185 replace_with_spare(fmd_hdl_t *hdl, zpool_handle_t *zhp, nvlist_t *vdev) in replace_with_spare()
310 zpool_handle_t *zhp; in zfs_retire_recv()
H A Dzfs_mod.c94 typedef void (*zfs_process_func_t)(zpool_handle_t *, nvlist_t *, boolean_t);
104 zpool_handle_t *uap_zhp;
114 zfs_toplevel_state(zpool_handle_t *zhp) in zfs_toplevel_state()
128 zfs_unavail_pool(zpool_handle_t *zhp, void *data) in zfs_unavail_pool()
179 zfs_process_add(zpool_handle_t *zhp, nvlist_t *vdev, boolean_t labeled) in zfs_process_add()
532 zfs_iter_vdev(zpool_handle_t *zhp, nvlist_t *nvl, void *data) in zfs_iter_vdev()
618 zfs_iter_pool(zpool_handle_t *zhp, void *data) in zfs_iter_pool()
898 zfsdle_vdev_online(zpool_handle_t *zhp, void *data) in zfsdle_vdev_online()
/freebsd-13.1/sys/contrib/openzfs/lib/libzfsbootenv/
H A Dlzbe_device.c31 zpool_handle_t *zphdl; in lzbe_set_boot_device()
116 zpool_handle_t *zphdl; in lzbe_get_boot_device()
H A Dlzbe_pair.c30 zpool_handle_t *zphdl; in lzbe_nvlist_get()
77 zpool_handle_t *zphdl; in lzbe_nvlist_set()
/freebsd-13.1/sys/contrib/openzfs/cmd/zpool/os/freebsd/
H A Dzpool_vdev_os.c106 after_zpool_upgrade(zpool_handle_t *zhp) in after_zpool_upgrade()
/freebsd-13.1/lib/libbe/
H A Dbe_impl.h42 zpool_handle_t *active_phandle;

12