zfs.h revision 9c3fd1216fa7fb02cfbc78a2518a686d54b48ab8
f38cb554a534c6df738be3f4d23327e69888e634John Wren Kennedy * CDDL HEADER START
f38cb554a534c6df738be3f4d23327e69888e634John Wren Kennedy * The contents of this file are subject to the terms of the
f38cb554a534c6df738be3f4d23327e69888e634John Wren Kennedy * Common Development and Distribution License (the "License").
f38cb554a534c6df738be3f4d23327e69888e634John Wren Kennedy * You may not use this file except in compliance with the License.
f38cb554a534c6df738be3f4d23327e69888e634John Wren Kennedy * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
f38cb554a534c6df738be3f4d23327e69888e634John Wren Kennedy * or http://www.opensolaris.org/os/licensing.
f38cb554a534c6df738be3f4d23327e69888e634John Wren Kennedy * See the License for the specific language governing permissions
f38cb554a534c6df738be3f4d23327e69888e634John Wren Kennedy * and limitations under the License.
f38cb554a534c6df738be3f4d23327e69888e634John Wren Kennedy * When distributing Covered Code, include this CDDL HEADER in each
f38cb554a534c6df738be3f4d23327e69888e634John Wren Kennedy * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
f38cb554a534c6df738be3f4d23327e69888e634John Wren Kennedy * If applicable, add the following below this CDDL HEADER, with the
f38cb554a534c6df738be3f4d23327e69888e634John Wren Kennedy * fields enclosed by brackets "[]" replaced with your own identifying
f38cb554a534c6df738be3f4d23327e69888e634John Wren Kennedy * information: Portions Copyright [yyyy] [name of copyright owner]
f38cb554a534c6df738be3f4d23327e69888e634John Wren Kennedy * CDDL HEADER END
f38cb554a534c6df738be3f4d23327e69888e634John Wren Kennedy * Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved.
f38cb554a534c6df738be3f4d23327e69888e634John Wren Kennedy * Copyright (c) 2011, 2014 by Delphix. All rights reserved.
f38cb554a534c6df738be3f4d23327e69888e634John Wren Kennedy * Copyright 2011 Nexenta Systems, Inc. All rights reserved.
f38cb554a534c6df738be3f4d23327e69888e634John Wren Kennedy * Copyright (c) 2013, Joyent, Inc. All rights reserved.
f38cb554a534c6df738be3f4d23327e69888e634John Wren Kennedy/* Portions Copyright 2010 Robert Milkowski */
f38cb554a534c6df738be3f4d23327e69888e634John Wren Kennedy * Types and constants shared between userland and the kernel.
f38cb554a534c6df738be3f4d23327e69888e634John Wren Kennedy * Each dataset can be one of the following types. These constants can be
f38cb554a534c6df738be3f4d23327e69888e634John Wren Kennedy * combined into masks that can be passed to various functions.
f38cb554a534c6df738be3f4d23327e69888e634John Wren Kennedy (ZFS_TYPE_FILESYSTEM | ZFS_TYPE_VOLUME | ZFS_TYPE_SNAPSHOT)
* the property table in usr/src/common/zfs/zfs_prop.c.
} zfs_prop_t;
* the property table in usr/src/common/zfs/zpool_prop.c.
} zpool_prop_t;
typedef int (*zprop_func)(int, void *);
ZFS_DELEG_NONE = 0,
ZFS_CANMOUNT_OFF = 0,
ZFS_LOGBIAS_LATENCY = 0,
typedef enum zfs_share_op {
ZFS_SHARE_NFS = 0,
typedef enum zfs_smb_acl_op {
typedef enum zfs_cache_type {
ZFS_CACHE_NONE = 0,
ZFS_SYNC_STANDARD = 0,
* usr/src/grub/capability.
#define SPA_VERSION_IS_SUPPORTED(v) \
* also update the version_table[] and help message in zfs_prop.c.
typedef struct zpool_rewind_policy {
typedef enum vdev_state {
} vdev_state_t;
typedef enum vdev_aux {
} vdev_aux_t;
typedef enum pool_state {
} pool_state_t;
typedef enum pool_scan_func {
typedef enum zio_type {
ZIO_TYPE_NULL = 0,
} zio_type_t;
typedef struct pool_scan_stat {
typedef enum dsl_scan_state {
typedef struct vdev_stat {
} vdev_stat_t;
typedef struct ddt_object {
} ddt_object_t;
typedef struct ddt_stat {
} ddt_stat_t;
typedef struct ddt_histogram {
typedef enum zfs_ioc {
} zfs_ioc_t;
#ifdef __cplusplus