/titanic_41/usr/src/lib/libzfs/common/ |
H A D | libzfs_impl.h | 87 libzfs_handle_t *zfs_hdl; 108 libzfs_handle_t *zpool_hdl; 135 int zfs_error(libzfs_handle_t *, int, const char *); 136 int zfs_error_fmt(libzfs_handle_t *, int, const char *, ...); 137 void zfs_error_aux(libzfs_handle_t *, const char *, ...); 138 void *zfs_alloc(libzfs_handle_t *, size_t); 139 void *zfs_realloc(libzfs_handle_t *, void *, size_t, size_t); 140 char *zfs_asprintf(libzfs_handle_t *, const char *, ...); 141 char *zfs_strdup(libzfs_handle_t *, const char *); 142 int no_memory(libzfs_handle_t *); [all …]
|
H A D | libzfs.h | 173 typedef struct libzfs_handle libzfs_handle_t; typedef 178 extern libzfs_handle_t *libzfs_init(void); 179 extern void libzfs_fini(libzfs_handle_t *); 181 extern libzfs_handle_t *zpool_get_handle(zpool_handle_t *); 182 extern libzfs_handle_t *zfs_get_handle(zfs_handle_t *); 184 extern void libzfs_print_on_error(libzfs_handle_t *, boolean_t); 187 extern int zpool_log_history(libzfs_handle_t *, const char *); 189 extern int libzfs_errno(libzfs_handle_t *); 190 extern const char *libzfs_error_action(libzfs_handle_t *); 191 extern const char *libzfs_error_description(libzfs_handle_t *); [all …]
|
H A D | libzfs_util.c | 55 libzfs_errno(libzfs_handle_t *hdl) in libzfs_errno() 61 libzfs_error_action(libzfs_handle_t *hdl) in libzfs_error_action() 67 libzfs_error_description(libzfs_handle_t *hdl) in libzfs_error_description() 242 zfs_error_aux(libzfs_handle_t *hdl, const char *fmt, ...) in zfs_error_aux() 256 zfs_verror(libzfs_handle_t *hdl, int error, const char *fmt, va_list ap) in zfs_verror() 282 zfs_error(libzfs_handle_t *hdl, int error, const char *msg) in zfs_error() 289 zfs_error_fmt(libzfs_handle_t *hdl, int error, const char *fmt, ...) in zfs_error_fmt() 303 zfs_common_error(libzfs_handle_t *hdl, int error, const char *fmt, in zfs_common_error() 333 zfs_standard_error(libzfs_handle_t *hdl, int error, const char *msg) in zfs_standard_error() 340 zfs_standard_error_fmt(libzfs_handle_t *hdl, int error, const char *fmt, ...) in zfs_standard_error_fmt() [all …]
|
H A D | libzfs_fru.c | 106 libzfs_handle_t *hdl = arg; in libzfs_fru_gather() 257 libzfs_fru_refresh(libzfs_handle_t *hdl) in libzfs_fru_refresh() 307 libzfs_fru_lookup(libzfs_handle_t *hdl, const char *devpath) in libzfs_fru_lookup() 333 libzfs_fru_devpath(libzfs_handle_t *hdl, const char *fru) in libzfs_fru_devpath() 379 libzfs_fru_compare(libzfs_handle_t *hdl, const char *a, const char *b) in libzfs_fru_compare() 397 libzfs_fru_notself(libzfs_handle_t *hdl, const char *fru) in libzfs_fru_notself() 427 libzfs_fru_clear(libzfs_handle_t *hdl, boolean_t final) in libzfs_fru_clear()
|
H A D | libzfs_mount.c | 125 is_shared(libzfs_handle_t *hdl, const char *mountpoint, zfs_share_proto_t proto) in is_shared() 205 is_mounted(libzfs_handle_t *zfs_hdl, const char *special, char **where) in is_mounted() 267 libzfs_handle_t *hdl = zhp->zfs_hdl; in zfs_mount() 353 unmount_one(libzfs_handle_t *hdl, const char *mountpoint, int flags) in unmount_one() 371 libzfs_handle_t *hdl = zhp->zfs_hdl; in zfs_unmount() 510 static libzfs_handle_t *(*_sa_get_zfs_handle)(sa_handle_t); 554 _sa_get_zfs_handle = (libzfs_handle_t *(*)(sa_handle_t)) in _zfs_init_libshare() 592 zfs_init_libshare(libzfs_handle_t *zhandle, int service) in zfs_init_libshare() 632 zfs_uninit_libshare(libzfs_handle_t *zhandle) in zfs_uninit_libshare() 710 libzfs_handle_t *hdl = zhp->zfs_hdl; in zfs_share_proto() [all …]
|
H A D | libzfs_config.c | 77 namespace_clear(libzfs_handle_t *hdl) in namespace_clear() 104 namespace_reload(libzfs_handle_t *hdl) in namespace_reload() 267 libzfs_handle_t *hdl = zhp->zpool_hdl; in zpool_refresh_stats() 385 zpool_iter(libzfs_handle_t *hdl, zpool_iter_f func, void *data) in zpool_iter() 430 zfs_iter_root(libzfs_handle_t *hdl, zfs_iter_f func, void *data) in zfs_iter_root()
|
H A D | libzfs_dataset.c | 135 zfs_validate_name(libzfs_handle_t *hdl, const char *path, int type, in zfs_validate_name() 250 libzfs_handle_t *hdl = zhp->zfs_hdl; in process_user_props() 279 libzfs_handle_t *hdl = zhp->zfs_hdl; in zpool_add_handle() 293 libzfs_handle_t *hdl = zhp->zfs_hdl; in zpool_find_handle() 327 zpool_free_handles(libzfs_handle_t *hdl) in zpool_free_handles() 345 libzfs_handle_t *hdl = zhp->zfs_hdl; in get_stats_ioctl() 367 libzfs_handle_t *hdl = zhp->zfs_hdl; in get_recvd_props_ioctl() 490 make_dataset_handle(libzfs_handle_t *hdl, const char *path) in make_dataset_handle() 519 make_dataset_handle_zc(libzfs_handle_t *hdl, zfs_cmd_t *zc) in make_dataset_handle_zc() 680 zfs_open(libzfs_handle_t *hdl, const char *path, int types) in zfs_open() [all …]
|
H A D | libzfs_pool.c | 71 libzfs_handle_t *hdl = zhp->zpool_hdl; in zpool_get_all_props() 393 zpool_valid_proplist(libzfs_handle_t *hdl, const char *poolname, in zpool_valid_proplist() 682 libzfs_handle_t *hdl = zhp->zpool_hdl; in zpool_expand_proplist() 844 zpool_name_valid(libzfs_handle_t *hdl, boolean_t isopen, const char *pool) in zpool_name_valid() 933 zpool_open_canfail(libzfs_handle_t *hdl, const char *pool) in zpool_open_canfail() 975 zpool_open_silent(libzfs_handle_t *hdl, const char *pool, zpool_handle_t **ret) in zpool_open_silent() 1006 zpool_open(libzfs_handle_t *hdl, const char *pool) in zpool_open() 1063 zpool_create(libzfs_handle_t *hdl, const char *pool, nvlist_t *nvroot, in zpool_create() 1184 libzfs_handle_t *hdl = zhp->zpool_hdl; in zpool_destroy() 1228 libzfs_handle_t *hdl = zhp->zpool_hdl; in zpool_add() [all …]
|
H A D | libzfs_sendrecv.c | 57 extern void zfs_setprop_error(libzfs_handle_t *, zfs_prop_t, int, char *); 59 static int zfs_receive_impl(libzfs_handle_t *, const char *, const char *, 62 static int guid_to_name(libzfs_handle_t *, const char *, 70 libzfs_handle_t *dedup_hdl; 127 ddt_hash_append(libzfs_handle_t *hdl, dedup_table_t *ddt, dedup_entry_t **ddepp, in ddt_hash_append() 165 ddt_update(libzfs_handle_t *hdl, dedup_table_t *ddt, zio_cksum_t *cs, in ddt_update() 825 gather_nvlist(libzfs_handle_t *hdl, const char *fsname, const char *fromsnap, in gather_nvlist() 889 libzfs_handle_t *hdl = zhp->zfs_hdl; in estimate_ioctl() 954 libzfs_handle_t *hdl = zhp->zfs_hdl; in dump_ioctl() 1047 libzfs_handle_t *hdl = zhp->zfs_hdl; in send_progress_thread() [all …]
|
H A D | libzfs_import.c | 215 add_config(libzfs_handle_t *hdl, pool_list_t *pl, const char *path, in add_config() 352 pool_active(libzfs_handle_t *hdl, const char *name, uint64_t guid, in pool_active() 376 refresh_config(libzfs_handle_t *hdl, nvlist_t *config) in refresh_config() 436 get_configs(libzfs_handle_t *hdl, pool_list_t *pl, boolean_t active_ok) in get_configs() 917 libzfs_handle_t *rn_hdl; 1126 zpool_find_import_impl(libzfs_handle_t *hdl, importargs_t *iarg) in zpool_find_import_impl() 1304 zpool_find_import(libzfs_handle_t *hdl, int argc, char **argv) in zpool_find_import() 1320 zpool_find_import_cached(libzfs_handle_t *hdl, const char *cachefile, in zpool_find_import_cached() 1454 zpool_search_import(libzfs_handle_t *hdl, importargs_t *import) in zpool_search_import() 1529 zpool_in_use(libzfs_handle_t *hdl, int fd, pool_state_t *state, char **namestr, in zpool_in_use()
|
/titanic_41/usr/src/lib/libdiskmgt/common/ |
H A D | inuse_zpool.c | 56 static int (*zfsdl_zpool_in_use)(libzfs_handle_t *hdl, int fd, 58 static libzfs_handle_t *(*zfsdl_libzfs_init)(boolean_t); 63 static libzfs_handle_t *zfs_hdl; 157 if ((zfsdl_libzfs_init = (libzfs_handle_t *(*)(boolean_t)) in init_zpool() 159 (zfsdl_zpool_in_use = (int (*)(libzfs_handle_t *, int, in init_zpool()
|
/titanic_41/usr/src/cmd/fm/modules/common/zfs-retire/ |
H A D | zfs_retire.c | 50 libzfs_handle_t *zrd_hdl; 94 find_vdev(libzfs_handle_t *zhdl, nvlist_t *nv, const char *search_fru, in find_vdev() 140 find_by_guid(libzfs_handle_t *zhdl, uint64_t pool_guid, uint64_t vdev_guid, in find_by_guid() 201 find_by_fru(libzfs_handle_t *zhdl, const char *fru, nvlist_t **vdevp) in find_by_fru() 361 libzfs_handle_t *zhdl = zdp->zrd_hdl; in zfs_retire_recv() 575 libzfs_handle_t *zhdl; in _fmd_init()
|
/titanic_41/usr/src/cmd/smbsrv/smbd/ |
H A D | smbd_vss.c | 104 libzfs_handle_t *libhd; in smbd_vss_get_count() 148 libzfs_handle_t *libhd; in smbd_vss_get_snapshots() 231 libzfs_handle_t *libhd; in smbd_vss_map_gmttoken()
|
/titanic_41/usr/src/lib/libbe/common/ |
H A D | libbe_priv.h | 138 extern libzfs_handle_t *g_zfs; 191 int zfs_err_to_be_err(libzfs_handle_t *);
|
/titanic_41/usr/src/cmd/fs.d/nfs/rquotad/ |
H A D | rpc.rquotad.c | 84 static libzfs_handle_t *(*_libzfs_init)(void); 85 static void (*_libzfs_fini)(libzfs_handle_t *); 86 static zfs_handle_t *(*_zfs_open)(libzfs_handle_t *, const char *, int); 90 static libzfs_handle_t *g_zfs = NULL; 105 _libzfs_init = (libzfs_handle_t *(*)(void))dlsym(hdl, in load_libzfs()
|
/titanic_41/usr/src/cmd/zfs/ |
H A D | zfs_util.h | 36 libzfs_handle_t *g_zfs;
|
/titanic_41/usr/src/test/zfs-tests/tests/functional/libzfs/ |
H A D | many_fds.c | 44 libzfs_handle_t *h; in main()
|
/titanic_41/usr/src/cmd/zinject/ |
H A D | zinject.h | 64 extern libzfs_handle_t *g_zfs;
|
/titanic_41/usr/src/cmd/zpool/ |
H A D | zpool_util.h | 66 libzfs_handle_t *g_zfs;
|
/titanic_41/usr/src/cmd/fs.d/ufs/quota/ |
H A D | quota.c | 95 static libzfs_handle_t *(*_libzfs_init)(void); 96 static void (*_libzfs_fini)(libzfs_handle_t *); 97 static zfs_handle_t *(*_zfs_open)(libzfs_handle_t *, const char *, int); 101 static libzfs_handle_t *g_zfs = NULL; 116 _libzfs_init = (libzfs_handle_t *(*)(void))dlsym(hdl, in load_libzfs()
|
/titanic_41/usr/src/lib/libshare/common/ |
H A D | libshare_zfs.c | 342 libzfs_handle_t *libhandle; in get_zfs_property() 376 libzfs_handle_t *libhandle; in sa_zfs_is_shared() 760 libzfs_handle_t *zfs_libhandle; in sa_get_zfs_shares() 1267 libzfs_handle_t *libhandle; in sa_share_zfs() 1373 libzfs_handle_t * 1387 sa_zfs_get_info(libzfs_handle_t *libzfs, char *path, char *mountpointp, in sa_zfs_get_info() 1543 libzfs_handle_t *z_lib; in sa_zfs_setprop()
|
H A D | libshare_impl.h | 106 libzfs_handle_t *zfs_libhandle;
|
/titanic_41/usr/src/cmd/fm/modules/common/zfs-diagnosis/ |
H A D | zfs_de.c | 330 libzfs_handle_t *zhdl = fmd_hdl_getspecific(hdl); in zfs_purge_cases() 393 libzfs_handle_t *zhdl = fmd_hdl_getspecific(hdl); in zfs_case_solve() 662 libzfs_handle_t *zhdl = fmd_hdl_getspecific(hdl); in zfs_fm_recv() 982 libzfs_handle_t *zhdl; in _fmd_init() 1033 libzfs_handle_t *zhdl; in _fmd_fini()
|
/titanic_41/usr/src/lib/libzfs_jni/common/ |
H A D | libzfs_jni_util.h | 109 extern libzfs_handle_t *g_zfs;
|
/titanic_41/usr/src/lib/fm/topo/libtopo/common/ |
H A D | zfs.c | 64 static libzfs_handle_t *g_zfs = NULL;
|