Lines Matching defs:libzfs_handle_t

206 typedef struct libzfs_handle libzfs_handle_t;
211 extern libzfs_handle_t *libzfs_init(void);
212 extern void libzfs_fini(libzfs_handle_t *);
214 extern libzfs_handle_t *zpool_get_handle(zpool_handle_t *);
215 extern libzfs_handle_t *zfs_get_handle(zfs_handle_t *);
217 extern void libzfs_print_on_error(libzfs_handle_t *, boolean_t);
220 extern int zpool_log_history(libzfs_handle_t *, const char *);
222 extern int libzfs_errno(libzfs_handle_t *);
223 extern const char *libzfs_error_action(libzfs_handle_t *);
224 extern const char *libzfs_error_description(libzfs_handle_t *);
225 extern int zfs_standard_error(libzfs_handle_t *, int, const char *);
226 extern void libzfs_mnttab_init(libzfs_handle_t *);
227 extern void libzfs_mnttab_fini(libzfs_handle_t *);
228 extern void libzfs_mnttab_cache(libzfs_handle_t *, boolean_t);
229 extern int libzfs_mnttab_find(libzfs_handle_t *, const char *,
231 extern void libzfs_mnttab_add(libzfs_handle_t *, const char *,
233 extern void libzfs_mnttab_remove(libzfs_handle_t *, const char *);
238 extern zpool_handle_t *zpool_open(libzfs_handle_t *, const char *);
239 extern zpool_handle_t *zpool_open_canfail(libzfs_handle_t *, const char *);
245 extern void zpool_free_handles(libzfs_handle_t *);
251 extern int zpool_iter(libzfs_handle_t *, zpool_iter_f, void *);
257 extern int zpool_create(libzfs_handle_t *, const char *, nvlist_t *,
317 extern int zpool_label_disk(libzfs_handle_t *, zpool_handle_t *, const char *,
414 extern int zpool_import(libzfs_handle_t *, nvlist_t *, const char *,
416 extern int zpool_import_props(libzfs_handle_t *, nvlist_t *, const char *,
434 extern char *zpool_vdev_name(libzfs_handle_t *, zpool_handle_t *, nvlist_t *,
441 extern int zfs_ioctl(libzfs_handle_t *, int, struct zfs_cmd *);
443 extern void zpool_explain_recover(libzfs_handle_t *, const char *, int,
452 extern zfs_handle_t *zfs_open(libzfs_handle_t *, const char *, int);
473 extern nvlist_t *zfs_valid_proplist(libzfs_handle_t *, zfs_type_t, nvlist_t *,
508 extern int zfs_crypto_create(libzfs_handle_t *, char *, nvlist_t *, nvlist_t *,
510 extern int zfs_crypto_clone_check(libzfs_handle_t *, zfs_handle_t *, char *,
512 extern int zfs_crypto_attempt_load_keys(libzfs_handle_t *, char *);
557 extern int zprop_get_list(libzfs_handle_t *, char *, zprop_list_t **,
594 extern int zfs_iter_root(libzfs_handle_t *, zfs_iter_f, void *);
609 void zfs_foreach_mountpoint(libzfs_handle_t *, zfs_handle_t **, size_t,
616 extern int zfs_create(libzfs_handle_t *, const char *, zfs_type_t,
618 extern int zfs_create_ancestors(libzfs_handle_t *, const char *);
621 extern int zfs_destroy_snaps_nvl(libzfs_handle_t *, nvlist_t *, boolean_t);
623 extern int zfs_snapshot(libzfs_handle_t *, const char *, boolean_t, nvlist_t *);
624 extern int zfs_snapshot_nvl(libzfs_handle_t *hdl, nvlist_t *snaps,
681 extern int zfs_send_resume(libzfs_handle_t *, sendflags_t *, int outfd,
683 extern nvlist_t *zfs_send_resume_token_to_nvlist(libzfs_handle_t *hdl,
745 extern int zfs_receive(libzfs_handle_t *, const char *, nvlist_t *,
763 extern zfs_handle_t *zfs_path_to_zhandle(libzfs_handle_t *, char *, zfs_type_t);
765 extern boolean_t zfs_dataset_exists(libzfs_handle_t *, const char *,
773 extern boolean_t is_mounted(libzfs_handle_t *, const char *special, char **);
800 extern int zfs_deleg_share_nfs(libzfs_handle_t *, char *, char *, char *,
812 extern int zfs_nicestrtonum(libzfs_handle_t *, const char *, uint64_t *);
817 extern int zpool_in_use(libzfs_handle_t *, int, pool_state_t *, char **,
832 int zfs_smb_acl_add(libzfs_handle_t *, char *, char *, char *);
833 int zfs_smb_acl_remove(libzfs_handle_t *, char *, char *, char *);
834 int zfs_smb_acl_purge(libzfs_handle_t *, char *, char *);
835 int zfs_smb_acl_rename(libzfs_handle_t *, char *, char *, char *, char *);
847 extern void libzfs_fru_refresh(libzfs_handle_t *);
848 extern const char *libzfs_fru_lookup(libzfs_handle_t *, const char *);
849 extern const char *libzfs_fru_devpath(libzfs_handle_t *, const char *);
850 extern boolean_t libzfs_fru_compare(libzfs_handle_t *, const char *,
852 extern boolean_t libzfs_fru_notself(libzfs_handle_t *, const char *);
856 extern int zfs_remap_indirects(libzfs_handle_t *hdl, const char *);
859 extern int zfs_init_libshare_arg(libzfs_handle_t *, int, void *);
868 extern void zfs_uninit_libshare(libzfs_handle_t *);