diff options
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/fuse.h | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/include/linux/fuse.h b/include/linux/fuse.h index 19d69a3e1623..61f34636ffbc 100644 --- a/include/linux/fuse.h +++ b/include/linux/fuse.h | |||
@@ -74,7 +74,13 @@ enum fuse_opcode { | |||
74 | FUSE_RMDIR = 11, | 74 | FUSE_RMDIR = 11, |
75 | FUSE_RENAME = 12, | 75 | FUSE_RENAME = 12, |
76 | FUSE_LINK = 13, | 76 | FUSE_LINK = 13, |
77 | FUSE_OPEN = 14, | ||
78 | FUSE_READ = 15, | ||
79 | FUSE_WRITE = 16, | ||
77 | FUSE_STATFS = 17, | 80 | FUSE_STATFS = 17, |
81 | FUSE_RELEASE = 18, | ||
82 | FUSE_FSYNC = 20, | ||
83 | FUSE_FLUSH = 25, | ||
78 | FUSE_INIT = 26 | 84 | FUSE_INIT = 26 |
79 | }; | 85 | }; |
80 | 86 | ||
@@ -132,10 +138,51 @@ struct fuse_setattr_in { | |||
132 | struct fuse_attr attr; | 138 | struct fuse_attr attr; |
133 | }; | 139 | }; |
134 | 140 | ||
141 | struct fuse_open_in { | ||
142 | __u32 flags; | ||
143 | }; | ||
144 | |||
145 | struct fuse_open_out { | ||
146 | __u64 fh; | ||
147 | __u32 open_flags; | ||
148 | }; | ||
149 | |||
150 | struct fuse_release_in { | ||
151 | __u64 fh; | ||
152 | __u32 flags; | ||
153 | }; | ||
154 | |||
155 | struct fuse_flush_in { | ||
156 | __u64 fh; | ||
157 | __u32 flush_flags; | ||
158 | }; | ||
159 | |||
160 | struct fuse_read_in { | ||
161 | __u64 fh; | ||
162 | __u64 offset; | ||
163 | __u32 size; | ||
164 | }; | ||
165 | |||
166 | struct fuse_write_in { | ||
167 | __u64 fh; | ||
168 | __u64 offset; | ||
169 | __u32 size; | ||
170 | __u32 write_flags; | ||
171 | }; | ||
172 | |||
173 | struct fuse_write_out { | ||
174 | __u32 size; | ||
175 | }; | ||
176 | |||
135 | struct fuse_statfs_out { | 177 | struct fuse_statfs_out { |
136 | struct fuse_kstatfs st; | 178 | struct fuse_kstatfs st; |
137 | }; | 179 | }; |
138 | 180 | ||
181 | struct fuse_fsync_in { | ||
182 | __u64 fh; | ||
183 | __u32 fsync_flags; | ||
184 | }; | ||
185 | |||
139 | struct fuse_init_in_out { | 186 | struct fuse_init_in_out { |
140 | __u32 major; | 187 | __u32 major; |
141 | __u32 minor; | 188 | __u32 minor; |