Home
last modified time | relevance | path

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

123

/freebsd-14.2/sys/contrib/openzfs/include/
H A Dlibzfs.h205 typedef struct zpool_handle zpool_handle_t; typedef
245 _LIBZFS_H void zpool_close(zpool_handle_t *);
246 _LIBZFS_H const char *zpool_get_name(zpool_handle_t *);
247 _LIBZFS_H int zpool_get_state(zpool_handle_t *);
255 typedef int (*zpool_iter_f)(zpool_handle_t *, void *);
302 _LIBZFS_H int zpool_reguid(zpool_handle_t *);
303 _LIBZFS_H int zpool_reopen_one(zpool_handle_t *, void *);
305 _LIBZFS_H int zpool_sync_one(zpool_handle_t *, void *);
358 _LIBZFS_H int zpool_props_refresh(zpool_handle_t *);
489 _LIBZFS_H int zpool_upgrade(zpool_handle_t *, uint64_t);
[all …]
/freebsd-14.2/sys/contrib/openzfs/cmd/zpool/
H A Dzpool_util.h59 nvlist_t *make_root_vdev(zpool_handle_t *zhp, nvlist_t *props, int force,
62 nvlist_t *split_mirror_vdev(zpool_handle_t *zhp, char *newname,
72 int for_each_vdev(zpool_handle_t *zhp, pool_vdev_iter_f func, void *data);
82 void pool_list_remove(zpool_list_t *, zpool_handle_t *);
138 void after_zpool_upgrade(zpool_handle_t *zhp);
141 int zpool_power(zpool_handle_t *zhp, char *vdev, boolean_t turn_on);
142 int zpool_power_current_state(zpool_handle_t *zhp, char *vdev);
H A Dzpool_iter.c52 zpool_handle_t *zn_handle;
70 zpool_handle_t *l = ((zpool_node_t *)larg)->zn_handle; in zpool_compare()
71 zpool_handle_t *r = ((zpool_node_t *)rarg)->zn_handle; in zpool_compare()
83 add_pool(zpool_handle_t *zhp, void *data) in add_pool()
145 zpool_handle_t *zhp; in pool_list_get()
197 pool_list_remove(zpool_list_t *zlp, zpool_handle_t *zhp) in pool_list_remove()
280 for_each_vdev(zpool_handle_t *zhp, pool_vdev_iter_f func, void *data) in for_each_vdev()
552 zpool_handle_t *zhp = zhp_data; in for_each_vdev_run_cb()
615 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.c688 zpool_handle_t *zhp; in zpool_do_initialize()
1047 zpool_handle_t *zhp; in zpool_do_add()
1972 zpool_handle_t *zhp; in zpool_do_destroy()
3347 zpool_handle_t *zhp; in do_import()
3624 zpool_handle_t *zhp; in zpool_do_checkpoint()
6711 zpool_handle_t *zhp; in zpool_do_attach_or_replace()
6886 zpool_handle_t *zhp; in zpool_do_detach()
6959 zpool_handle_t *zhp; in zpool_do_split()
7125 zpool_handle_t *zhp; in zpool_do_online()
7247 zpool_handle_t *zhp; in zpool_do_offline()
[all …]
/freebsd-14.2/cddl/usr.sbin/zfsd/
H A Dzpool_list.h52 typedef struct zpool_handle zpool_handle_t; typedef
62 typedef bool PoolFilter_t(zpool_handle_t *pool, nvlist_t *poolConfig,
71 class ZpoolList : public std::list<zpool_handle_t *>
117 static int LoadIterator(zpool_handle_t *pool, void *data);
H A Dzpool_list.cc67 ZpoolList::ZpoolAll(zpool_handle_t *pool, nvlist_t *poolConfig, void *cbArg) in ZpoolAll()
73 ZpoolList::ZpoolByGUID(zpool_handle_t *pool, nvlist_t *poolConfig, in ZpoolByGUID()
86 ZpoolList::ZpoolByName(zpool_handle_t *pool, nvlist_t *poolConfig, void *cbArg) in ZpoolByName()
95 ZpoolList::LoadIterator(zpool_handle_t *pool, void *data) in LoadIterator()
H A Dvdev.h50 typedef struct zpool_handle zpool_handle_t; typedef
78 Vdev(zpool_handle_t *pool, nvlist_t *vdevConfig);
133 virtual std::string Name(zpool_handle_t *, bool verbose) const;
H A Dzfsd_exception.h49 typedef struct zpool_handle zpool_handle_t; typedef
82 ZfsdException(zpool_handle_t *pool, const char *, ...);
H A Dvdev_iterator.h47 typedef struct zpool_handle zpool_handle_t; typedef
70 VdevIterator(zpool_handle_t *pool);
H A Dzfsd.h63 typedef struct zpool_handle zpool_handle_t; typedef
71 typedef int LeafIterFunc(zpool_handle_t *, nvlist_t *, void *);
H A Dcase_file.cc248 zpool_handle_t *casePool(zpl.empty() ? NULL : zpl.front()); in RefreshVdevState()
266 zpool_handle_t *pool(zpl.empty() ? NULL : zpl.front()); in ReEvaluate()
525 zpool_handle_t *zhp(zpl.empty() ? NULL : zpl.front()); in ActivateSpare()
872 zpool_handle_t *zhp(zpl.empty() ? NULL : zpl.front()); in CaseFile()
1022 zpool_handle_t *zhp(zpl.empty() ? NULL : zpl.front()); in OnGracePeriodEnded()
1083 CaseFile::BeingReplacedBy(zpool_handle_t *zhp) { in BeingReplacedBy()
1133 zpool_handle_t *zhp(zpl.empty() ? NULL : zpl.front()); in Replace()
1214 zpool_handle_t *zhp(zpl.empty() ? NULL : zpl.front()); in GetVdevProp()
1259 CaseFile::CaseVdev(zpool_handle_t *zhp) const in CaseVdev()
H A Dcase_file.h379 Vdev BeingReplacedBy(zpool_handle_t *zhp);
419 nvlist_t *CaseVdev(zpool_handle_t *zhp) const;
H A Dzfsd_event.cc397 zpool_handle_t* hdl; in CleanupSpares()
453 zpool_handle_t *hdl(static_cast<zpool_handle_t*>(cbArg)); in TryDetach()
H A Dvdev.cc103 Vdev::Vdev(zpool_handle_t *pool, nvlist_t *config) in Vdev()
326 Vdev::Name(zpool_handle_t *zhp, bool verbose) const in Name()
/freebsd-14.2/sys/contrib/openzfs/lib/libzfs/
H A Dlibzfs_pool.c75 zpool_get_all_props(zpool_handle_t *zhp) in zpool_get_all_props()
498 zpool_handle_t *zhp; in zpool_valid_proplist()
1257 zpool_handle_t *
1260 zpool_handle_t *zhp; in zpool_open_canfail()
1301 zpool_handle_t *zhp; in zpool_open_silent()
1328 zpool_handle_t *
1331 zpool_handle_t *zhp; in zpool_open()
1350 zpool_close(zpool_handle_t *zhp) in zpool_close()
1362 zpool_get_name(zpool_handle_t *zhp) in zpool_get_name()
2305 zpool_handle_t *zhp; in zpool_import_props()
[all …]
H A Dlibzfs_impl.h52 zpool_handle_t *libzfs_pool_handles;
79 zpool_handle_t *zpool_hdl;
100 zpool_handle_t *zpool_next;
189 zpool_handle_t **);
H A Dlibzfs_import.c50 zpool_handle_t *zhp; in pool_active()
244 zpool_handle_t *cb_zhp;
248 find_aux(zpool_handle_t *zhp, void *data) in find_aux()
286 zpool_handle_t *zhp; in zpool_in_use()
H A Dlibzfs_config.c204 zpool_get_config(zpool_handle_t *zhp, nvlist_t **oldconfig) in zpool_get_config()
216 zpool_get_features(zpool_handle_t *zhp) in zpool_get_features()
249 zpool_refresh_stats(zpool_handle_t *zhp, boolean_t *missing) in zpool_refresh_stats()
372 zpool_handle_t *zhp; in zpool_iter()
/freebsd-14.2/sys/contrib/openzfs/cmd/zpool/os/freebsd/
H A Dzpool_vdev_os.c108 after_zpool_upgrade(zpool_handle_t *zhp) in after_zpool_upgrade()
129 zpool_power_current_state(zpool_handle_t *zhp, char *vdev) in zpool_power_current_state()
139 zpool_power(zpool_handle_t *zhp, char *vdev, boolean_t turn_on) in zpool_power()
/freebsd-14.2/cddl/usr.sbin/zfsd/tests/
H A Dlibmocks.h43 typedef struct zpool_handle zpool_handle_t; typedef
44 typedef int (*zpool_iter_f)(zpool_handle_t *, void *);
/freebsd-14.2/sys/contrib/openzfs/cmd/zed/agents/
H A Dzfs_retire.c77 zpool_handle_t *cb_zhp;
84 find_pool(zpool_handle_t *zhp, void *data) in find_pool()
147 remove_spares(zpool_handle_t *zhp, void *data) in remove_spares()
207 static zpool_handle_t *
212 zpool_handle_t *zhp; in find_by_guid()
246 replace_with_spare(fmd_hdl_t *hdl, zpool_handle_t *zhp, nvlist_t *vdev) in replace_with_spare()
370 zpool_handle_t *zhp; in zfs_retire_recv()
H A Dzfs_mod.c95 typedef void (*zfs_process_func_t)(zpool_handle_t *, nvlist_t *, boolean_t);
105 zpool_handle_t *uap_zhp;
115 zfs_toplevel_state(zpool_handle_t *zhp) in zfs_toplevel_state()
129 zfs_unavail_pool(zpool_handle_t *zhp, void *data) in zfs_unavail_pool()
196 zfs_process_add(zpool_handle_t *zhp, nvlist_t *vdev, boolean_t labeled) in zfs_process_add()
612 zfs_iter_vdev(zpool_handle_t *zhp, nvlist_t *nvl, void *data) in zfs_iter_vdev()
711 zfs_iter_pool(zpool_handle_t *zhp, void *data) in zfs_iter_pool()
1000 vdev_size_from_config(zpool_handle_t *zhp, const char *vdev_path) in vdev_size_from_config()
1033 vdev_whole_disk_from_config(zpool_handle_t *zhp, const char *vdev_path) in vdev_whole_disk_from_config()
1056 zfsdle_vdev_online(zpool_handle_t *zhp, void *data) in zfsdle_vdev_online()
/freebsd-14.2/sys/contrib/openzfs/cmd/zpool/os/linux/
H A Dzpool_vdev_os.c409 after_zpool_upgrade(zpool_handle_t *zhp) in after_zpool_upgrade()
528 zpool_power_sysfs_path(zpool_handle_t *zhp, char *vdev) in zpool_power_sysfs_path()
590 zpool_power_current_state(zpool_handle_t *zhp, char *vdev) in zpool_power_current_state()
625 zpool_power(zpool_handle_t *zhp, char *vdev, boolean_t turn_on) in zpool_power()
/freebsd-14.2/sys/contrib/openzfs/lib/libzfsbootenv/
H A Dlzbe_device.c31 zpool_handle_t *zphdl; in lzbe_set_boot_device()
117 zpool_handle_t *zphdl; in lzbe_get_boot_device()
/freebsd-14.2/lib/libbe/
H A Dbe_impl.h40 zpool_handle_t *active_phandle;

123