#include <linux/types.h>
Go to the source code of this file.
|
enum | fuse_opcode {
FUSE_LOOKUP = 1,
FUSE_FORGET = 2,
FUSE_GETATTR = 3,
FUSE_SETATTR = 4,
FUSE_READLINK = 5,
FUSE_SYMLINK = 6,
FUSE_MKNOD = 8,
FUSE_MKDIR = 9,
FUSE_UNLINK = 10,
FUSE_RMDIR = 11,
FUSE_RENAME = 12,
FUSE_LINK = 13,
FUSE_OPEN = 14,
FUSE_READ = 15,
FUSE_WRITE = 16,
FUSE_STATFS = 17,
FUSE_RELEASE = 18,
FUSE_FSYNC = 20,
FUSE_SETXATTR = 21,
FUSE_GETXATTR = 22,
FUSE_LISTXATTR = 23,
FUSE_REMOVEXATTR = 24,
FUSE_FLUSH = 25,
FUSE_INIT = 26,
FUSE_OPENDIR = 27,
FUSE_READDIR = 28,
FUSE_RELEASEDIR = 29,
FUSE_FSYNCDIR = 30,
FUSE_GETLK = 31,
FUSE_SETLK = 32,
FUSE_SETLKW = 33,
FUSE_ACCESS = 34,
FUSE_CREATE = 35,
FUSE_INTERRUPT = 36,
FUSE_BMAP = 37,
FUSE_DESTROY = 38,
FUSE_IOCTL = 39,
FUSE_POLL = 40,
FUSE_NOTIFY_REPLY = 41,
FUSE_BATCH_FORGET = 42,
FUSE_FALLOCATE = 43,
CUSE_INIT = 4096
} |
|
enum | fuse_notify_code {
FUSE_NOTIFY_POLL = 1,
FUSE_NOTIFY_INVAL_INODE = 2,
FUSE_NOTIFY_INVAL_ENTRY = 3,
FUSE_NOTIFY_STORE = 4,
FUSE_NOTIFY_RETRIEVE = 5,
FUSE_NOTIFY_DELETE = 6,
FUSE_NOTIFY_CODE_MAX
} |
|
#define CUSE_INIT_INFO_MAX 4096 |
#define CUSE_UNRESTRICTED_IOCTL (1 << 0) |
CUSE INIT request/reply flags
CUSE_UNRESTRICTED_IOCTL: use unrestricted ioctl
Definition at line 202 of file fuse.h.
#define FATTR_ATIME (1 << 4) |
#define FATTR_ATIME_NOW (1 << 7) |
#define FATTR_FH (1 << 6) |
#define FATTR_GID (1 << 2) |
#define FATTR_LOCKOWNER (1 << 9) |
#define FATTR_MODE (1 << 0) |
#define FATTR_MTIME (1 << 5) |
#define FATTR_MTIME_NOW (1 << 8) |
#define FATTR_SIZE (1 << 3) |
#define FATTR_UID (1 << 1) |
#define FOPEN_DIRECT_IO (1 << 0) |
Flags returned by the OPEN request
FOPEN_DIRECT_IO: bypass page cache for this open file FOPEN_KEEP_CACHE: don't invalidate the data cache on open FOPEN_NONSEEKABLE: the file is not seekable
Definition at line 162 of file fuse.h.
#define FOPEN_KEEP_CACHE (1 << 1) |
#define FOPEN_NONSEEKABLE (1 << 2) |
#define FUSE_ASYNC_READ (1 << 0) |
INIT request/reply flags
FUSE_ASYNC_READ: asynchronous read requests FUSE_POSIX_LOCKS: remote locking for POSIX file locks FUSE_FILE_OPS: kernel sends file handle for fstat, etc... (not yet supported) FUSE_ATOMIC_O_TRUNC: handles the O_TRUNC open flag in the filesystem FUSE_EXPORT_SUPPORT: filesystem handles lookups of "." and ".." FUSE_BIG_WRITES: filesystem can handle write size larger than 4kB FUSE_DONT_MASK: don't apply umask to file mode on create operations FUSE_SPLICE_WRITE: kernel supports splice write on the device FUSE_SPLICE_MOVE: kernel supports splice move on the device FUSE_SPLICE_READ: kernel supports splice read on the device FUSE_FLOCK_LOCKS: remote locking for BSD style file locks FUSE_HAS_IOCTL_DIR: kernel supports ioctl on directories FUSE_AUTO_INVAL_DATA: automatically invalidate cached pages
Definition at line 183 of file fuse.h.
#define FUSE_ATOMIC_O_TRUNC (1 << 3) |
#define FUSE_AUTO_INVAL_DATA (1 << 12) |
#define FUSE_BIG_WRITES (1 << 5) |
#define FUSE_COMPAT_ATTR_OUT_SIZE 96 |
#define FUSE_COMPAT_ENTRY_OUT_SIZE 120 |
#define FUSE_COMPAT_MKNOD_IN_SIZE 8 |
#define FUSE_COMPAT_STATFS_SIZE 48 |
#define FUSE_COMPAT_WRITE_IN_SIZE 24 |
#define FUSE_DONT_MASK (1 << 6) |
#define FUSE_EXPORT_SUPPORT (1 << 4) |
#define FUSE_FILE_OPS (1 << 2) |
#define FUSE_FLOCK_LOCKS (1 << 10) |
#define FUSE_GETATTR_FH (1 << 0) |
Getattr flags
Definition at line 213 of file fuse.h.
#define FUSE_HAS_IOCTL_DIR (1 << 11) |
#define FUSE_IOCTL_32BIT (1 << 3) |
#define FUSE_IOCTL_COMPAT (1 << 0) |
Ioctl flags
FUSE_IOCTL_COMPAT: 32bit compat ioctl on 64bit machine FUSE_IOCTL_UNRESTRICTED: not restricted to well-formed ioctls, retry allowed FUSE_IOCTL_RETRY: retry with new iovecs FUSE_IOCTL_32BIT: 32bit ioctl FUSE_IOCTL_DIR: is a directory
FUSE_IOCTL_MAX_IOV: maximum of in_iovecs + out_iovecs
Definition at line 245 of file fuse.h.
#define FUSE_IOCTL_DIR (1 << 4) |
#define FUSE_IOCTL_MAX_IOV 256 |
#define FUSE_IOCTL_RETRY (1 << 2) |
#define FUSE_IOCTL_UNRESTRICTED (1 << 1) |
#define FUSE_KERNEL_MINOR_VERSION 20 |
Minor version number of this interface
Definition at line 94 of file fuse.h.
#define FUSE_KERNEL_VERSION 7 |
Version number of this interface
Definition at line 91 of file fuse.h.
#define FUSE_LK_FLOCK (1 << 0) |
Lock flags
Definition at line 218 of file fuse.h.
#define FUSE_MIN_READ_BUFFER 8192 |
#define FUSE_POLL_SCHEDULE_NOTIFY (1 << 0) |
Poll flags
FUSE_POLL_SCHEDULE_NOTIFY: request poll notify
Definition at line 258 of file fuse.h.
#define FUSE_POSIX_LOCKS (1 << 1) |
#define FUSE_READ_LOCKOWNER (1 << 1) |
Read flags
Definition at line 232 of file fuse.h.
#define FUSE_RELEASE_FLOCK_UNLOCK (1 << 1) |
#define FUSE_RELEASE_FLUSH (1 << 0) |
Release flags
Definition at line 207 of file fuse.h.
#define FUSE_SPLICE_MOVE (1 << 8) |
#define FUSE_SPLICE_READ (1 << 9) |
#define FUSE_SPLICE_WRITE (1 << 7) |
#define FUSE_WRITE_CACHE (1 << 0) |
WRITE flags
FUSE_WRITE_CACHE: delayed write from page cache, file handle is guessed FUSE_WRITE_LOCKOWNER: lock_owner field is valid
Definition at line 226 of file fuse.h.
#define FUSE_WRITE_LOCKOWNER (1 << 1) |
- Enumerator:
FUSE_NOTIFY_POLL |
|
FUSE_NOTIFY_INVAL_INODE |
|
FUSE_NOTIFY_INVAL_ENTRY |
|
FUSE_NOTIFY_STORE |
|
FUSE_NOTIFY_RETRIEVE |
|
FUSE_NOTIFY_DELETE |
|
FUSE_NOTIFY_CODE_MAX |
|
Definition at line 307 of file fuse.h.
- Enumerator:
FUSE_LOOKUP |
|
FUSE_FORGET |
|
FUSE_GETATTR |
|
FUSE_SETATTR |
|
FUSE_READLINK |
|
FUSE_SYMLINK |
|
FUSE_MKNOD |
|
FUSE_MKDIR |
|
FUSE_UNLINK |
|
FUSE_RMDIR |
|
FUSE_RENAME |
|
FUSE_LINK |
|
FUSE_OPEN |
|
FUSE_READ |
|
FUSE_WRITE |
|
FUSE_STATFS |
|
FUSE_RELEASE |
|
FUSE_FSYNC |
|
FUSE_SETXATTR |
|
FUSE_GETXATTR |
|
FUSE_LISTXATTR |
|
FUSE_REMOVEXATTR |
|
FUSE_FLUSH |
|
FUSE_INIT |
|
FUSE_OPENDIR |
|
FUSE_READDIR |
|
FUSE_RELEASEDIR |
|
FUSE_FSYNCDIR |
|
FUSE_GETLK |
|
FUSE_SETLK |
|
FUSE_SETLKW |
|
FUSE_ACCESS |
|
FUSE_CREATE |
|
FUSE_INTERRUPT |
|
FUSE_BMAP |
|
FUSE_DESTROY |
|
FUSE_IOCTL |
|
FUSE_POLL |
|
FUSE_NOTIFY_REPLY |
|
FUSE_BATCH_FORGET |
|
FUSE_FALLOCATE |
|
CUSE_INIT |
|
Definition at line 260 of file fuse.h.