Home
last modified time | relevance | path

Searched refs:libzfs_handle_t (Results 1 – 25 of 38) sorted by relevance

12

/f-stack/freebsd/contrib/openzfs/include/
H A Dlibzfs_impl.h78 libzfs_handle_t *zfs_hdl;
99 libzfs_handle_t *zpool_hdl;
136 int zfs_error(libzfs_handle_t *, int, const char *);
138 void zfs_error_aux(libzfs_handle_t *, const char *, ...);
139 void *zfs_alloc(libzfs_handle_t *, size_t);
141 char *zfs_asprintf(libzfs_handle_t *, const char *, ...);
142 char *zfs_strdup(libzfs_handle_t *, const char *);
143 int no_memory(libzfs_handle_t *);
179 int zcmd_expand_dst_nvlist(libzfs_handle_t *, zfs_cmd_t *);
193 int create_parents(libzfs_handle_t *, char *, int);
[all …]
H A Dlibzfs.h196 typedef struct libzfs_handle libzfs_handle_t; typedef
205 extern libzfs_handle_t *libzfs_init(void);
206 extern void libzfs_fini(libzfs_handle_t *);
208 extern libzfs_handle_t *zpool_get_handle(zpool_handle_t *);
209 extern libzfs_handle_t *zfs_get_handle(zfs_handle_t *);
216 extern int libzfs_errno(libzfs_handle_t *);
218 extern const char *libzfs_error_action(libzfs_handle_t *);
221 extern void libzfs_mnttab_init(libzfs_handle_t *);
222 extern void libzfs_mnttab_fini(libzfs_handle_t *);
240 extern void zpool_free_handles(libzfs_handle_t *);
[all …]
/f-stack/freebsd/contrib/openzfs/lib/libzfs/
H A Dlibzfs_util.c70 libzfs_errno(libzfs_handle_t *hdl) in libzfs_errno()
76 libzfs_error_action(libzfs_handle_t *hdl) in libzfs_error_action()
82 libzfs_error_description(libzfs_handle_t *hdl) in libzfs_error_description()
749 no_memory(libzfs_handle_t *hdl) in no_memory()
758 zfs_alloc(libzfs_handle_t *hdl, size_t size) in zfs_alloc()
1006 libzfs_handle_t *
1009 libzfs_handle_t *hdl;
1091 libzfs_fini(libzfs_handle_t *hdl)
1109 libzfs_handle_t *
1115 libzfs_handle_t *
[all …]
H A Dlibzfs_config.c79 namespace_clear(libzfs_handle_t *hdl) in namespace_clear()
106 namespace_reload(libzfs_handle_t *hdl) in namespace_reload()
270 libzfs_handle_t *hdl = zhp->zpool_hdl; in zpool_refresh_stats()
389 zpool_iter(libzfs_handle_t *hdl, zpool_iter_f func, void *data) in zpool_iter()
434 zfs_iter_root(libzfs_handle_t *hdl, zfs_iter_f func, void *data) in zfs_iter_root()
H A Dlibzfs_import.c47 pool_active(libzfs_handle_t *hdl, const char *name, uint64_t guid, in pool_active()
71 refresh_config(libzfs_handle_t *hdl, nvlist_t *config) in refresh_config()
112 return (refresh_config((libzfs_handle_t *)handle, tryconfig)); in refresh_config_libzfs()
119 return (pool_active((libzfs_handle_t *)handle, name, guid, isactive)); in pool_active_libzfs()
300 zpool_in_use(libzfs_handle_t *hdl, int fd, pool_state_t *state, char **namestr, in zpool_in_use()
H A Dlibzfs_pool.c72 libzfs_handle_t *hdl = zhp->zpool_hdl; in zpool_get_all_props()
790 libzfs_handle_t *hdl = zhp->zpool_hdl; in zpool_expand_proplist()
1400 libzfs_handle_t *hdl = zhp->zpool_hdl; in zpool_destroy()
1441 libzfs_handle_t *hdl = zhp->zpool_hdl; in zpool_checkpoint()
1462 libzfs_handle_t *hdl = zhp->zpool_hdl; in zpool_discard_checkpoint()
1486 libzfs_handle_t *hdl = zhp->zpool_hdl; in zpool_add()
2422 libzfs_handle_t *hdl = zhp->zpool_hdl; in zpool_scan()
2942 libzfs_handle_t *hdl = zhp->zpool_hdl; in zpool_vdev_online()
3027 libzfs_handle_t *hdl = zhp->zpool_hdl; in zpool_vdev_offline()
3075 libzfs_handle_t *hdl = zhp->zpool_hdl; in zpool_vdev_fault()
[all …]
H A Dlibzfs_dataset.c236 libzfs_handle_t *hdl = zhp->zfs_hdl; in process_user_props()
265 libzfs_handle_t *hdl = zhp->zfs_hdl; in zpool_add_handle()
279 libzfs_handle_t *hdl = zhp->zfs_hdl; in zpool_find_handle()
313 zpool_free_handles(libzfs_handle_t *hdl) in zpool_free_handles()
331 libzfs_handle_t *hdl = zhp->zfs_hdl; in get_stats_ioctl()
353 libzfs_handle_t *hdl = zhp->zfs_hdl; in get_recvd_props_ioctl()
1718 libzfs_handle_t *hdl = zhp->zfs_hdl; in zfs_prop_set()
1752 libzfs_handle_t *hdl = zhp->zfs_hdl; in zfs_prop_set_list()
1932 libzfs_handle_t *hdl = zhp->zfs_hdl; in zfs_prop_inherit()
3928 libzfs_handle_t *hdl = zhp->zfs_hdl; in zfs_clone()
[all …]
H A Dlibzfs_mount.c224 is_mounted(libzfs_handle_t *zfs_hdl, const char *special, char **where) in is_mounted()
388 libzfs_handle_t *hdl = zhp->zfs_hdl; in zfs_mount_at()
550 unmount_one(libzfs_handle_t *hdl, const char *mountpoint, int flags) in unmount_one()
570 libzfs_handle_t *hdl = zhp->zfs_hdl; in zfs_unmount()
678 unshare_one(libzfs_handle_t *hdl, const char *name, const char *mountpoint, in unshare_one()
890 libzfs_handle_t *hdl = zhp->zfs_hdl; in zfs_unshare_proto()
1213 libzfs_handle_t *mnt_hdl;
1227 zfs_dispatch_mount(libzfs_handle_t *hdl, zfs_handle_t **handles, in zfs_dispatch_mount()
1353 zfs_foreach_mountpoint(libzfs_handle_t *hdl, zfs_handle_t **handles, in zfs_foreach_mountpoint()
1491 libzfs_handle_t *hdl = zhp->zpool_hdl; in zpool_disable_datasets()
H A Dlibzfs_crypto.c66 static int get_key_material_file(libzfs_handle_t *, const char *, const char *,
98 zfs_prop_parse_keylocation(libzfs_handle_t *restrict hdl, const char *str, in zfs_prop_parse_keylocation()
194 validate_key(libzfs_handle_t *hdl, zfs_keyformat_t keyformat, in validate_key()
345 get_key_interactive(libzfs_handle_t *restrict hdl, const char *fsname, in get_key_interactive()
467 get_key_material_file(libzfs_handle_t *hdl, const char *uri, in get_key_material_file()
499 get_key_material(libzfs_handle_t *hdl, boolean_t do_verify, boolean_t newkey, in get_key_material()
584 derive_key(libzfs_handle_t *hdl, zfs_keyformat_t format, uint64_t iters, in derive_key()
660 populate_create_encryption_params_nvlists(libzfs_handle_t *hdl, in populate_create_encryption_params_nvlists()
812 zfs_crypto_create(libzfs_handle_t *hdl, char *parent_name, nvlist_t *props, in zfs_crypto_create()
984 zfs_crypto_clone_check(libzfs_handle_t *hdl, zfs_handle_t *origin_zhp, in zfs_crypto_clone_check()
[all …]
H A Dlibzfs_sendrecv.c78 static int guid_to_name(libzfs_handle_t *, const char *,
720 libzfs_handle_t *hdl = zhp->zfs_hdl; in zfs_send_space()
779 libzfs_handle_t *hdl = zhp->zfs_hdl; in dump_ioctl()
1548 find_redact_book(libzfs_handle_t *hdl, const char *path, in find_redact_book()
1863 libzfs_handle_t *hdl = zhp->zfs_hdl; in zfs_send_saved()
2389 libzfs_handle_t *hdl = zhp->zfs_hdl; in zfs_send_one()
2584 recv_read(libzfs_handle_t *hdl, int fd, void *buf, int ilen, in recv_read()
2777 recv_promote(libzfs_handle_t *hdl, const char *fsname, in recv_promote()
3028 created_before(libzfs_handle_t *hdl, avl_tree_t *avl, in created_before()
3743 recv_skip(libzfs_handle_t *hdl, int fd, boolean_t byteswap) in recv_skip()
[all …]
/f-stack/freebsd/contrib/openzfs/lib/libzfs/os/freebsd/
H A Dlibzfs_compat.c202 zfs_ioctl(libzfs_handle_t *hdl, int request, zfs_cmd_t *zc) in zfs_ioctl()
230 zpool_relabel_disk(libzfs_handle_t *hdl, const char *path, const char *msg) in zpool_relabel_disk()
236 zpool_label_disk(libzfs_handle_t *hdl, zpool_handle_t *zhp, const char *name) in zpool_label_disk()
253 libzfs_handle_t *hdl = zhp->zfs_hdl; in zfs_jail()
302 zpool_nextboot(libzfs_handle_t *hdl, uint64_t pool_guid, uint64_t dev_guid, in zpool_nextboot()
/f-stack/freebsd/contrib/openzfs/cmd/zpool/
H A Dzpool_util.h82 extern libzfs_handle_t *g_zfs;
107 libzfs_handle_t *g_zfs;
122 char *cmd, libzfs_handle_t *g_zfs, char **vdev_names, int vdev_names_count,
/f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_events/
H A Dereports.c131 ereports_dump(libzfs_handle_t *zhdl, int zevent_fd) in ereports_dump()
153 libzfs_handle_t *hdl; in main()
/f-stack/freebsd/contrib/openzfs/cmd/zed/agents/
H A Dzfs_retire.c55 libzfs_handle_t *zrd_hdl;
98 find_vdev(libzfs_handle_t *zhdl, nvlist_t *nv, uint64_t search_guid) in find_vdev()
146 find_by_guid(libzfs_handle_t *zhdl, uint64_t pool_guid, uint64_t vdev_guid, in find_by_guid()
314 libzfs_handle_t *zhdl = zdp->zrd_hdl; in zfs_retire_recv()
538 libzfs_handle_t *zhdl; in _zfs_retire_init()
H A Dzfs_agents.h31 extern void zfs_agent_init(libzfs_handle_t *);
H A Dzfs_agents.c54 libzfs_handle_t *g_zfs_hdl;
360 zfs_agent_init(libzfs_handle_t *zfs_hdl) in zfs_agent_init()
/f-stack/freebsd/contrib/openzfs/lib/libzfsbootenv/
H A Dlzbe_device.c30 libzfs_handle_t *hdl; in lzbe_set_boot_device()
116 libzfs_handle_t *hdl; in lzbe_get_boot_device()
H A Dlzbe_pair.c29 libzfs_handle_t *hdl; in lzbe_nvlist_get()
76 libzfs_handle_t *hdl; in lzbe_nvlist_set()
/f-stack/freebsd/contrib/openzfs/cmd/zfs/
H A Dzfs_util.h36 extern libzfs_handle_t *g_zfs;
/f-stack/freebsd/contrib/openzfs/cmd/zstream/
H A Dzstream_token.c60 libzfs_handle_t *hdl = libzfs_init(); in zstream_do_token()
/f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/libzfs/
H A Dmany_fds.c44 libzfs_handle_t *h; in main()
/f-stack/freebsd/contrib/openzfs/cmd/zinject/
H A Dzinject.h64 extern libzfs_handle_t *g_zfs;
/f-stack/freebsd/contrib/openzfs/cmd/zed/
H A Dzed_conf.h39 libzfs_handle_t *zfs_hdl; /* handle to libzfs */
/f-stack/freebsd/contrib/openzfs/cmd/zfs_ids_to_path/
H A Dzfs_ids_to_path.c33 libzfs_handle_t *g_zfs;
/f-stack/freebsd/contrib/openzfs/lib/libzfs/os/linux/
H A Dlibzfs_pool_os.c61 zpool_relabel_disk(libzfs_handle_t *hdl, const char *path, const char *msg) in zpool_relabel_disk()
212 zpool_label_disk(libzfs_handle_t *hdl, zpool_handle_t *zhp, const char *name) in zpool_label_disk()

12