Go to the documentation of this file.
68 #include <linux/types.h>
91 #define FUSE_KERNEL_VERSION 7
94 #define FUSE_KERNEL_MINOR_VERSION 20
97 #define FUSE_ROOT_ID 1
144 #define FATTR_MODE (1 << 0)
145 #define FATTR_UID (1 << 1)
146 #define FATTR_GID (1 << 2)
147 #define FATTR_SIZE (1 << 3)
148 #define FATTR_ATIME (1 << 4)
149 #define FATTR_MTIME (1 << 5)
150 #define FATTR_FH (1 << 6)
151 #define FATTR_ATIME_NOW (1 << 7)
152 #define FATTR_MTIME_NOW (1 << 8)
153 #define FATTR_LOCKOWNER (1 << 9)
162 #define FOPEN_DIRECT_IO (1 << 0)
163 #define FOPEN_KEEP_CACHE (1 << 1)
164 #define FOPEN_NONSEEKABLE (1 << 2)
183 #define FUSE_ASYNC_READ (1 << 0)
184 #define FUSE_POSIX_LOCKS (1 << 1)
185 #define FUSE_FILE_OPS (1 << 2)
186 #define FUSE_ATOMIC_O_TRUNC (1 << 3)
187 #define FUSE_EXPORT_SUPPORT (1 << 4)
188 #define FUSE_BIG_WRITES (1 << 5)
189 #define FUSE_DONT_MASK (1 << 6)
190 #define FUSE_SPLICE_WRITE (1 << 7)
191 #define FUSE_SPLICE_MOVE (1 << 8)
192 #define FUSE_SPLICE_READ (1 << 9)
193 #define FUSE_FLOCK_LOCKS (1 << 10)
194 #define FUSE_HAS_IOCTL_DIR (1 << 11)
195 #define FUSE_AUTO_INVAL_DATA (1 << 12)
202 #define CUSE_UNRESTRICTED_IOCTL (1 << 0)
207 #define FUSE_RELEASE_FLUSH (1 << 0)
208 #define FUSE_RELEASE_FLOCK_UNLOCK (1 << 1)
213 #define FUSE_GETATTR_FH (1 << 0)
218 #define FUSE_LK_FLOCK (1 << 0)
226 #define FUSE_WRITE_CACHE (1 << 0)
227 #define FUSE_WRITE_LOCKOWNER (1 << 1)
232 #define FUSE_READ_LOCKOWNER (1 << 1)
245 #define FUSE_IOCTL_COMPAT (1 << 0)
246 #define FUSE_IOCTL_UNRESTRICTED (1 << 1)
247 #define FUSE_IOCTL_RETRY (1 << 2)
248 #define FUSE_IOCTL_32BIT (1 << 3)
249 #define FUSE_IOCTL_DIR (1 << 4)
251 #define FUSE_IOCTL_MAX_IOV 256
258 #define FUSE_POLL_SCHEDULE_NOTIFY (1 << 0)
318 #define FUSE_MIN_READ_BUFFER 8192
320 #define FUSE_COMPAT_ENTRY_OUT_SIZE 120
353 #define FUSE_COMPAT_ATTR_OUT_SIZE 96
362 #define FUSE_COMPAT_MKNOD_IN_SIZE 8
445 #define FUSE_COMPAT_WRITE_IN_SIZE 24
462 #define FUSE_COMPAT_STATFS_SIZE 48
523 #define CUSE_INIT_INFO_MAX 4096
628 #define FUSE_NAME_OFFSET offsetof(struct fuse_dirent, name)
629 #define FUSE_DIRENT_ALIGN(x) (((x) + sizeof(__u64) - 1) & ~(sizeof(__u64) - 1))
630 #define FUSE_DIRENT_SIZE(d) \
631 FUSE_DIRENT_ALIGN(FUSE_NAME_OFFSET + (d)->namelen)