Lines Matching refs:zfs_hdl
596 smb_quota_zfs_handle_t zfs_hdl;
605 status = smb_quota_zfs_init(request->qs_root_path, &zfs_hdl);
648 if (zfs_prop_set(zfs_hdl.z_fs, qsetstr, qlimit) != 0) {
658 smb_quota_zfs_fini(&zfs_hdl);
953 smb_quota_zfs_handle_t zfs_hdl;
958 status = smb_quota_zfs_init(qtree->qt_path, &zfs_hdl);
965 if (zfs_userspace(zfs_hdl.z_fs, p,
972 smb_quota_zfs_fini(&zfs_hdl);
1082 smb_quota_zfs_init(const char *path, smb_quota_zfs_handle_t *zfs_hdl)
1089 if ((zfs_hdl->z_lib = libzfs_init()) == NULL)
1092 zfs_hdl->z_fs = zfs_open(zfs_hdl->z_lib, dataset, ZFS_TYPE_DATASET);
1093 if (zfs_hdl->z_fs == NULL) {
1094 libzfs_fini(zfs_hdl->z_lib);
1107 smb_quota_zfs_fini(smb_quota_zfs_handle_t *zfs_hdl)
1109 zfs_close(zfs_hdl->z_fs);
1110 libzfs_fini(zfs_hdl->z_lib);