Lines Matching refs:zpool_handle_t
206 typedef struct zpool_handle zpool_handle_t; typedef
209 _LIBZFS_H int zpool_wait(zpool_handle_t *, zpool_wait_activity_t);
210 _LIBZFS_H int zpool_wait_status(zpool_handle_t *, zpool_wait_activity_t,
219 _LIBZFS_H libzfs_handle_t *zpool_get_handle(zpool_handle_t *);
244 _LIBZFS_H zpool_handle_t *zpool_open(libzfs_handle_t *, const char *);
245 _LIBZFS_H zpool_handle_t *zpool_open_canfail(libzfs_handle_t *, const char *);
246 _LIBZFS_H void zpool_close(zpool_handle_t *);
247 _LIBZFS_H const char *zpool_get_name(zpool_handle_t *);
248 _LIBZFS_H int zpool_get_state(zpool_handle_t *);
256 typedef int (*zpool_iter_f)(zpool_handle_t *, void *);
265 _LIBZFS_H int zpool_destroy(zpool_handle_t *, const char *);
266 _LIBZFS_H int zpool_add(zpool_handle_t *, nvlist_t *, boolean_t check_ashift);
294 _LIBZFS_H int zpool_scan(zpool_handle_t *, pool_scan_func_t, pool_scrub_cmd_t);
295 _LIBZFS_H int zpool_initialize(zpool_handle_t *, pool_initialize_func_t,
297 _LIBZFS_H int zpool_initialize_wait(zpool_handle_t *, pool_initialize_func_t,
299 _LIBZFS_H int zpool_trim(zpool_handle_t *, pool_trim_func_t, nvlist_t *,
302 _LIBZFS_H int zpool_clear(zpool_handle_t *, const char *, nvlist_t *);
303 _LIBZFS_H int zpool_reguid(zpool_handle_t *);
304 _LIBZFS_H int zpool_set_guid(zpool_handle_t *, const uint64_t *);
305 _LIBZFS_H int zpool_reopen_one(zpool_handle_t *, void *);
307 _LIBZFS_H int zpool_sync_one(zpool_handle_t *, void *);
309 _LIBZFS_H int zpool_ddt_prune(zpool_handle_t *, zpool_ddt_prune_unit_t,
312 _LIBZFS_H int zpool_vdev_online(zpool_handle_t *, const char *, int,
314 _LIBZFS_H int zpool_vdev_offline(zpool_handle_t *, const char *, boolean_t);
315 _LIBZFS_H int zpool_vdev_attach(zpool_handle_t *, const char *,
317 _LIBZFS_H int zpool_vdev_detach(zpool_handle_t *, const char *);
318 _LIBZFS_H int zpool_vdev_remove(zpool_handle_t *, const char *);
319 _LIBZFS_H int zpool_vdev_remove_cancel(zpool_handle_t *);
320 _LIBZFS_H int zpool_vdev_indirect_size(zpool_handle_t *, const char *,
322 _LIBZFS_H int zpool_vdev_split(zpool_handle_t *, char *, nvlist_t **,
324 _LIBZFS_H int zpool_vdev_remove_wanted(zpool_handle_t *, const char *);
326 _LIBZFS_H int zpool_vdev_fault(zpool_handle_t *, uint64_t, vdev_aux_t);
327 _LIBZFS_H int zpool_vdev_degrade(zpool_handle_t *, uint64_t, vdev_aux_t);
328 _LIBZFS_H int zpool_vdev_set_removed_state(zpool_handle_t *, uint64_t,
331 _LIBZFS_H int zpool_vdev_clear(zpool_handle_t *, uint64_t);
333 _LIBZFS_H nvlist_t *zpool_find_vdev(zpool_handle_t *, const char *, boolean_t *,
335 _LIBZFS_H nvlist_t *zpool_find_parent_vdev(zpool_handle_t *, const char *,
337 _LIBZFS_H nvlist_t *zpool_find_vdev_by_physpath(zpool_handle_t *, const char *,
339 _LIBZFS_H int zpool_label_disk(libzfs_handle_t *, zpool_handle_t *,
341 _LIBZFS_H int zpool_prepare_disk(zpool_handle_t *zhp, nvlist_t *vdev_nv,
344 zpool_handle_t *, const char *, nvlist_t *vdev_nv, const char *prepare_str,
350 _LIBZFS_H uint64_t zpool_vdev_path_to_guid(zpool_handle_t *zhp,
353 _LIBZFS_H const char *zpool_get_state_str(zpool_handle_t *);
358 _LIBZFS_H int zpool_set_prop(zpool_handle_t *, const char *, const char *);
359 _LIBZFS_H int zpool_get_prop(zpool_handle_t *, zpool_prop_t, char *,
361 _LIBZFS_H int zpool_get_userprop(zpool_handle_t *, const char *, char *,
363 _LIBZFS_H uint64_t zpool_get_prop_int(zpool_handle_t *, zpool_prop_t,
365 _LIBZFS_H int zpool_props_refresh(zpool_handle_t *);
375 _LIBZFS_H int zpool_get_vdev_prop(zpool_handle_t *, const char *, vdev_prop_t,
377 _LIBZFS_H int zpool_get_all_vdev_props(zpool_handle_t *, const char *,
379 _LIBZFS_H int zpool_set_vdev_prop(zpool_handle_t *, const char *, const char *,
456 _LIBZFS_H zpool_status_t zpool_get_status(zpool_handle_t *, const char **,
464 _LIBZFS_H nvlist_t *zpool_get_config(zpool_handle_t *, nvlist_t **);
465 _LIBZFS_H nvlist_t *zpool_get_features(zpool_handle_t *);
466 _LIBZFS_H int zpool_refresh_stats(zpool_handle_t *, boolean_t *);
467 _LIBZFS_H int zpool_get_errlog(zpool_handle_t *, nvlist_t **);
468 _LIBZFS_H void zpool_add_propname(zpool_handle_t *, const char *);
473 _LIBZFS_H int zpool_export(zpool_handle_t *, boolean_t, const char *);
474 _LIBZFS_H int zpool_export_force(zpool_handle_t *, const char *);
496 _LIBZFS_H char *zpool_vdev_name(libzfs_handle_t *, zpool_handle_t *, nvlist_t *,
498 _LIBZFS_H int zpool_upgrade(zpool_handle_t *, uint64_t);
499 _LIBZFS_H int zpool_get_history(zpool_handle_t *, nvlist_t **, uint64_t *,
505 _LIBZFS_H void zpool_obj_to_path_ds(zpool_handle_t *, uint64_t, uint64_t,
507 _LIBZFS_H void zpool_obj_to_path(zpool_handle_t *, uint64_t, uint64_t, char *,
512 _LIBZFS_H int zpool_checkpoint(zpool_handle_t *);
513 _LIBZFS_H int zpool_discard_checkpoint(zpool_handle_t *);
516 _LIBZFS_H int zpool_prefetch(zpool_handle_t *, zpool_prefetch_type_t);
528 _LIBZFS_H zpool_handle_t *zfs_get_pool_handle(const zfs_handle_t *);
545 nvlist_t *, uint64_t, zfs_handle_t *, zpool_handle_t *, boolean_t,
609 _LIBZFS_H int vdev_expand_proplist(zpool_handle_t *, const char *,
625 _LIBZFS_H int zpool_expand_proplist(zpool_handle_t *, zprop_list_t **,
627 _LIBZFS_H int zpool_prop_get_feature(zpool_handle_t *, const char *, char *,
853 _LIBZFS_H uint64_t zvol_volsize_to_reservation(zpool_handle_t *, uint64_t,
1016 _LIBZFS_H int zpool_set_bootenv(zpool_handle_t *, const nvlist_t *);
1017 _LIBZFS_H int zpool_get_bootenv(zpool_handle_t *, nvlist_t **);
1033 _LIBZFS_H int zpool_enable_datasets(zpool_handle_t *, const char *, int,
1035 _LIBZFS_H int zpool_disable_datasets(zpool_handle_t *, boolean_t);
1036 _LIBZFS_H void zpool_disable_datasets_os(zpool_handle_t *, boolean_t);