| /f-stack/freebsd/contrib/openzfs/include/ |
| H A D | libzfs.h | 194 typedef struct zfs_handle zfs_handle_t; typedef 465 extern zfs_handle_t *zfs_handle_dup(zfs_handle_t *); 466 extern void zfs_close(zfs_handle_t *); 623 zfs_handle_t **cb_handles; 645 extern int zfs_rollback(zfs_handle_t *, zfs_handle_t *, boolean_t); 723 extern int zfs_promote(zfs_handle_t *); 835 extern int zfs_share(zfs_handle_t *); 836 extern int zfs_unshare(zfs_handle_t *); 843 extern int zfs_share_nfs(zfs_handle_t *); 844 extern int zfs_share_smb(zfs_handle_t *); [all …]
|
| H A D | libzfs_impl.h | 151 zfs_handle_t *make_dataset_handle_zc(libzfs_handle_t *, zfs_cmd_t *); 152 zfs_handle_t *make_dataset_simple_handle_zc(zfs_handle_t *, zfs_cmd_t *); 188 prop_changelist_t *changelist_gather(zfs_handle_t *, zfs_prop_t, int, int); 192 void remove_mountpoint(zfs_handle_t *); 196 zfs_handle_t *make_dataset_handle(libzfs_handle_t *, const char *); 197 zfs_handle_t *make_bookmark_handle(zfs_handle_t *, const char *, 211 extern int zfs_unshare_proto(zfs_handle_t *, 222 zfs_handle_t *zhp; 244 extern int do_mount(zfs_handle_t *zhp, const char *mntpt, char *opts, 248 extern int zfs_share_proto(zfs_handle_t *zhp, zfs_share_proto_t *proto); [all …]
|
| /f-stack/freebsd/contrib/openzfs/lib/libzfs/ |
| H A D | libzfs_mount.c | 659 zfs_is_shared(zfs_handle_t *zhp) in zfs_is_shared() 763 zfs_share(zfs_handle_t *zhp) in zfs_share() 770 zfs_unshare(zfs_handle_t *zhp) in zfs_unshare() 866 zfs_share_nfs(zfs_handle_t *zhp) in zfs_share_nfs() 872 zfs_share_smb(zfs_handle_t *zhp) in zfs_share_smb() 878 zfs_shareall(zfs_handle_t *zhp) in zfs_shareall() 1035 zfs_handle_t **newhandles; in libzfs_add_handle() 1118 zfs_handle_t *za = *zap; in mountpoint_cmp() 1120 zfs_handle_t *zb = *zbp; in mountpoint_cmp() 1418 zfs_handle_t *zfsp; in zpool_enable_datasets() [all …]
|
| H A D | libzfs_iter.c | 110 zfs_handle_t *nzhp; in zfs_iter_filesystems() 147 zfs_handle_t *nzhp; in zfs_iter_snapshots() 204 zfs_handle_t *nzhp; in zfs_iter_bookmarks() 259 zfs_handle_t *zn_handle; 264 zfs_sort_snaps(zfs_handle_t *zhp, void *data) in zfs_sort_snaps() 294 zfs_handle_t *l = ((zfs_node_t *)larg)->zn_handle; in zfs_snapshot_compare() 344 snapspec_cb(zfs_handle_t *zhp, void *arg) in snapspec_cb() 433 zfs_handle_t *snap_zhp; in zfs_iter_snapspec() 473 zfs_handle_t *zhp; 485 iter_dependents_cb(zfs_handle_t *zhp, void *arg) in iter_dependents_cb() [all …]
|
| H A D | libzfs_dataset.c | 477 zfs_handle_t * 482 zfs_handle_t *zhp = calloc(1, sizeof (zfs_handle_t)); in make_dataset_handle() 506 zfs_handle_t * 509 zfs_handle_t *zhp = calloc(1, sizeof (zfs_handle_t)); in make_dataset_handle_zc() 523 zfs_handle_t * 526 zfs_handle_t *zhp = calloc(1, sizeof (zfs_handle_t)); in make_dataset_simple_handle_zc() 540 zfs_handle_t * 543 zfs_handle_t *zhp = calloc(1, sizeof (zfs_handle_t)); in zfs_handle_dup() 618 zfs_handle_t * 622 zfs_handle_t *zhp = calloc(1, sizeof (zfs_handle_t)); in make_bookmark_handle() [all …]
|
| H A D | libzfs_sendrecv.c | 82 zfs_handle_t *pa_zhp; 593 zfs_handle_t *snap; in send_iterate_fs() 651 zfs_handle_t *zhp; in gather_nvlist() 1204 zfs_handle_t *snap; in dump_filesystem() 1295 zfs_handle_t *zhp; in dump_filesystems() 1623 zfs_handle_t *zhp; in zfs_send_resume_impl() 2307 static zfs_handle_t * 2324 snapshot_is_before(zfs_handle_t *earlier, zfs_handle_t *later) in snapshot_is_before() 2832 zfs_handle_t *zhp; in recv_destroy() 4384 zfs_handle_t *zhp; in zfs_receive_one() [all …]
|
| H A D | libzfs_crypto.c | 661 zfs_handle_t *zhp, boolean_t newkey, zfs_keyformat_t keyformat, in populate_create_encryption_params_nvlists() 781 zfs_crypto_get_encryption_root(zfs_handle_t *zhp, boolean_t *is_encroot, in zfs_crypto_get_encryption_root() 821 zfs_handle_t *pzhp = NULL; in zfs_crypto_create() 984 zfs_crypto_clone_check(libzfs_handle_t *hdl, zfs_handle_t *origin_zhp, in zfs_crypto_clone_check() 1014 load_keys_cb(zfs_handle_t *zhp, void *arg) in load_keys_cb() 1053 zfs_handle_t *zhp = NULL; in zfs_crypto_attempt_load_keys() 1085 zfs_crypto_load_key(zfs_handle_t *zhp, boolean_t noop, char *alt_keylocation) in zfs_crypto_load_key() 1253 zfs_crypto_unload_key(zfs_handle_t *zhp) in zfs_crypto_unload_key() 1338 zfs_crypto_verify_rewrap_nvlist(zfs_handle_t *zhp, nvlist_t *props, in zfs_crypto_verify_rewrap_nvlist() 1389 zfs_crypto_rewrap(zfs_handle_t *zhp, nvlist_t *raw_props, boolean_t inheritkey) in zfs_crypto_rewrap() [all …]
|
| H A D | libzfs_changelist.c | 67 zfs_handle_t *cn_handle; 442 changelist_add_mounted(zfs_handle_t *zhp, void *data) in changelist_add_mounted() 480 change_one(zfs_handle_t *zhp, void *data) in change_one() 624 changelist_gather(zfs_handle_t *zhp, zfs_prop_t prop, int gather_flags, in changelist_gather() 629 zfs_handle_t *temp; in changelist_gather()
|
| H A D | libzfs_diff.c | 579 zfs_handle_t *zhp; in get_snapshot_names() 695 setup_differ_info(zfs_handle_t *zhp, const char *fromsnap, in setup_differ_info() 716 zfs_show_diffs(zfs_handle_t *zhp, int outfd, const char *fromsnap, in zfs_show_diffs()
|
| H A D | libzfs_config.c | 437 zfs_handle_t *zhp; in zfs_iter_root()
|
| H A D | libzfs_util.c | 1116 zfs_get_handle(zfs_handle_t *zhp) 1122 zfs_get_pool_handle(const zfs_handle_t *zhp) 1133 zfs_handle_t *
|
| H A D | libzfs_pool.c | 1399 zfs_handle_t *zfp = NULL; in zpool_destroy()
|
| H A D | libzfs.abi | 622 …<typedef-decl name='zfs_handle_t' type-id='type-id-42' filepath='../../include/libzfs.h' line='194…
|
| /f-stack/freebsd/contrib/openzfs/cmd/zfs/ |
| H A D | zfs_iter.c | 55 zfs_handle_t *zn_handle; 77 zfs_include_snapshots(zfs_handle_t *zhp, callback_data_t *cb) in zfs_include_snapshots() 93 zfs_callback(zfs_handle_t *zhp, void *data) in zfs_callback() 226 zfs_handle_t *l = ((zfs_node_t *)larg)->zn_handle; in zfs_compare() 227 zfs_handle_t *r = ((zfs_node_t *)rarg)->zn_handle; in zfs_compare() 298 zfs_handle_t *l = ((zfs_node_t *)larg)->zn_handle; in zfs_sort() 299 zfs_handle_t *r = ((zfs_node_t *)rarg)->zn_handle; in zfs_sort() 458 zfs_handle_t *zhp; in zfs_for_each()
|
| H A D | zfs_main.c | 3168 zfs_handle_t *zhp; in zfs_do_userspace() 3744 zfs_handle_t *zhp; in zfs_do_rename() 3843 zfs_handle_t *zhp; in zfs_do_promote() 4333 zfs_handle_t *zhp; in zfs_do_snapshot() 4373 zfs_handle_t *zhp; in zfs_do_send() 6159 zfs_handle_t *zhp; in zfs_do_allow_unallow_impl() 7196 zfs_handle_t *zhp; in unshare_unmount_path() 7304 zfs_handle_t *zhp; in unshare_unmount() 7625 zfs_handle_t *zhp; in zfs_do_diff() 7805 zfs_handle_t *zhp; in zfs_do_bookmark() [all …]
|
| /f-stack/freebsd/contrib/openzfs/contrib/pam_zfs_key/ |
| H A D | pam_zfs_key.c | 206 prepare_passphrase(pam_handle_t *pamh, zfs_handle_t *ds, in prepare_passphrase() 271 zfs_handle_t *ds = zfs_open(g_zfs, ds_name, ZFS_TYPE_FILESYSTEM); in is_key_loaded() 285 zfs_handle_t *ds = zfs_open(g_zfs, ds_name, ZFS_TYPE_FILESYSTEM); in change_key() 333 zfs_handle_t *ds = zfs_open(g_zfs, ds_name, ZFS_TYPE_FILESYSTEM); in decrypt_mount() 364 zfs_handle_t *ds = zfs_open(g_zfs, ds_name, ZFS_TYPE_FILESYSTEM); in unmount_unload() 456 find_dsname_by_prop_value(zfs_handle_t *zhp, void *data) in find_dsname_by_prop_value() 486 zfs_handle_t *zhp = zfs_open(g_zfs, config->homes_prefix, in zfs_key_config_get_dataset()
|
| /f-stack/freebsd/contrib/openzfs/lib/libzfs/os/linux/ |
| H A D | libzfs_mount_os.c | 260 zfs_selinux_setcontext(zfs_handle_t *zhp, zfs_prop_t zpt, const char *name, in zfs_selinux_setcontext() 273 zfs_adjust_mount_options(zfs_handle_t *zhp, const char *mntpoint, in zfs_adjust_mount_options() 323 do_mount(zfs_handle_t *zhp, const char *mntpt, char *opts, int flags) in do_mount()
|
| /f-stack/freebsd/contrib/openzfs/tests/zfs-tests/cmd/badsend/ |
| H A D | badsend.c | 57 zfs_handle_t *zhp; in main()
|
| /f-stack/freebsd/contrib/openzfs/lib/libzfs/os/freebsd/ |
| H A D | libzfs_zmount.c | 121 do_mount(zfs_handle_t *zhp, const char *mntpt, char *opts, int flags) in do_mount()
|
| H A D | libzfs_compat.c | 251 zfs_jail(zfs_handle_t *zhp, int jailid, int attach) in zfs_jail()
|
| /f-stack/freebsd/contrib/openzfs/cmd/zinject/ |
| H A D | translate.c | 135 zfs_handle_t *zhp; in object_from_path()
|
| H A D | zinject.c | 755 zfs_handle_t *zhp = NULL; in main()
|
| /f-stack/freebsd/contrib/openzfs/cmd/mount_zfs/ |
| H A D | mount_zfs.c | 135 zfs_handle_t *zhp; in main()
|
| /f-stack/freebsd/contrib/openzfs/cmd/zpool/ |
| H A D | zpool_main.c | 1667 zfs_handle_t *pool = zfs_open(g_zfs, in zpool_do_create() 8557 check_unsupp_fs(zfs_handle_t *zhp, void *unsupp_fs) in check_unsupp_fs()
|