| /f-stack/freebsd/contrib/openzfs/include/ |
| H A D | libzfs_impl.h | 78 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 D | libzfs.h | 196 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 D | libzfs_util.c | 70 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 D | libzfs_config.c | 79 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 D | libzfs_import.c | 47 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 D | libzfs_pool.c | 72 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 D | libzfs_dataset.c | 236 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 D | libzfs_mount.c | 224 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 D | libzfs_crypto.c | 66 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 D | libzfs_sendrecv.c | 78 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 D | libzfs_compat.c | 202 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 D | zpool_util.h | 82 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 D | ereports.c | 131 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 D | zfs_retire.c | 55 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 D | zfs_agents.h | 31 extern void zfs_agent_init(libzfs_handle_t *);
|
| H A D | zfs_agents.c | 54 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 D | lzbe_device.c | 30 libzfs_handle_t *hdl; in lzbe_set_boot_device() 116 libzfs_handle_t *hdl; in lzbe_get_boot_device()
|
| H A D | lzbe_pair.c | 29 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 D | zfs_util.h | 36 extern libzfs_handle_t *g_zfs;
|
| /f-stack/freebsd/contrib/openzfs/cmd/zstream/ |
| H A D | zstream_token.c | 60 libzfs_handle_t *hdl = libzfs_init(); in zstream_do_token()
|
| /f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/libzfs/ |
| H A D | many_fds.c | 44 libzfs_handle_t *h; in main()
|
| /f-stack/freebsd/contrib/openzfs/cmd/zinject/ |
| H A D | zinject.h | 64 extern libzfs_handle_t *g_zfs;
|
| /f-stack/freebsd/contrib/openzfs/cmd/zed/ |
| H A D | zed_conf.h | 39 libzfs_handle_t *zfs_hdl; /* handle to libzfs */
|
| /f-stack/freebsd/contrib/openzfs/cmd/zfs_ids_to_path/ |
| H A D | zfs_ids_to_path.c | 33 libzfs_handle_t *g_zfs;
|
| /f-stack/freebsd/contrib/openzfs/lib/libzfs/os/linux/ |
| H A D | libzfs_pool_os.c | 61 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()
|