blob: a8c8cfcfa2b81c9e271518eab561fb8297a47e73 [file] [log] [blame]
Ben Cheng655a7c02013-10-16 16:09:24 -07001/****************************************************************************
2 ****************************************************************************
3 ***
4 *** This header was automatically generated from a Linux kernel header
5 *** of the same name, to make information necessary for userspace to
6 *** call into the kernel available to libc. It contains only constants,
7 *** structures, and macros generated from the original header, and thus,
8 *** contains no copyrightable information.
9 ***
10 *** To edit the content of this header, modify the corresponding
11 *** source file (e.g. under external/kernel-headers/original/) then
12 *** run bionic/libc/kernel/tools/update_all.py
13 ***
14 *** Any manual change here will be lost the next time this script will
15 *** be run. You've been warned!
16 ***
17 ****************************************************************************
18 ****************************************************************************/
19#ifndef _LINUX_FUSE_H
20#define _LINUX_FUSE_H
21#include <stdint.h>
22#define FUSE_KERNEL_VERSION 7
23/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris6a9755d2017-01-13 14:09:31 -080024#define FUSE_KERNEL_MINOR_VERSION 26
Ben Cheng655a7c02013-10-16 16:09:24 -070025#define FUSE_ROOT_ID 1
26struct fuse_attr {
Tao Baod7db5942015-01-28 10:07:51 -080027 uint64_t ino;
Ben Cheng655a7c02013-10-16 16:09:24 -070028/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080029 uint64_t size;
30 uint64_t blocks;
31 uint64_t atime;
32 uint64_t mtime;
Ben Cheng655a7c02013-10-16 16:09:24 -070033/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080034 uint64_t ctime;
35 uint32_t atimensec;
36 uint32_t mtimensec;
37 uint32_t ctimensec;
Ben Cheng655a7c02013-10-16 16:09:24 -070038/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080039 uint32_t mode;
40 uint32_t nlink;
41 uint32_t uid;
42 uint32_t gid;
Ben Cheng655a7c02013-10-16 16:09:24 -070043/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080044 uint32_t rdev;
45 uint32_t blksize;
46 uint32_t padding;
Ben Cheng655a7c02013-10-16 16:09:24 -070047};
48/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
49struct fuse_kstatfs {
Tao Baod7db5942015-01-28 10:07:51 -080050 uint64_t blocks;
51 uint64_t bfree;
52 uint64_t bavail;
Ben Cheng655a7c02013-10-16 16:09:24 -070053/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080054 uint64_t files;
55 uint64_t ffree;
56 uint32_t bsize;
57 uint32_t namelen;
Ben Cheng655a7c02013-10-16 16:09:24 -070058/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080059 uint32_t frsize;
60 uint32_t padding;
61 uint32_t spare[6];
Ben Cheng655a7c02013-10-16 16:09:24 -070062};
63/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
64struct fuse_file_lock {
Tao Baod7db5942015-01-28 10:07:51 -080065 uint64_t start;
66 uint64_t end;
67 uint32_t type;
Ben Cheng655a7c02013-10-16 16:09:24 -070068/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080069 uint32_t pid;
Ben Cheng655a7c02013-10-16 16:09:24 -070070};
71#define FATTR_MODE (1 << 0)
72#define FATTR_UID (1 << 1)
73/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
74#define FATTR_GID (1 << 2)
75#define FATTR_SIZE (1 << 3)
76#define FATTR_ATIME (1 << 4)
77#define FATTR_MTIME (1 << 5)
78/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
79#define FATTR_FH (1 << 6)
80#define FATTR_ATIME_NOW (1 << 7)
81#define FATTR_MTIME_NOW (1 << 8)
82#define FATTR_LOCKOWNER (1 << 9)
83/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferrisba8d4f42014-09-03 19:56:49 -070084#define FATTR_CTIME (1 << 10)
Ben Cheng655a7c02013-10-16 16:09:24 -070085#define FOPEN_DIRECT_IO (1 << 0)
86#define FOPEN_KEEP_CACHE (1 << 1)
87#define FOPEN_NONSEEKABLE (1 << 2)
Ben Cheng655a7c02013-10-16 16:09:24 -070088/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferrisba8d4f42014-09-03 19:56:49 -070089#define FUSE_ASYNC_READ (1 << 0)
Ben Cheng655a7c02013-10-16 16:09:24 -070090#define FUSE_POSIX_LOCKS (1 << 1)
91#define FUSE_FILE_OPS (1 << 2)
92#define FUSE_ATOMIC_O_TRUNC (1 << 3)
Ben Cheng655a7c02013-10-16 16:09:24 -070093/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferrisba8d4f42014-09-03 19:56:49 -070094#define FUSE_EXPORT_SUPPORT (1 << 4)
Ben Cheng655a7c02013-10-16 16:09:24 -070095#define FUSE_BIG_WRITES (1 << 5)
96#define FUSE_DONT_MASK (1 << 6)
97#define FUSE_SPLICE_WRITE (1 << 7)
Ben Cheng655a7c02013-10-16 16:09:24 -070098/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferrisba8d4f42014-09-03 19:56:49 -070099#define FUSE_SPLICE_MOVE (1 << 8)
Ben Cheng655a7c02013-10-16 16:09:24 -0700100#define FUSE_SPLICE_READ (1 << 9)
101#define FUSE_FLOCK_LOCKS (1 << 10)
102#define FUSE_HAS_IOCTL_DIR (1 << 11)
Ben Cheng655a7c02013-10-16 16:09:24 -0700103/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700104#define FUSE_AUTO_INVAL_DATA (1 << 12)
Ben Cheng655a7c02013-10-16 16:09:24 -0700105#define FUSE_DO_READDIRPLUS (1 << 13)
106#define FUSE_READDIRPLUS_AUTO (1 << 14)
107#define FUSE_ASYNC_DIO (1 << 15)
Ben Cheng655a7c02013-10-16 16:09:24 -0700108/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700109#define FUSE_WRITEBACK_CACHE (1 << 16)
110#define FUSE_NO_OPEN_SUPPORT (1 << 17)
Christopher Ferris106b3a82016-08-24 12:15:38 -0700111#define FUSE_PARALLEL_DIROPS (1 << 18)
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800112#define FUSE_HANDLE_KILLPRIV (1 << 19)
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700113/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800114#define FUSE_POSIX_ACL (1 << 20)
115#define CUSE_UNRESTRICTED_IOCTL (1 << 0)
Christopher Ferris106b3a82016-08-24 12:15:38 -0700116#define FUSE_RELEASE_FLUSH (1 << 0)
Ben Cheng655a7c02013-10-16 16:09:24 -0700117#define FUSE_RELEASE_FLOCK_UNLOCK (1 << 1)
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800118/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700119#define FUSE_GETATTR_FH (1 << 0)
120#define FUSE_LK_FLOCK (1 << 0)
Christopher Ferris106b3a82016-08-24 12:15:38 -0700121#define FUSE_WRITE_CACHE (1 << 0)
Ben Cheng655a7c02013-10-16 16:09:24 -0700122#define FUSE_WRITE_LOCKOWNER (1 << 1)
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800123/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700124#define FUSE_READ_LOCKOWNER (1 << 1)
125#define FUSE_IOCTL_COMPAT (1 << 0)
Christopher Ferris106b3a82016-08-24 12:15:38 -0700126#define FUSE_IOCTL_UNRESTRICTED (1 << 1)
Ben Cheng655a7c02013-10-16 16:09:24 -0700127#define FUSE_IOCTL_RETRY (1 << 2)
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800128/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700129#define FUSE_IOCTL_32BIT (1 << 3)
130#define FUSE_IOCTL_DIR (1 << 4)
Christopher Ferris106b3a82016-08-24 12:15:38 -0700131#define FUSE_IOCTL_MAX_IOV 256
Ben Cheng655a7c02013-10-16 16:09:24 -0700132#define FUSE_POLL_SCHEDULE_NOTIFY (1 << 0)
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800133/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700134enum fuse_opcode {
Tao Baod7db5942015-01-28 10:07:51 -0800135 FUSE_LOOKUP = 1,
Christopher Ferris106b3a82016-08-24 12:15:38 -0700136 FUSE_FORGET = 2,
Tao Baod7db5942015-01-28 10:07:51 -0800137 FUSE_GETATTR = 3,
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800138/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800139 FUSE_SETATTR = 4,
140 FUSE_READLINK = 5,
Christopher Ferris106b3a82016-08-24 12:15:38 -0700141 FUSE_SYMLINK = 6,
Tao Baod7db5942015-01-28 10:07:51 -0800142 FUSE_MKNOD = 8,
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800143/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800144 FUSE_MKDIR = 9,
145 FUSE_UNLINK = 10,
Christopher Ferris106b3a82016-08-24 12:15:38 -0700146 FUSE_RMDIR = 11,
Tao Baod7db5942015-01-28 10:07:51 -0800147 FUSE_RENAME = 12,
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800148/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800149 FUSE_LINK = 13,
150 FUSE_OPEN = 14,
Christopher Ferris106b3a82016-08-24 12:15:38 -0700151 FUSE_READ = 15,
Tao Baod7db5942015-01-28 10:07:51 -0800152 FUSE_WRITE = 16,
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800153/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800154 FUSE_STATFS = 17,
155 FUSE_RELEASE = 18,
Christopher Ferris106b3a82016-08-24 12:15:38 -0700156 FUSE_FSYNC = 20,
Tao Baod7db5942015-01-28 10:07:51 -0800157 FUSE_SETXATTR = 21,
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800158/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800159 FUSE_GETXATTR = 22,
160 FUSE_LISTXATTR = 23,
Christopher Ferris106b3a82016-08-24 12:15:38 -0700161 FUSE_REMOVEXATTR = 24,
Tao Baod7db5942015-01-28 10:07:51 -0800162 FUSE_FLUSH = 25,
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800163/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800164 FUSE_INIT = 26,
165 FUSE_OPENDIR = 27,
Christopher Ferris106b3a82016-08-24 12:15:38 -0700166 FUSE_READDIR = 28,
Tao Baod7db5942015-01-28 10:07:51 -0800167 FUSE_RELEASEDIR = 29,
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800168/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800169 FUSE_FSYNCDIR = 30,
170 FUSE_GETLK = 31,
Christopher Ferris106b3a82016-08-24 12:15:38 -0700171 FUSE_SETLK = 32,
Tao Baod7db5942015-01-28 10:07:51 -0800172 FUSE_SETLKW = 33,
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800173/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800174 FUSE_ACCESS = 34,
175 FUSE_CREATE = 35,
Christopher Ferris106b3a82016-08-24 12:15:38 -0700176 FUSE_INTERRUPT = 36,
Tao Baod7db5942015-01-28 10:07:51 -0800177 FUSE_BMAP = 37,
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800178/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800179 FUSE_DESTROY = 38,
180 FUSE_IOCTL = 39,
Christopher Ferris106b3a82016-08-24 12:15:38 -0700181 FUSE_POLL = 40,
Tao Baod7db5942015-01-28 10:07:51 -0800182 FUSE_NOTIFY_REPLY = 41,
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800183/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800184 FUSE_BATCH_FORGET = 42,
185 FUSE_FALLOCATE = 43,
Christopher Ferris106b3a82016-08-24 12:15:38 -0700186 FUSE_READDIRPLUS = 44,
Tao Baod7db5942015-01-28 10:07:51 -0800187 FUSE_RENAME2 = 45,
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800188/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris106b3a82016-08-24 12:15:38 -0700189 FUSE_LSEEK = 46,
Tao Baod7db5942015-01-28 10:07:51 -0800190 CUSE_INIT = 4096,
Ben Cheng655a7c02013-10-16 16:09:24 -0700191};
192enum fuse_notify_code {
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800193/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800194 FUSE_NOTIFY_POLL = 1,
195 FUSE_NOTIFY_INVAL_INODE = 2,
196 FUSE_NOTIFY_INVAL_ENTRY = 3,
197 FUSE_NOTIFY_STORE = 4,
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800198/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800199 FUSE_NOTIFY_RETRIEVE = 5,
200 FUSE_NOTIFY_DELETE = 6,
201 FUSE_NOTIFY_CODE_MAX,
Ben Cheng655a7c02013-10-16 16:09:24 -0700202};
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800203/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700204#define FUSE_MIN_READ_BUFFER 8192
205#define FUSE_COMPAT_ENTRY_OUT_SIZE 120
206struct fuse_entry_out {
Tao Baod7db5942015-01-28 10:07:51 -0800207 uint64_t nodeid;
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800208/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800209 uint64_t generation;
210 uint64_t entry_valid;
211 uint64_t attr_valid;
212 uint32_t entry_valid_nsec;
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800213/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800214 uint32_t attr_valid_nsec;
215 struct fuse_attr attr;
Ben Cheng655a7c02013-10-16 16:09:24 -0700216};
217struct fuse_forget_in {
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800218/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800219 uint64_t nlookup;
Ben Cheng655a7c02013-10-16 16:09:24 -0700220};
221struct fuse_forget_one {
Tao Baod7db5942015-01-28 10:07:51 -0800222 uint64_t nodeid;
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800223/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800224 uint64_t nlookup;
Ben Cheng655a7c02013-10-16 16:09:24 -0700225};
226struct fuse_batch_forget_in {
Tao Baod7db5942015-01-28 10:07:51 -0800227 uint32_t count;
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800228/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800229 uint32_t dummy;
Ben Cheng655a7c02013-10-16 16:09:24 -0700230};
231struct fuse_getattr_in {
Tao Baod7db5942015-01-28 10:07:51 -0800232 uint32_t getattr_flags;
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800233/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800234 uint32_t dummy;
235 uint64_t fh;
Ben Cheng655a7c02013-10-16 16:09:24 -0700236};
237#define FUSE_COMPAT_ATTR_OUT_SIZE 96
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800238/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700239struct fuse_attr_out {
Tao Baod7db5942015-01-28 10:07:51 -0800240 uint64_t attr_valid;
241 uint32_t attr_valid_nsec;
242 uint32_t dummy;
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800243/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800244 struct fuse_attr attr;
Ben Cheng655a7c02013-10-16 16:09:24 -0700245};
246#define FUSE_COMPAT_MKNOD_IN_SIZE 8
247struct fuse_mknod_in {
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800248/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800249 uint32_t mode;
250 uint32_t rdev;
251 uint32_t umask;
252 uint32_t padding;
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800253/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700254};
255struct fuse_mkdir_in {
Tao Baod7db5942015-01-28 10:07:51 -0800256 uint32_t mode;
257 uint32_t umask;
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800258/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700259};
260struct fuse_rename_in {
Tao Baod7db5942015-01-28 10:07:51 -0800261 uint64_t newdir;
Ben Cheng655a7c02013-10-16 16:09:24 -0700262};
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800263/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700264struct fuse_rename2_in {
Tao Baod7db5942015-01-28 10:07:51 -0800265 uint64_t newdir;
266 uint32_t flags;
267 uint32_t padding;
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800268/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700269};
Ben Cheng655a7c02013-10-16 16:09:24 -0700270struct fuse_link_in {
Tao Baod7db5942015-01-28 10:07:51 -0800271 uint64_t oldnodeid;
Ben Cheng655a7c02013-10-16 16:09:24 -0700272};
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800273/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700274struct fuse_setattr_in {
Tao Baod7db5942015-01-28 10:07:51 -0800275 uint32_t valid;
276 uint32_t padding;
277 uint64_t fh;
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800278/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800279 uint64_t size;
280 uint64_t lock_owner;
281 uint64_t atime;
282 uint64_t mtime;
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800283/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800284 uint64_t ctime;
285 uint32_t atimensec;
286 uint32_t mtimensec;
287 uint32_t ctimensec;
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800288/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800289 uint32_t mode;
290 uint32_t unused4;
291 uint32_t uid;
292 uint32_t gid;
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800293/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800294 uint32_t unused5;
Ben Cheng655a7c02013-10-16 16:09:24 -0700295};
296struct fuse_open_in {
Tao Baod7db5942015-01-28 10:07:51 -0800297 uint32_t flags;
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800298/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800299 uint32_t unused;
Ben Cheng655a7c02013-10-16 16:09:24 -0700300};
301struct fuse_create_in {
Tao Baod7db5942015-01-28 10:07:51 -0800302 uint32_t flags;
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800303/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800304 uint32_t mode;
305 uint32_t umask;
306 uint32_t padding;
Ben Cheng655a7c02013-10-16 16:09:24 -0700307};
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800308/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700309struct fuse_open_out {
Tao Baod7db5942015-01-28 10:07:51 -0800310 uint64_t fh;
311 uint32_t open_flags;
312 uint32_t padding;
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800313/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700314};
Ben Cheng655a7c02013-10-16 16:09:24 -0700315struct fuse_release_in {
Tao Baod7db5942015-01-28 10:07:51 -0800316 uint64_t fh;
317 uint32_t flags;
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800318/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800319 uint32_t release_flags;
320 uint64_t lock_owner;
Ben Cheng655a7c02013-10-16 16:09:24 -0700321};
322struct fuse_flush_in {
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800323/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800324 uint64_t fh;
325 uint32_t unused;
326 uint32_t padding;
327 uint64_t lock_owner;
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800328/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700329};
Ben Cheng655a7c02013-10-16 16:09:24 -0700330struct fuse_read_in {
Tao Baod7db5942015-01-28 10:07:51 -0800331 uint64_t fh;
332 uint64_t offset;
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800333/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800334 uint32_t size;
335 uint32_t read_flags;
336 uint64_t lock_owner;
337 uint32_t flags;
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800338/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800339 uint32_t padding;
Ben Cheng655a7c02013-10-16 16:09:24 -0700340};
341#define FUSE_COMPAT_WRITE_IN_SIZE 24
342struct fuse_write_in {
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800343/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800344 uint64_t fh;
345 uint64_t offset;
346 uint32_t size;
347 uint32_t write_flags;
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800348/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800349 uint64_t lock_owner;
350 uint32_t flags;
351 uint32_t padding;
Ben Cheng655a7c02013-10-16 16:09:24 -0700352};
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800353/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700354struct fuse_write_out {
Tao Baod7db5942015-01-28 10:07:51 -0800355 uint32_t size;
356 uint32_t padding;
Ben Cheng655a7c02013-10-16 16:09:24 -0700357};
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800358/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700359#define FUSE_COMPAT_STATFS_SIZE 48
Ben Cheng655a7c02013-10-16 16:09:24 -0700360struct fuse_statfs_out {
Tao Baod7db5942015-01-28 10:07:51 -0800361 struct fuse_kstatfs st;
Ben Cheng655a7c02013-10-16 16:09:24 -0700362};
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800363/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700364struct fuse_fsync_in {
Tao Baod7db5942015-01-28 10:07:51 -0800365 uint64_t fh;
366 uint32_t fsync_flags;
367 uint32_t padding;
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800368/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700369};
Ben Cheng655a7c02013-10-16 16:09:24 -0700370struct fuse_setxattr_in {
Tao Baod7db5942015-01-28 10:07:51 -0800371 uint32_t size;
372 uint32_t flags;
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800373/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700374};
Ben Cheng655a7c02013-10-16 16:09:24 -0700375struct fuse_getxattr_in {
Tao Baod7db5942015-01-28 10:07:51 -0800376 uint32_t size;
377 uint32_t padding;
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800378/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700379};
Ben Cheng655a7c02013-10-16 16:09:24 -0700380struct fuse_getxattr_out {
Tao Baod7db5942015-01-28 10:07:51 -0800381 uint32_t size;
382 uint32_t padding;
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800383/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700384};
Ben Cheng655a7c02013-10-16 16:09:24 -0700385struct fuse_lk_in {
Tao Baod7db5942015-01-28 10:07:51 -0800386 uint64_t fh;
387 uint64_t owner;
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800388/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800389 struct fuse_file_lock lk;
390 uint32_t lk_flags;
391 uint32_t padding;
Ben Cheng655a7c02013-10-16 16:09:24 -0700392};
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800393/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700394struct fuse_lk_out {
Tao Baod7db5942015-01-28 10:07:51 -0800395 struct fuse_file_lock lk;
Ben Cheng655a7c02013-10-16 16:09:24 -0700396};
397struct fuse_access_in {
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800398/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800399 uint32_t mask;
400 uint32_t padding;
Ben Cheng655a7c02013-10-16 16:09:24 -0700401};
402struct fuse_init_in {
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800403/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800404 uint32_t major;
405 uint32_t minor;
406 uint32_t max_readahead;
407 uint32_t flags;
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800408/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700409};
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700410#define FUSE_COMPAT_INIT_OUT_SIZE 8
411#define FUSE_COMPAT_22_INIT_OUT_SIZE 24
Ben Cheng655a7c02013-10-16 16:09:24 -0700412struct fuse_init_out {
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800413/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800414 uint32_t major;
415 uint32_t minor;
416 uint32_t max_readahead;
417 uint32_t flags;
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800418/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800419 uint16_t max_background;
420 uint16_t congestion_threshold;
421 uint32_t max_write;
422 uint32_t time_gran;
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800423/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800424 uint32_t unused[9];
Ben Cheng655a7c02013-10-16 16:09:24 -0700425};
426#define CUSE_INIT_INFO_MAX 4096
427struct cuse_init_in {
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800428/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800429 uint32_t major;
430 uint32_t minor;
431 uint32_t unused;
432 uint32_t flags;
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800433/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700434};
Ben Cheng655a7c02013-10-16 16:09:24 -0700435struct cuse_init_out {
Tao Baod7db5942015-01-28 10:07:51 -0800436 uint32_t major;
437 uint32_t minor;
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800438/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800439 uint32_t unused;
440 uint32_t flags;
441 uint32_t max_read;
442 uint32_t max_write;
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800443/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800444 uint32_t dev_major;
445 uint32_t dev_minor;
446 uint32_t spare[10];
Ben Cheng655a7c02013-10-16 16:09:24 -0700447};
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800448/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700449struct fuse_interrupt_in {
Tao Baod7db5942015-01-28 10:07:51 -0800450 uint64_t unique;
Ben Cheng655a7c02013-10-16 16:09:24 -0700451};
452struct fuse_bmap_in {
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800453/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800454 uint64_t block;
455 uint32_t blocksize;
456 uint32_t padding;
Ben Cheng655a7c02013-10-16 16:09:24 -0700457};
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800458/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700459struct fuse_bmap_out {
Tao Baod7db5942015-01-28 10:07:51 -0800460 uint64_t block;
Ben Cheng655a7c02013-10-16 16:09:24 -0700461};
462struct fuse_ioctl_in {
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800463/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800464 uint64_t fh;
465 uint32_t flags;
466 uint32_t cmd;
467 uint64_t arg;
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800468/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800469 uint32_t in_size;
470 uint32_t out_size;
Ben Cheng655a7c02013-10-16 16:09:24 -0700471};
472struct fuse_ioctl_iovec {
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800473/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800474 uint64_t base;
475 uint64_t len;
Ben Cheng655a7c02013-10-16 16:09:24 -0700476};
477struct fuse_ioctl_out {
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800478/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800479 int32_t result;
480 uint32_t flags;
481 uint32_t in_iovs;
482 uint32_t out_iovs;
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800483/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700484};
Ben Cheng655a7c02013-10-16 16:09:24 -0700485struct fuse_poll_in {
Tao Baod7db5942015-01-28 10:07:51 -0800486 uint64_t fh;
487 uint64_t kh;
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800488/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800489 uint32_t flags;
490 uint32_t events;
Ben Cheng655a7c02013-10-16 16:09:24 -0700491};
492struct fuse_poll_out {
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800493/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800494 uint32_t revents;
495 uint32_t padding;
Ben Cheng655a7c02013-10-16 16:09:24 -0700496};
497struct fuse_notify_poll_wakeup_out {
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800498/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800499 uint64_t kh;
Ben Cheng655a7c02013-10-16 16:09:24 -0700500};
501struct fuse_fallocate_in {
Tao Baod7db5942015-01-28 10:07:51 -0800502 uint64_t fh;
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800503/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800504 uint64_t offset;
505 uint64_t length;
506 uint32_t mode;
507 uint32_t padding;
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800508/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700509};
Ben Cheng655a7c02013-10-16 16:09:24 -0700510struct fuse_in_header {
Tao Baod7db5942015-01-28 10:07:51 -0800511 uint32_t len;
512 uint32_t opcode;
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800513/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800514 uint64_t unique;
515 uint64_t nodeid;
516 uint32_t uid;
517 uint32_t gid;
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800518/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800519 uint32_t pid;
520 uint32_t padding;
Ben Cheng655a7c02013-10-16 16:09:24 -0700521};
522struct fuse_out_header {
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800523/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800524 uint32_t len;
525 int32_t error;
526 uint64_t unique;
Ben Cheng655a7c02013-10-16 16:09:24 -0700527};
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800528/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700529struct fuse_dirent {
Tao Baod7db5942015-01-28 10:07:51 -0800530 uint64_t ino;
531 uint64_t off;
532 uint32_t namelen;
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800533/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800534 uint32_t type;
535 char name[];
Ben Cheng655a7c02013-10-16 16:09:24 -0700536};
537#define FUSE_NAME_OFFSET offsetof(struct fuse_dirent, name)
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800538/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800539#define FUSE_DIRENT_ALIGN(x) (((x) + sizeof(uint64_t) - 1) & ~(sizeof(uint64_t) - 1))
540#define FUSE_DIRENT_SIZE(d) FUSE_DIRENT_ALIGN(FUSE_NAME_OFFSET + (d)->namelen)
Ben Cheng655a7c02013-10-16 16:09:24 -0700541struct fuse_direntplus {
Tao Baod7db5942015-01-28 10:07:51 -0800542 struct fuse_entry_out entry_out;
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800543/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800544 struct fuse_dirent dirent;
Ben Cheng655a7c02013-10-16 16:09:24 -0700545};
Tao Baod7db5942015-01-28 10:07:51 -0800546#define FUSE_NAME_OFFSET_DIRENTPLUS offsetof(struct fuse_direntplus, dirent.name)
547#define FUSE_DIRENTPLUS_SIZE(d) FUSE_DIRENT_ALIGN(FUSE_NAME_OFFSET_DIRENTPLUS + (d)->dirent.namelen)
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800548/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700549struct fuse_notify_inval_inode_out {
Tao Baod7db5942015-01-28 10:07:51 -0800550 uint64_t ino;
551 int64_t off;
552 int64_t len;
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800553/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700554};
Ben Cheng655a7c02013-10-16 16:09:24 -0700555struct fuse_notify_inval_entry_out {
Tao Baod7db5942015-01-28 10:07:51 -0800556 uint64_t parent;
557 uint32_t namelen;
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800558/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800559 uint32_t padding;
Ben Cheng655a7c02013-10-16 16:09:24 -0700560};
561struct fuse_notify_delete_out {
Tao Baod7db5942015-01-28 10:07:51 -0800562 uint64_t parent;
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800563/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800564 uint64_t child;
565 uint32_t namelen;
566 uint32_t padding;
Ben Cheng655a7c02013-10-16 16:09:24 -0700567};
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800568/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700569struct fuse_notify_store_out {
Tao Baod7db5942015-01-28 10:07:51 -0800570 uint64_t nodeid;
571 uint64_t offset;
572 uint32_t size;
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800573/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800574 uint32_t padding;
Ben Cheng655a7c02013-10-16 16:09:24 -0700575};
576struct fuse_notify_retrieve_out {
Tao Baod7db5942015-01-28 10:07:51 -0800577 uint64_t notify_unique;
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800578/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800579 uint64_t nodeid;
580 uint64_t offset;
581 uint32_t size;
582 uint32_t padding;
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800583/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700584};
Ben Cheng655a7c02013-10-16 16:09:24 -0700585struct fuse_notify_retrieve_in {
Tao Baod7db5942015-01-28 10:07:51 -0800586 uint64_t dummy1;
587 uint64_t offset;
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800588/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800589 uint32_t size;
590 uint32_t dummy2;
591 uint64_t dummy3;
592 uint64_t dummy4;
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800593/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700594};
Christopher Ferris05d08e92016-02-04 13:16:38 -0800595#define FUSE_DEV_IOC_CLONE _IOR(229, 0, uint32_t)
Christopher Ferris106b3a82016-08-24 12:15:38 -0700596struct fuse_lseek_in {
597 uint64_t fh;
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800598/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris106b3a82016-08-24 12:15:38 -0700599 uint64_t offset;
600 uint32_t whence;
Christopher Ferris106b3a82016-08-24 12:15:38 -0700601 uint32_t padding;
602};
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800603/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris106b3a82016-08-24 12:15:38 -0700604struct fuse_lseek_out {
605 uint64_t offset;
Christopher Ferris106b3a82016-08-24 12:15:38 -0700606};
Ben Cheng655a7c02013-10-16 16:09:24 -0700607#endif
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800608/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */