Home
last modified time | relevance | path

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

12

/f-stack/freebsd/contrib/openzfs/include/
H A Dlibzfs.h195 typedef struct zpool_handle zpool_handle_t; typedef
235 extern void zpool_close(zpool_handle_t *);
236 extern const char *zpool_get_name(zpool_handle_t *);
237 extern int zpool_get_state(zpool_handle_t *);
245 typedef int (*zpool_iter_f)(zpool_handle_t *, void *);
255 extern int zpool_add(zpool_handle_t *, nvlist_t *);
292 extern int zpool_reguid(zpool_handle_t *);
295 extern int zpool_sync_one(zpool_handle_t *, void *);
320 const char *zpool_get_state_str(zpool_handle_t *);
330 extern int zpool_props_refresh(zpool_handle_t *);
[all …]
H A Dlibzfs_impl.h52 zpool_handle_t *libzfs_pool_handles;
79 zpool_handle_t *zpool_hdl;
100 zpool_handle_t *zpool_next;
200 int zpool_open_silent(libzfs_handle_t *, const char *, zpool_handle_t **);
/f-stack/freebsd/contrib/openzfs/cmd/zpool/
H A Dzpool_util.h57 nvlist_t *make_root_vdev(zpool_handle_t *zhp, nvlist_t *props, int force,
60 nvlist_t *split_mirror_vdev(zpool_handle_t *zhp, char *newname,
70 typedef int (*pool_vdev_iter_f)(zpool_handle_t *, nvlist_t *, void *);
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 *);
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()
268 for_each_vdev_cb(zpool_handle_t *zhp, nvlist_t *nv, pool_vdev_iter_f func, in for_each_vdev_cb()
322 for_each_vdev(zpool_handle_t *zhp, pool_vdev_iter_f func, void *data) in for_each_vdev()
601 for_each_vdev_run_cb(zpool_handle_t *zhp, nvlist_t *nv, void *cb_vcdl) in for_each_vdev_run_cb()
667 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.c559 zpool_handle_t *zhp; in zpool_do_initialize()
884 zpool_handle_t *zhp; in zpool_do_add()
1707 zpool_handle_t *zhp; in zpool_do_destroy()
2973 zpool_handle_t *zhp; in do_import()
3126 zpool_handle_t *zhp; in zpool_do_checkpoint()
6245 zpool_handle_t *zhp; in zpool_do_attach_or_replace()
6422 zpool_handle_t *zhp; in zpool_do_detach()
6494 zpool_handle_t *zhp; in zpool_do_split()
6654 zpool_handle_t *zhp; in zpool_do_online()
6729 zpool_handle_t *zhp; in zpool_do_offline()
[all …]
H A Dzpool_vdev.c935 make_disks(zpool_handle_t *zhp, nvlist_t *nv) in make_disks()
1730 split_mirror_vdev(zpool_handle_t *zhp, char *newname, nvlist_t *props, in split_mirror_vdev()
1810 make_root_vdev(zpool_handle_t *zhp, nvlist_t *props, int force, int check_rep, in make_root_vdev()
/f-stack/freebsd/contrib/openzfs/lib/libzfs/
H A Dlibzfs_pool.c69 zpool_get_all_props(zpool_handle_t *zhp) in zpool_get_all_props()
464 zpool_handle_t *zhp; in zpool_valid_proplist()
1045 zpool_handle_t *
1048 zpool_handle_t *zhp; in zpool_open_canfail()
1090 zpool_handle_t *zhp; in zpool_open_silent()
1118 zpool_handle_t *
1121 zpool_handle_t *zhp; in zpool_open()
1140 zpool_close(zpool_handle_t *zhp) in zpool_close()
1152 zpool_get_name(zpool_handle_t *zhp) in zpool_get_name()
2073 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()
H A Dlibzfs_dataset.c262 static zpool_handle_t *
266 zpool_handle_t *zph; in zpool_add_handle()
276 static zpool_handle_t *
280 zpool_handle_t *zph = hdl->libzfs_pool_handles; in zpool_find_handle()
293 static zpool_handle_t *
298 zpool_handle_t *zph; in zpool_handle()
315 zpool_handle_t *next, *zph = hdl->libzfs_pool_handles; in zpool_free_handles()
970 zpool_handle_t *zpool_handle = zhp->zpool_hdl; in zfs_spa_version()
1597 zpool_handle_t *zph = zpool_handle(zhp); in zfs_add_synthetic_resv()
3617 zpool_handle_t *zpool_handle; in zfs_create()
[all …]
H A Dlibzfs_status.c485 zpool_get_status(zpool_handle_t *zhp, char **msgid, zpool_errata_t *errata) in zpool_get_status()
H A Dlibzfs_mount.c1414 zpool_enable_datasets(zpool_handle_t *zhp, const char *mntopts, int flags) in zpool_enable_datasets()
1484 zpool_disable_datasets(zpool_handle_t *zhp, boolean_t force) in zpool_disable_datasets()
H A Dlibzfs_util.c1110 zpool_get_handle(zpool_handle_t *zhp)
1121 zpool_handle_t *
/f-stack/freebsd/contrib/openzfs/cmd/zed/agents/
H A Dzfs_retire.c75 zpool_handle_t *cb_zhp;
80 find_pool(zpool_handle_t *zhp, void *data) in find_pool()
145 static zpool_handle_t *
150 zpool_handle_t *zhp; in find_by_guid()
184 replace_with_spare(fmd_hdl_t *hdl, zpool_handle_t *zhp, nvlist_t *vdev) in replace_with_spare()
309 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()
470 zfs_iter_vdev(zpool_handle_t *zhp, nvlist_t *nvl, void *data) in zfs_iter_vdev()
553 zfs_iter_pool(zpool_handle_t *zhp, void *data) in zfs_iter_pool()
723 zfsdle_vdev_online(zpool_handle_t *zhp, void *data) in zfsdle_vdev_online()
H A Dzfs_agents.c76 zfs_agent_iter_vdev(zpool_handle_t *zhp, nvlist_t *nvl, void *arg) in zfs_agent_iter_vdev()
133 zfs_agent_iter_pool(zpool_handle_t *zhp, void *arg) in zfs_agent_iter_pool()
H A Dzfs_diagnosis.c214 zfs_mark_pool(zpool_handle_t *zhp, void *unused) in zfs_mark_pool()
274 zpool_find_load_time(zpool_handle_t *zhp, void *arg) in zpool_find_load_time()
/f-stack/freebsd/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()
H A Dlzbe_pair.c30 zpool_handle_t *zphdl; in lzbe_nvlist_get()
77 zpool_handle_t *zphdl; in lzbe_nvlist_set()
/f-stack/freebsd/contrib/openzfs/cmd/zfs_ids_to_path/
H A Dzfs_ids_to_path.c77 zpool_handle_t *pool = zpool_open(g_zfs, argv[0]); in main()
/f-stack/freebsd/contrib/openzfs/lib/libzfs/os/freebsd/
H A Dlibzfs_compat.c236 zpool_label_disk(libzfs_handle_t *hdl, zpool_handle_t *zhp, const char *name) in zpool_label_disk()
/f-stack/freebsd/contrib/openzfs/lib/libzfs/os/linux/
H A Dlibzfs_pool_os.c212 zpool_label_disk(libzfs_handle_t *hdl, zpool_handle_t *zhp, const char *name) in zpool_label_disk()
/f-stack/freebsd/contrib/openzfs/cmd/zinject/
H A Dtranslate.c335 zpool_handle_t *zhp; in translate_device()
/f-stack/freebsd/contrib/openzfs/cmd/zfs/
H A Dzfs_iter.c79 zpool_handle_t *zph; in zfs_include_snapshots()
/f-stack/freebsd/contrib/openzfs/cmd/zpool_influxdb/
H A Dzpool_influxdb.c705 print_stats(zpool_handle_t *zhp, void *data) in print_stats()

12