4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License (the "License").
6 * You may not use this file except in compliance with the License.
7 *
8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 * or http://www.opensolaris.org/os/licensing.
10 * See the License for the specific language governing permissions
11 * and limitations under the License.
12 *
13 * When distributing Covered Code, include this CDDL HEADER in each
14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 * If applicable, add the following below this CDDL HEADER, with the
16 * fields enclosed by brackets "[]" replaced with your own identifying
17 * information: Portions Copyright [yyyy] [name of copyright owner]
18 *
19 * CDDL HEADER END
20 */
21 /*
22 * Copyright 2007 Sun Microsystems, Inc. All rights reserved.
23 * Use is subject to license terms.
24 */
25
26 /* Copyright (c) 1983, 1984, 1985, 1986, 1987, 1988, 1989 AT&T */
27 /* All Rights Reserved */
28
29 /*
30 * University Copyright- Copyright (c) 1982, 1986, 1988
31 * The Regents of the University of California
32 * All Rights Reserved
33 *
34 * University Acknowledgment- Portions of this document are derived from
35 * software developed by the University of California, Berkeley, and its
36 * contributors.
37 */
38
39 /*
40 * Copyright (c) 2013 by Delphix. All rights reserved.
41 */
42
43 #ifndef _SYS_FILIO_H
71 #define _FIOLFSS _IO('f', 65) /* file system lock status */
72 #define _FIOFFS _IO('f', 66) /* file system flush */
73 #define _FIOAI _FIOOBSOLETE67 /* get allocation info is */
74 #define _FIOOBSOLETE67 _IO('f', 67) /* obsolete and unsupported */
75 #define _FIOSATIME _IO('f', 68) /* set atime */
76 #define _FIOSDIO _IO('f', 69) /* set delayed io */
77 #define _FIOGDIO _IO('f', 70) /* get delayed io */
78 #define _FIOIO _IO('f', 71) /* inode open */
79 #define _FIOISLOG _IO('f', 72) /* disksuite/ufs protocol */
80 #define _FIOISLOGOK _IO('f', 73) /* disksuite/ufs protocol */
81 #define _FIOLOGRESET _IO('f', 74) /* disksuite/ufs protocol */
82
83 /*
84 * Contract-private ioctl()
85 */
86 #define _FIOISBUSY _IO('f', 75) /* networker/ufs protocol */
87 #define _FIODIRECTIO _IO('f', 76) /* directio */
88 #define _FIOTUNE _IO('f', 77) /* tuning */
89
90 /*
91 * WARNING: These 'f' ioctls are also defined in sys/fs/cachefs_fs.h
92 * It currently defines 78-86.
93 */
94
95 /*
96 * Internal Logging UFS
97 */
98 #define _FIOLOGENABLE _IO('f', 87) /* logging/ufs protocol */
99 #define _FIOLOGDISABLE _IO('f', 88) /* logging/ufs protocol */
100
101 /*
102 * File system snapshot ioctls (see sys/fs/ufs_snap.h)
103 * (there is another snapshot ioctl, _FIOSNAPSHOTCREATE_MULTI,
104 * defined farther down in this file.)
105 */
106 #define _FIOSNAPSHOTCREATE _IO('f', 89) /* create a snapshot */
107 #define _FIOSNAPSHOTDELETE _IO('f', 90) /* delete a snapshot */
108
109 /*
110 * Return the current superblock of size SBSIZE
111 */
112 #define _FIOGETSUPERBLOCK _IO('f', 91)
113
114 /*
115 * Contract private ioctl
|
4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License (the "License").
6 * You may not use this file except in compliance with the License.
7 *
8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 * or http://www.opensolaris.org/os/licensing.
10 * See the License for the specific language governing permissions
11 * and limitations under the License.
12 *
13 * When distributing Covered Code, include this CDDL HEADER in each
14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 * If applicable, add the following below this CDDL HEADER, with the
16 * fields enclosed by brackets "[]" replaced with your own identifying
17 * information: Portions Copyright [yyyy] [name of copyright owner]
18 *
19 * CDDL HEADER END
20 */
21 /*
22 * Copyright 2007 Sun Microsystems, Inc. All rights reserved.
23 * Use is subject to license terms.
24 * Copyright 2015 Nexenta Systems, Inc. All rights reserved.
25 */
26
27 /* Copyright (c) 1983, 1984, 1985, 1986, 1987, 1988, 1989 AT&T */
28 /* All Rights Reserved */
29
30 /*
31 * University Copyright- Copyright (c) 1982, 1986, 1988
32 * The Regents of the University of California
33 * All Rights Reserved
34 *
35 * University Acknowledgment- Portions of this document are derived from
36 * software developed by the University of California, Berkeley, and its
37 * contributors.
38 */
39
40 /*
41 * Copyright (c) 2013 by Delphix. All rights reserved.
42 */
43
44 #ifndef _SYS_FILIO_H
72 #define _FIOLFSS _IO('f', 65) /* file system lock status */
73 #define _FIOFFS _IO('f', 66) /* file system flush */
74 #define _FIOAI _FIOOBSOLETE67 /* get allocation info is */
75 #define _FIOOBSOLETE67 _IO('f', 67) /* obsolete and unsupported */
76 #define _FIOSATIME _IO('f', 68) /* set atime */
77 #define _FIOSDIO _IO('f', 69) /* set delayed io */
78 #define _FIOGDIO _IO('f', 70) /* get delayed io */
79 #define _FIOIO _IO('f', 71) /* inode open */
80 #define _FIOISLOG _IO('f', 72) /* disksuite/ufs protocol */
81 #define _FIOISLOGOK _IO('f', 73) /* disksuite/ufs protocol */
82 #define _FIOLOGRESET _IO('f', 74) /* disksuite/ufs protocol */
83
84 /*
85 * Contract-private ioctl()
86 */
87 #define _FIOISBUSY _IO('f', 75) /* networker/ufs protocol */
88 #define _FIODIRECTIO _IO('f', 76) /* directio */
89 #define _FIOTUNE _IO('f', 77) /* tuning */
90
91 /*
92 * Internal Logging UFS
93 */
94 #define _FIOLOGENABLE _IO('f', 87) /* logging/ufs protocol */
95 #define _FIOLOGDISABLE _IO('f', 88) /* logging/ufs protocol */
96
97 /*
98 * File system snapshot ioctls (see sys/fs/ufs_snap.h)
99 * (there is another snapshot ioctl, _FIOSNAPSHOTCREATE_MULTI,
100 * defined farther down in this file.)
101 */
102 #define _FIOSNAPSHOTCREATE _IO('f', 89) /* create a snapshot */
103 #define _FIOSNAPSHOTDELETE _IO('f', 90) /* delete a snapshot */
104
105 /*
106 * Return the current superblock of size SBSIZE
107 */
108 #define _FIOGETSUPERBLOCK _IO('f', 91)
109
110 /*
111 * Contract private ioctl
|