Lines Matching refs:impl_handle

1045 	sa_handle_impl_t impl_handle = (sa_handle_impl_t)handle;
1047 if (impl_handle != NULL) {
1052 if (impl_handle->doc != NULL)
1053 xmlFreeDoc(impl_handle->doc);
1056 remove_handle_for_root(impl_handle->tree);
1068 sa_scf_fini(impl_handle->scfhandle);
1069 sa_zfs_fini(impl_handle);
1072 free(impl_handle);
1159 sa_handle_impl_t impl_handle = (sa_handle_impl_t)handle;
1161 if (impl_handle != NULL && impl_handle->tree != NULL) {
1178 node = find_group_by_name(impl_handle->tree,
1186 (void) sa_get_instance(impl_handle->scfhandle, (char *)group);
1506 sa_handle_impl_t impl_handle;
1507 impl_handle =
1509 if (impl_handle != NULL) {
1510 err = sa_commit_share(impl_handle->scfhandle,
1745 sa_handle_impl_t impl_handle;
1746 impl_handle = (sa_handle_impl_t)
1748 if (impl_handle != NULL) {
1750 impl_handle->scfhandle, group,
1793 sa_handle_impl_t impl_handle;
1801 impl_handle = (sa_handle_impl_t)sa_find_group_handle(group);
1802 if (impl_handle != NULL) {
1809 ret = sa_delete_share(impl_handle->scfhandle, oldgroup,
1812 ret = sa_commit_share(impl_handle->scfhandle,
1847 * _sa_create_group(impl_handle, groupname)
1854 _sa_create_group(sa_handle_impl_t impl_handle, char *groupname)
1859 node = xmlNewChild(impl_handle->tree, NULL, (xmlChar *)"group",
1910 sa_handle_impl_t impl_handle = (sa_handle_impl_t)handle;
1914 if (impl_handle == NULL || impl_handle->scfhandle == NULL) {
1924 node = xmlNewChild(impl_handle->tree, NULL,
1932 ret = sa_create_instance(impl_handle->scfhandle,
1936 impl_handle->scfhandle,
1941 impl_handle->scfhandle,
1945 impl_handle->scfhandle,
1946 impl_handle);
1949 impl_handle->scfhandle);
1955 impl_handle->scfhandle,
1962 impl_handle->scfhandle,
1971 impl_handle->scfhandle,
1977 impl_handle->scfhandle,
1978 impl_handle);
1981 impl_handle->scfhandle);
2019 sa_handle_impl_t impl_handle;
2021 impl_handle = (sa_handle_impl_t)sa_find_group_handle(group);
2022 if (impl_handle != NULL) {
2025 ret = sa_delete_instance(impl_handle->scfhandle, name);
2122 sa_handle_impl_t impl_handle;
2132 impl_handle = (sa_handle_impl_t)sa_find_group_handle(group);
2133 if (impl_handle != NULL) {
2135 ret = sa_get_instance(impl_handle->scfhandle, groupname);
2138 ret = sa_start_transaction(impl_handle->scfhandle,
2141 ret = sa_set_property(impl_handle->scfhandle,
2145 impl_handle->scfhandle,
2146 impl_handle);
2149 impl_handle->scfhandle);
2230 sa_handle_impl_t impl_handle;
2231 impl_handle =
2234 if (impl_handle != NULL) {
2236 impl_handle->scfhandle, group,
2531 sa_handle_impl_t impl_handle;
2532 impl_handle = (sa_handle_impl_t)sa_find_group_handle(group);
2533 if (impl_handle != NULL) {
2534 ret = sa_commit_share(impl_handle->scfhandle, group,
2677 sa_handle_impl_t impl_handle;
2678 impl_handle =
2681 assert(impl_handle != NULL);
2682 if (impl_handle != NULL) {
2684 impl_handle->scfhandle, groupname);
2686 impl_handle->scfhandle, oname);
2785 sa_handle_impl_t impl_handle;
2801 impl_handle = (sa_handle_impl_t)sa_find_group_handle(group);
2802 if (impl_handle != NULL) {
2805 impl_handle->scfhandle);
2808 impl_handle->scfhandle, impl_handle);
2848 sa_handle_impl_t impl_handle;
2850 impl_handle = (sa_handle_impl_t)sa_find_group_handle(group);
2851 if (impl_handle != NULL) {
2853 ret = sa_delete_pgroup(impl_handle->scfhandle,
2917 sa_handle_impl_t impl_handle;
2918 impl_handle =
2921 if (impl_handle != NULL) {
2923 impl_handle->scfhandle, groupname);
2925 impl_handle->scfhandle, oname);
2968 sa_handle_impl_t impl_handle;
2969 impl_handle =
2971 if (impl_handle != NULL) {
2972 ret = sa_delete_pgroup(impl_handle->scfhandle,
3081 sa_handle_impl_t impl_handle;
3091 impl_handle = (sa_handle_impl_t)sa_find_group_handle(group);
3092 if (impl_handle == NULL || impl_handle->scfhandle == NULL)
3094 scf_handle = impl_handle->scfhandle;
3292 sa_handle_impl_t impl_handle;
3295 impl_handle = (sa_handle_impl_t)sa_find_group_handle(
3297 if (impl_handle == NULL ||
3298 impl_handle->scfhandle == NULL)
3301 scf_handle = impl_handle->scfhandle;
4368 sa_handle_impl_t impl_handle;
4369 impl_handle = (sa_handle_impl_t)sa_find_group_handle(group);
4370 if (impl_handle != NULL)
4371 ret = sa_commit_share(impl_handle->scfhandle,