Module sys

Source

StructsΒ§

AccessIn
Attr
AttrOut
BatchForgetIn
BmapIn
BmapOut
ChromeOsTmpfileIn
CopyFileRangeIn
CreateIn
Dirent
Direntplus
EntryOut
FallocateIn
FileLock
FlushIn
ForgetIn
ForgetOne
FsOptions
A bitfield passed in as a parameter to and returned from the init method of the FileSystem trait.
FsyncIn
GetattrIn
GetxattrIn
GetxattrOut
InHeader
InitIn
InitInExt
InitOut
InterruptIn
IoctlFlags
IoctlIn
IoctlIovec
Describes a region of memory in the address space of the process that made the ioctl syscall. Similar to libc::iovec but uses u64s for the address and the length.
IoctlOut
Kstatfs
LinkIn
LkIn
LkOut
LseekIn
LseekOut
MkdirIn
MknodIn
NotifyDeleteOut
NotifyInvalEntryOut
NotifyInvalInodeOut
NotifyPollWakeupOut
NotifyRetrieveIn
NotifyStoreOut
Notify_Retrieve_Out
OpenIn
OpenOptions
Options controlling the behavior of files opened by the server in response to an open or create request.
OpenOut
OutHeader
PollIn
PollOut
ReadIn
ReleaseIn
RemoveMappingIn
RemoveMappingOne
Rename2In
RenameIn
Secctx
For each security context, send fuse_secctx with size of security context fuse_secctx will be followed by security context name and this in turn will be followed by actual context label. fuse_secctx, name, context
SecctxHeader
Contains the information about how many fuse_secctx structures are being sent and what’s the total size of all security contexts (including size of fuse_secctx_header).
SetUpMappingFlags
SetUpMappingIn
SetattrIn
SetattrValid
SetxattrIn
StatfsOut
WriteIn
WriteOut

EnumsΒ§

NotifyOpcode
Opcode

ConstantsΒ§

ABORT_ERROR πŸ”’
Reading the device after an abort returns ECONNABORTED.
ASYNC_DIO πŸ”’
Asynchronous direct I/O submission.
ASYNC_READ πŸ”’
Asynchronous read requests.
ATOMIC_O_TRUNC πŸ”’
Handles the O_TRUNC open flag in the filesystem.
AUTO_INVAL_DATA πŸ”’
Automatically invalidate cached pages.
BIG_WRITES πŸ”’
FileSystem can handle write size larger than 4kB.
CACHE_SYMLINKS πŸ”’
Cache readlink responses.
DONT_MASK πŸ”’
Don’t apply umask to file mode on create operations.
DO_READDIRPLUS πŸ”’
Do READDIRPLUS (READDIR+LOOKUP in one).
EXPLICIT_INVAL_DATA πŸ”’
Kernel supports explicit cache invalidation.
EXPORT_SUPPORT πŸ”’
FileSystem handles lookups of β€œ.” and β€œ..”.
FATTR_ATIME πŸ”’
FATTR_ATIME_NOW πŸ”’
FATTR_CTIME πŸ”’
FATTR_FH
FATTR_GID πŸ”’
FATTR_LOCKOWNER
FATTR_MODE πŸ”’
FATTR_MTIME πŸ”’
FATTR_MTIME_NOW πŸ”’
FATTR_SIZE πŸ”’
FATTR_UID πŸ”’
FILE_OPS πŸ”’
Kernel sends file handle for fstat, etc… (not yet supported).
FLOCK_LOCKS πŸ”’
Remote locking for BSD style file locks.
FOPEN_CACHE_DIR πŸ”’
Allow caching the directory entries.
FOPEN_DIRECT_IO πŸ”’
Bypass page cache for this open file.
FOPEN_FILE_CREATED πŸ”’
New file was created in atomic open
FOPEN_KEEP_CACHE πŸ”’
Don’t invalidate the data cache on open.
FOPEN_NONSEEKABLE πŸ”’
The file is not seekable.
FOPEN_STREAM πŸ”’
This file is stream-like (i.e., no file position).
FUSE_COMPAT_22_INIT_OUT_SIZE
FUSE_COMPAT_ATTR_OUT_SIZE
FUSE_COMPAT_ENTRY_OUT_SIZE
FUSE_COMPAT_INIT_OUT_SIZE
FUSE_COMPAT_MKNOD_IN_SIZE
FUSE_COMPAT_STATFS_SIZE
FUSE_COMPAT_WRITE_IN_SIZE
FUSE_MIN_READ_BUFFER
The read buffer is required to be at least 8k, but may be much larger.
GETATTR_FH
HANDLE_KILLPRIV πŸ”’
Fs handles killing suid/sgid/cap on write/chown/trunc.
HAS_IOCTL_DIR πŸ”’
Kernel supports ioctl on directories.
INIT_EXT πŸ”’
Extended fuse_init_in request to hold additional flags
IOCTL_32BIT πŸ”’
32bit ioctl
IOCTL_COMPAT πŸ”’
32bit compat ioctl on 64bit machine
IOCTL_COMPAT_X32 πŸ”’
32-bit compat ioctl on 64-bit machine with 64-bit time_t.
IOCTL_DIR πŸ”’
Is a directory
IOCTL_MAX_IOV
Maximum of in_iovecs + out_iovecs
IOCTL_RETRY πŸ”’
Retry with new iovecs
IOCTL_UNRESTRICTED πŸ”’
Not restricted to well-formed ioctls, retry allowed
KERNEL_MINOR_VERSION
Minor version number of this interface.
KERNEL_VERSION
Version number of this interface.
LK_FLOCK
MAP_ALIGNMENT πŸ”’
The map_alignment field of the InitOut struct is valid.
MAX_NR_SECCTX
Maximum security contexts in a request
MAX_PAGES πŸ”’
The reply to the init message contains the max number of request pages.
NO_OPENDIR_SUPPORT πŸ”’
Kernel supports zero-message opens for directories.
NO_OPEN_SUPPORT πŸ”’
Kernel supports zero-message opens.
OLDEST_SUPPORTED_KERNEL_MINOR_VERSION
Oldest supported minor version of the fuse interface.
PARALLEL_DIROPS πŸ”’
Allow parallel lookups and readdir.
POLL_SCHEDULE_NOTIFY
Request poll notify.
POSIX_ACL πŸ”’
FileSystem supports posix acls.
POSIX_LOCKS πŸ”’
Remote locking for POSIX file locks.
READDIRPLUS_AUTO πŸ”’
Adaptive readdirplus.
READ_LOCKOWNER
RELEASE_FLOCK_UNLOCK
RELEASE_FLUSH
ROOT_ID
The ID of the inode corresponding to the root directory of the file system.
SECURITY_CONTEXT πŸ”’
The client should send the security context along with open, mkdir, create, and symlink requests.
SETUPMAPPING_FLAG_READ πŸ”’
SETUPMAPPING_FLAG_WRITE πŸ”’
SPLICE_MOVE πŸ”’
Kernel supports splice move on the device.
SPLICE_READ πŸ”’
Kernel supports splice read on the device.
SPLICE_WRITE πŸ”’
Kernel supports splice write on the device.
WRITEBACK_CACHE πŸ”’
Use writeback cache for buffered writes.
WRITE_CACHE
Delayed write from page cache, file handle is guessed.
WRITE_KILL_PRIV
Kill the suid and sgid bits.
WRITE_LOCKOWNER
lock_owner field is valid.