Lines Matching refs:zhandle
651 * zfs_init_libshare(zhandle, service)
659 zfs_init_libshare(libzfs_handle_t *zhandle, int service)
673 _sa_needs_refresh(zhandle->libzfs_sharehdl)) {
674 zfs_uninit_libshare(zhandle);
675 zhandle->libzfs_sharehdl = _sa_init(service);
678 if (zhandle && zhandle->libzfs_sharehdl == NULL)
679 zhandle->libzfs_sharehdl = _sa_init(service);
681 if (zhandle->libzfs_sharehdl == NULL)
688 * zfs_uninit_libshare(zhandle)
694 zfs_uninit_libshare(libzfs_handle_t *zhandle)
696 if (zhandle != NULL && zhandle->libzfs_sharehdl != NULL) {
698 _sa_fini(zhandle->libzfs_sharehdl);
699 zhandle->libzfs_sharehdl = NULL;