Lines Matching refs:zfs_handle_t

206 typedef struct zfs_handle zfs_handle_t;  typedef
221 _LIBZFS_H libzfs_handle_t *zfs_get_handle(zfs_handle_t *);
537 _LIBZFS_H zfs_handle_t *zfs_open(libzfs_handle_t *, const char *, int);
538 _LIBZFS_H zfs_handle_t *zfs_handle_dup(zfs_handle_t *);
539 _LIBZFS_H void zfs_close(zfs_handle_t *);
540 _LIBZFS_H zfs_type_t zfs_get_type(const zfs_handle_t *);
541 _LIBZFS_H zfs_type_t zfs_get_underlying_type(const zfs_handle_t *);
542 _LIBZFS_H const char *zfs_get_name(const zfs_handle_t *);
543 _LIBZFS_H zpool_handle_t *zfs_get_pool_handle(const zfs_handle_t *);
544 _LIBZFS_H const char *zfs_get_pool_name(const zfs_handle_t *);
560 nvlist_t *, uint64_t, zfs_handle_t *, zpool_handle_t *, boolean_t,
564 _LIBZFS_H int zfs_prop_set(zfs_handle_t *, const char *, const char *);
565 _LIBZFS_H int zfs_prop_set_list(zfs_handle_t *, nvlist_t *);
566 _LIBZFS_H int zfs_prop_set_list_flags(zfs_handle_t *, nvlist_t *, int);
567 _LIBZFS_H int zfs_prop_get(zfs_handle_t *, zfs_prop_t, char *, size_t,
569 _LIBZFS_H int zfs_prop_get_recvd(zfs_handle_t *, const char *, char *, size_t,
571 _LIBZFS_H int zfs_prop_get_numeric(zfs_handle_t *, zfs_prop_t, uint64_t *,
573 _LIBZFS_H int zfs_prop_get_userquota_int(zfs_handle_t *zhp,
575 _LIBZFS_H int zfs_prop_get_userquota(zfs_handle_t *zhp, const char *propname,
577 _LIBZFS_H int zfs_prop_get_written_int(zfs_handle_t *zhp, const char *propname,
579 _LIBZFS_H int zfs_prop_get_written(zfs_handle_t *zhp, const char *propname,
581 _LIBZFS_H int zfs_prop_get_feature(zfs_handle_t *zhp, const char *propname,
583 _LIBZFS_H uint64_t getprop_uint64(zfs_handle_t *, zfs_prop_t, const char **);
584 _LIBZFS_H uint64_t zfs_prop_get_int(zfs_handle_t *, zfs_prop_t);
585 _LIBZFS_H int zfs_prop_inherit(zfs_handle_t *, const char *, boolean_t);
588 _LIBZFS_H nvlist_t *zfs_get_all_props(zfs_handle_t *);
589 _LIBZFS_H nvlist_t *zfs_get_user_props(zfs_handle_t *);
590 _LIBZFS_H nvlist_t *zfs_get_recvd_props(zfs_handle_t *);
591 _LIBZFS_H nvlist_t *zfs_get_clones_nvl(zfs_handle_t *);
593 _LIBZFS_H int zfs_wait_status(zfs_handle_t *, zfs_wait_activity_t,
599 _LIBZFS_H int zfs_crypto_get_encryption_root(zfs_handle_t *, boolean_t *,
603 _LIBZFS_H int zfs_crypto_clone_check(libzfs_handle_t *, zfs_handle_t *, char *,
606 _LIBZFS_H int zfs_crypto_load_key(zfs_handle_t *, boolean_t, const char *);
607 _LIBZFS_H int zfs_crypto_unload_key(zfs_handle_t *);
608 _LIBZFS_H int zfs_crypto_rewrap(zfs_handle_t *, nvlist_t *, boolean_t);
609 _LIBZFS_H boolean_t zfs_is_encrypted(zfs_handle_t *);
621 _LIBZFS_H int zfs_expand_proplist(zfs_handle_t *, zprop_list_t **, boolean_t,
623 _LIBZFS_H void zfs_prune_proplist(zfs_handle_t *, uint8_t *);
725 typedef int (*zfs_iter_f)(zfs_handle_t *, void *);
727 _LIBZFS_H int zfs_iter_children(zfs_handle_t *, zfs_iter_f, void *);
728 _LIBZFS_H int zfs_iter_dependents(zfs_handle_t *, boolean_t, zfs_iter_f,
730 _LIBZFS_H int zfs_iter_filesystems(zfs_handle_t *, zfs_iter_f, void *);
731 _LIBZFS_H int zfs_iter_snapshots(zfs_handle_t *, boolean_t, zfs_iter_f, void *,
733 _LIBZFS_H int zfs_iter_snapshots_sorted(zfs_handle_t *, zfs_iter_f, void *,
735 _LIBZFS_H int zfs_iter_snapspec(zfs_handle_t *, const char *, zfs_iter_f,
737 _LIBZFS_H int zfs_iter_bookmarks(zfs_handle_t *, zfs_iter_f, void *);
739 _LIBZFS_H int zfs_iter_children_v2(zfs_handle_t *, int, zfs_iter_f, void *);
740 _LIBZFS_H int zfs_iter_dependents_v2(zfs_handle_t *, int, boolean_t, zfs_iter_f,
742 _LIBZFS_H int zfs_iter_filesystems_v2(zfs_handle_t *, int, zfs_iter_f, void *);
743 _LIBZFS_H int zfs_iter_snapshots_v2(zfs_handle_t *, int, zfs_iter_f, void *,
745 _LIBZFS_H int zfs_iter_snapshots_sorted_v2(zfs_handle_t *, int, zfs_iter_f,
747 _LIBZFS_H int zfs_iter_snapspec_v2(zfs_handle_t *, int, const char *,
749 _LIBZFS_H int zfs_iter_bookmarks_v2(zfs_handle_t *, int, zfs_iter_f, void *);
750 _LIBZFS_H int zfs_iter_mounted(zfs_handle_t *, zfs_iter_f, void *);
753 zfs_handle_t **cb_handles;
758 _LIBZFS_H void zfs_foreach_mountpoint(libzfs_handle_t *, zfs_handle_t **,
760 _LIBZFS_H void libzfs_add_handle(get_all_cb_t *, zfs_handle_t *);
768 _LIBZFS_H int zfs_destroy(zfs_handle_t *, boolean_t);
769 _LIBZFS_H int zfs_destroy_snaps(zfs_handle_t *, char *, boolean_t);
772 _LIBZFS_H int zfs_clone(zfs_handle_t *, const char *, nvlist_t *);
777 _LIBZFS_H int zfs_rollback(zfs_handle_t *, zfs_handle_t *, boolean_t);
790 _LIBZFS_H int zfs_rename(zfs_handle_t *, const char *, renameflags_t);
848 typedef boolean_t (snapfilter_cb_t)(zfs_handle_t *, void *);
850 _LIBZFS_H int zfs_send(zfs_handle_t *, const char *, const char *,
852 _LIBZFS_H int zfs_send_one(zfs_handle_t *, const char *, int, sendflags_t *,
854 _LIBZFS_H int zfs_send_progress(zfs_handle_t *, int, uint64_t *, uint64_t *);
857 _LIBZFS_H int zfs_send_saved(zfs_handle_t *, sendflags_t *, int, const char *);
861 _LIBZFS_H int zfs_promote(zfs_handle_t *);
862 _LIBZFS_H int zfs_hold(zfs_handle_t *, const char *, const char *,
864 _LIBZFS_H int zfs_hold_nvl(zfs_handle_t *, int, nvlist_t *);
865 _LIBZFS_H int zfs_release(zfs_handle_t *, const char *, const char *,
867 _LIBZFS_H int zfs_get_holds(zfs_handle_t *, nvlist_t **);
874 _LIBZFS_H int zfs_userspace(zfs_handle_t *, zfs_userquota_prop_t,
877 _LIBZFS_H int zfs_get_fsacl(zfs_handle_t *, nvlist_t **);
878 _LIBZFS_H int zfs_set_fsacl(zfs_handle_t *, boolean_t, nvlist_t *);
940 _LIBZFS_H int zfs_show_diffs(zfs_handle_t *, int, const char *, const char *,
947 _LIBZFS_H void zfs_refresh_properties(zfs_handle_t *);
949 _LIBZFS_H zfs_handle_t *zfs_path_to_zhandle(libzfs_handle_t *, const char *,
951 _LIBZFS_H int zfs_parent_name(zfs_handle_t *, char *, size_t);
954 _LIBZFS_H int zfs_spa_version(zfs_handle_t *, int *);
961 _LIBZFS_H boolean_t zfs_is_mounted(zfs_handle_t *, char **);
962 _LIBZFS_H int zfs_mount(zfs_handle_t *, const char *, int);
963 _LIBZFS_H int zfs_mount_at(zfs_handle_t *, const char *, int, const char *);
964 _LIBZFS_H int zfs_unmount(zfs_handle_t *, const char *, int);
965 _LIBZFS_H int zfs_unmountall(zfs_handle_t *, int);
972 _LIBZFS_H void zfs_adjust_mount_options(zfs_handle_t *zhp, const char *mntpoint,
984 _LIBZFS_H boolean_t zfs_is_shared(zfs_handle_t *zhp, char **where,
986 _LIBZFS_H int zfs_share(zfs_handle_t *zhp, const enum sa_protocol *proto);
987 _LIBZFS_H int zfs_unshare(zfs_handle_t *zhp, const char *mountpoint,
989 _LIBZFS_H int zfs_unshareall(zfs_handle_t *zhp,
1073 _LIBZFS_H int zfs_jail(zfs_handle_t *zhp, int jailid, int attach);
1088 _LIBZFS_H int zfs_userns(zfs_handle_t *zhp, const char *nspath, int attach);