Lines Matching defs:zpool_handle_t

205 typedef struct zpool_handle zpool_handle_t;
208 _LIBZFS_H int zpool_wait(zpool_handle_t *, zpool_wait_activity_t);
209 _LIBZFS_H int zpool_wait_status(zpool_handle_t *, zpool_wait_activity_t,
218 _LIBZFS_H libzfs_handle_t *zpool_get_handle(zpool_handle_t *);
243 _LIBZFS_H zpool_handle_t *zpool_open(libzfs_handle_t *, const char *);
244 _LIBZFS_H zpool_handle_t *zpool_open_canfail(libzfs_handle_t *, const char *);
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 *);
264 _LIBZFS_H int zpool_destroy(zpool_handle_t *, const char *);
265 _LIBZFS_H int zpool_add(zpool_handle_t *, nvlist_t *, boolean_t check_ashift);
293 _LIBZFS_H int zpool_scan(zpool_handle_t *, pool_scan_func_t, pool_scrub_cmd_t);
294 _LIBZFS_H int zpool_initialize(zpool_handle_t *, pool_initialize_func_t,
296 _LIBZFS_H int zpool_initialize_wait(zpool_handle_t *, pool_initialize_func_t,
298 _LIBZFS_H int zpool_trim(zpool_handle_t *, pool_trim_func_t, nvlist_t *,
301 _LIBZFS_H int zpool_clear(zpool_handle_t *, const char *, nvlist_t *);
302 _LIBZFS_H int zpool_reguid(zpool_handle_t *);
303 _LIBZFS_H int zpool_set_guid(zpool_handle_t *, const uint64_t *);
304 _LIBZFS_H int zpool_reopen_one(zpool_handle_t *, void *);
306 _LIBZFS_H int zpool_sync_one(zpool_handle_t *, void *);
308 _LIBZFS_H int zpool_ddt_prune(zpool_handle_t *, zpool_ddt_prune_unit_t,
311 _LIBZFS_H int zpool_vdev_online(zpool_handle_t *, const char *, int,
313 _LIBZFS_H int zpool_vdev_offline(zpool_handle_t *, const char *, boolean_t);
314 _LIBZFS_H int zpool_vdev_attach(zpool_handle_t *, const char *,
316 _LIBZFS_H int zpool_vdev_detach(zpool_handle_t *, const char *);
317 _LIBZFS_H int zpool_vdev_remove(zpool_handle_t *, const char *);
318 _LIBZFS_H int zpool_vdev_remove_cancel(zpool_handle_t *);
319 _LIBZFS_H int zpool_vdev_indirect_size(zpool_handle_t *, const char *,
321 _LIBZFS_H int zpool_vdev_split(zpool_handle_t *, char *, nvlist_t **,
323 _LIBZFS_H int zpool_vdev_remove_wanted(zpool_handle_t *, const char *);
325 _LIBZFS_H int zpool_vdev_fault(zpool_handle_t *, uint64_t, vdev_aux_t);
326 _LIBZFS_H int zpool_vdev_degrade(zpool_handle_t *, uint64_t, vdev_aux_t);
327 _LIBZFS_H int zpool_vdev_set_removed_state(zpool_handle_t *, uint64_t,
330 _LIBZFS_H int zpool_vdev_clear(zpool_handle_t *, uint64_t);
332 _LIBZFS_H nvlist_t *zpool_find_vdev(zpool_handle_t *, const char *, boolean_t *,
334 _LIBZFS_H nvlist_t *zpool_find_parent_vdev(zpool_handle_t *, const char *,
336 _LIBZFS_H nvlist_t *zpool_find_vdev_by_physpath(zpool_handle_t *, const char *,
338 _LIBZFS_H int zpool_label_disk(libzfs_handle_t *, zpool_handle_t *,
340 _LIBZFS_H int zpool_prepare_disk(zpool_handle_t *zhp, nvlist_t *vdev_nv,
343 zpool_handle_t *, const char *, nvlist_t *vdev_nv, const char *prepare_str,
349 _LIBZFS_H uint64_t zpool_vdev_path_to_guid(zpool_handle_t *zhp,
352 _LIBZFS_H const char *zpool_get_state_str(zpool_handle_t *);
357 _LIBZFS_H int zpool_set_prop(zpool_handle_t *, const char *, const char *);
358 _LIBZFS_H int zpool_get_prop(zpool_handle_t *, zpool_prop_t, char *,
360 _LIBZFS_H int zpool_get_userprop(zpool_handle_t *, const char *, char *,
362 _LIBZFS_H uint64_t zpool_get_prop_int(zpool_handle_t *, zpool_prop_t,
364 _LIBZFS_H int zpool_props_refresh(zpool_handle_t *);
374 _LIBZFS_H int zpool_get_vdev_prop(zpool_handle_t *, const char *, vdev_prop_t,
376 _LIBZFS_H int zpool_get_all_vdev_props(zpool_handle_t *, const char *,
378 _LIBZFS_H int zpool_set_vdev_prop(zpool_handle_t *, const char *, const char *,
455 _LIBZFS_H zpool_status_t zpool_get_status(zpool_handle_t *, const char **,
463 _LIBZFS_H nvlist_t *zpool_get_config(zpool_handle_t *, nvlist_t **);
464 _LIBZFS_H nvlist_t *zpool_get_features(zpool_handle_t *);
465 _LIBZFS_H int zpool_refresh_stats(zpool_handle_t *, boolean_t *);
466 _LIBZFS_H int zpool_get_errlog(zpool_handle_t *, nvlist_t **);
467 _LIBZFS_H void zpool_add_propname(zpool_handle_t *, const char *);
472 _LIBZFS_H int zpool_export(zpool_handle_t *, boolean_t, const char *);
473 _LIBZFS_H int zpool_export_force(zpool_handle_t *, const char *);
495 _LIBZFS_H char *zpool_vdev_name(libzfs_handle_t *, zpool_handle_t *, nvlist_t *,
497 _LIBZFS_H int zpool_upgrade(zpool_handle_t *, uint64_t);
498 _LIBZFS_H int zpool_get_history(zpool_handle_t *, nvlist_t **, uint64_t *,
504 _LIBZFS_H void zpool_obj_to_path_ds(zpool_handle_t *, uint64_t, uint64_t,
506 _LIBZFS_H void zpool_obj_to_path(zpool_handle_t *, uint64_t, uint64_t, char *,
511 _LIBZFS_H int zpool_checkpoint(zpool_handle_t *);
512 _LIBZFS_H int zpool_discard_checkpoint(zpool_handle_t *);
515 _LIBZFS_H int zpool_prefetch(zpool_handle_t *, zpool_prefetch_type_t);
527 _LIBZFS_H zpool_handle_t *zfs_get_pool_handle(const zfs_handle_t *);
544 nvlist_t *, uint64_t, zfs_handle_t *, zpool_handle_t *, boolean_t,
607 _LIBZFS_H int vdev_expand_proplist(zpool_handle_t *, const char *,
623 _LIBZFS_H int zpool_expand_proplist(zpool_handle_t *, zprop_list_t **,
625 _LIBZFS_H int zpool_prop_get_feature(zpool_handle_t *, const char *, char *,
851 _LIBZFS_H uint64_t zvol_volsize_to_reservation(zpool_handle_t *, uint64_t,
1014 _LIBZFS_H int zpool_set_bootenv(zpool_handle_t *, const nvlist_t *);
1015 _LIBZFS_H int zpool_get_bootenv(zpool_handle_t *, nvlist_t **);
1031 _LIBZFS_H int zpool_enable_datasets(zpool_handle_t *, const char *, int,
1033 _LIBZFS_H int zpool_disable_datasets(zpool_handle_t *, boolean_t);
1034 _LIBZFS_H void zpool_disable_datasets_os(zpool_handle_t *, boolean_t);