Home
last modified time | relevance | path

Searched refs:impl_handle (Results 1 – 2 of 2) sorted by relevance

/titanic_44/usr/src/lib/libshare/common/
H A Dlibshare.c1045 sa_handle_impl_t impl_handle = (sa_handle_impl_t)handle; in sa_fini() local
1047 if (impl_handle != NULL) { in sa_fini()
1052 if (impl_handle->doc != NULL) in sa_fini()
1053 xmlFreeDoc(impl_handle->doc); in sa_fini()
1056 remove_handle_for_root(impl_handle->tree); in sa_fini()
1068 sa_scf_fini(impl_handle->scfhandle); in sa_fini()
1069 sa_zfs_fini(impl_handle); in sa_fini()
1072 free(impl_handle); in sa_fini()
1159 sa_handle_impl_t impl_handle = (sa_handle_impl_t)handle; in sa_get_group() local
1161 if (impl_handle != NULL && impl_handle->tree != NULL) { in sa_get_group()
[all …]
H A Dlibshare_zfs.c70 sa_zfs_init(sa_handle_impl_t impl_handle) in sa_zfs_init() argument
72 impl_handle->zfs_libhandle = libzfs_init(); in sa_zfs_init()
73 if (impl_handle->zfs_libhandle != NULL) { in sa_zfs_init()
74 libzfs_print_on_error(impl_handle->zfs_libhandle, B_TRUE); in sa_zfs_init()
88 sa_zfs_fini(sa_handle_impl_t impl_handle) in sa_zfs_fini() argument
90 if (impl_handle->zfs_libhandle != NULL) { in sa_zfs_fini()
91 if (impl_handle->zfs_list != NULL) { in sa_zfs_fini()
92 zfs_handle_t **zhp = impl_handle->zfs_list; in sa_zfs_fini()
99 for (i = 0; i < impl_handle->zfs_list_count; i++) { in sa_zfs_fini()
102 free(impl_handle->zfs_list); in sa_zfs_fini()
[all …]