1e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel/****************************************************************************
2e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel ****************************************************************************
3e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel ***
4e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel ***   This header was automatically generated from a Linux kernel header
5e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel ***   of the same name, to make information necessary for userspace to
6e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel ***   call into the kernel available to libc.  It contains only constants,
7e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel ***   structures, and macros generated from the original header, and thus,
8e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel ***   contains no copyrightable information.
9e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel ***
10e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel ***   To edit the content of this header, modify the corresponding
11e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel ***   source file (e.g. under external/kernel-headers/original/) then
12e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel ***   run bionic/libc/kernel/tools/update_all.py
13e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel ***
14e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel ***   Any manual change here will be lost the next time this script will
15e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel ***   be run. You've been warned!
16e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel ***
17e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel ****************************************************************************
18e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel ****************************************************************************/
19e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel#ifndef _LINUX_FUSE_H
20e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel#define _LINUX_FUSE_H
21e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel#include <stdint.h>
22e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel#define FUSE_KERNEL_VERSION 7
23e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
24e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel#define FUSE_KERNEL_MINOR_VERSION 23
25e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel#define FUSE_ROOT_ID 1
26e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudelstruct fuse_attr {
27e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint64_t ino;
28e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
29e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint64_t size;
30e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint64_t blocks;
31e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint64_t atime;
32e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint64_t mtime;
33e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
34e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint64_t ctime;
35e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint32_t atimensec;
36e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint32_t mtimensec;
37e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint32_t ctimensec;
38e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
39e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint32_t mode;
40e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint32_t nlink;
41e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint32_t uid;
42e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint32_t gid;
43e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
44e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint32_t rdev;
45e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint32_t blksize;
46e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint32_t padding;
47e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel};
48e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
49e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudelstruct fuse_kstatfs {
50e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint64_t blocks;
51e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint64_t bfree;
52e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint64_t bavail;
53e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
54e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint64_t files;
55e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint64_t ffree;
56e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint32_t bsize;
57e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint32_t namelen;
58e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
59e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint32_t frsize;
60e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint32_t padding;
61e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint32_t spare[6];
62e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel};
63e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
64e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudelstruct fuse_file_lock {
65e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint64_t start;
66e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint64_t end;
67e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint32_t type;
68e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
69e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint32_t pid;
70e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel};
71e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel#define FATTR_MODE (1 << 0)
72e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel#define FATTR_UID (1 << 1)
73e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
74e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel#define FATTR_GID (1 << 2)
75e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel#define FATTR_SIZE (1 << 3)
76e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel#define FATTR_ATIME (1 << 4)
77e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel#define FATTR_MTIME (1 << 5)
78e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
79e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel#define FATTR_FH (1 << 6)
80e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel#define FATTR_ATIME_NOW (1 << 7)
81e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel#define FATTR_MTIME_NOW (1 << 8)
82e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel#define FATTR_LOCKOWNER (1 << 9)
83e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
84e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel#define FOPEN_DIRECT_IO (1 << 0)
85e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel#define FOPEN_KEEP_CACHE (1 << 1)
86e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel#define FOPEN_NONSEEKABLE (1 << 2)
87e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel#define FUSE_ASYNC_READ (1 << 0)
88e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
89e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel#define FUSE_POSIX_LOCKS (1 << 1)
90e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel#define FUSE_FILE_OPS (1 << 2)
91e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel#define FUSE_ATOMIC_O_TRUNC (1 << 3)
92e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel#define FUSE_EXPORT_SUPPORT (1 << 4)
93e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
94e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel#define FUSE_BIG_WRITES (1 << 5)
95e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel#define FUSE_DONT_MASK (1 << 6)
96e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel#define FUSE_SPLICE_WRITE (1 << 7)
97e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel#define FUSE_SPLICE_MOVE (1 << 8)
98e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
99e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel#define FUSE_SPLICE_READ (1 << 9)
100e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel#define FUSE_FLOCK_LOCKS (1 << 10)
101e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel#define FUSE_HAS_IOCTL_DIR (1 << 11)
102e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel#define FUSE_AUTO_INVAL_DATA (1 << 12)
103e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
104e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel#define FUSE_DO_READDIRPLUS (1 << 13)
105e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel#define FUSE_READDIRPLUS_AUTO (1 << 14)
106e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel#define FUSE_ASYNC_DIO (1 << 15)
107e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel#define FUSE_WRITEBACK_CACHE (1 << 16)
108e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
109e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel#define FUSE_SHORTCIRCUIT (1 << 31)
110e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel#define CUSE_UNRESTRICTED_IOCTL (1 << 0)
111e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel#define FUSE_RELEASE_FLUSH (1 << 0)
112e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel#define FUSE_RELEASE_FLOCK_UNLOCK (1 << 1)
113e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
114e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel#define FUSE_GETATTR_FH (1 << 0)
115e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel#define FUSE_LK_FLOCK (1 << 0)
116e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel#define FUSE_WRITE_CACHE (1 << 0)
117e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel#define FUSE_WRITE_LOCKOWNER (1 << 1)
118e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
119e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel#define FUSE_READ_LOCKOWNER (1 << 1)
120e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel#define FUSE_IOCTL_COMPAT (1 << 0)
121e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel#define FUSE_IOCTL_UNRESTRICTED (1 << 1)
122e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel#define FUSE_IOCTL_RETRY (1 << 2)
123e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
124e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel#define FUSE_IOCTL_32BIT (1 << 3)
125e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel#define FUSE_IOCTL_DIR (1 << 4)
126e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel#define FUSE_IOCTL_MAX_IOV 256
127e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel#define FUSE_POLL_SCHEDULE_NOTIFY (1 << 0)
128e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
129e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudelenum fuse_opcode {
130e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  FUSE_LOOKUP = 1,
131e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  FUSE_FORGET = 2,
132e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  FUSE_GETATTR = 3,
133e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
134e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  FUSE_SETATTR = 4,
135e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  FUSE_READLINK = 5,
136e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  FUSE_SYMLINK = 6,
137e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  FUSE_MKNOD = 8,
138e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
139e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  FUSE_MKDIR = 9,
140e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  FUSE_UNLINK = 10,
141e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  FUSE_RMDIR = 11,
142e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  FUSE_RENAME = 12,
143e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
144e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  FUSE_LINK = 13,
145e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  FUSE_OPEN = 14,
146e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  FUSE_READ = 15,
147e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  FUSE_WRITE = 16,
148e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
149e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  FUSE_STATFS = 17,
150e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  FUSE_RELEASE = 18,
151e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  FUSE_FSYNC = 20,
152e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  FUSE_SETXATTR = 21,
153e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
154e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  FUSE_GETXATTR = 22,
155e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  FUSE_LISTXATTR = 23,
156e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  FUSE_REMOVEXATTR = 24,
157e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  FUSE_FLUSH = 25,
158e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
159e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  FUSE_INIT = 26,
160e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  FUSE_OPENDIR = 27,
161e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  FUSE_READDIR = 28,
162e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  FUSE_RELEASEDIR = 29,
163e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
164e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  FUSE_FSYNCDIR = 30,
165e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  FUSE_GETLK = 31,
166e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  FUSE_SETLK = 32,
167e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  FUSE_SETLKW = 33,
168e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
169e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  FUSE_ACCESS = 34,
170e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  FUSE_CREATE = 35,
171e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  FUSE_INTERRUPT = 36,
172e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  FUSE_BMAP = 37,
173e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
174e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  FUSE_DESTROY = 38,
175e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  FUSE_IOCTL = 39,
176e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  FUSE_POLL = 40,
177e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  FUSE_NOTIFY_REPLY = 41,
178e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
179e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  FUSE_BATCH_FORGET = 42,
180e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  FUSE_FALLOCATE = 43,
181e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  FUSE_READDIRPLUS = 44,
182e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  FUSE_CANONICAL_PATH = 2016,
183e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
184e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  CUSE_INIT = 4096,
185e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel};
186e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudelenum fuse_notify_code {
187e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  FUSE_NOTIFY_POLL = 1,
188e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
189e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  FUSE_NOTIFY_INVAL_INODE = 2,
190e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  FUSE_NOTIFY_INVAL_ENTRY = 3,
191e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  FUSE_NOTIFY_STORE = 4,
192e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  FUSE_NOTIFY_RETRIEVE = 5,
193e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
194e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  FUSE_NOTIFY_DELETE = 6,
195e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  FUSE_NOTIFY_CODE_MAX,
196e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel};
197e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel#define FUSE_MIN_READ_BUFFER 8192
198e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
199e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel#define FUSE_COMPAT_ENTRY_OUT_SIZE 120
200e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudelstruct fuse_entry_out {
201e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint64_t nodeid;
202e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint64_t generation;
203e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
204e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint64_t entry_valid;
205e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint64_t attr_valid;
206e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint32_t entry_valid_nsec;
207e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint32_t attr_valid_nsec;
208e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
209e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  struct fuse_attr attr;
210e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel};
211e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudelstruct fuse_forget_in {
212e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint64_t nlookup;
213e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
214e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel};
215e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudelstruct fuse_forget_one {
216e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint64_t nodeid;
217e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint64_t nlookup;
218e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
219e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel};
220e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudelstruct fuse_batch_forget_in {
221e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint32_t count;
222e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint32_t dummy;
223e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
224e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel};
225e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudelstruct fuse_getattr_in {
226e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint32_t getattr_flags;
227e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint32_t dummy;
228e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
229e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint64_t fh;
230e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel};
231e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel#define FUSE_COMPAT_ATTR_OUT_SIZE 96
232e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudelstruct fuse_attr_out {
233e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
234e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint64_t attr_valid;
235e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint32_t attr_valid_nsec;
236e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint32_t dummy;
237e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  struct fuse_attr attr;
238e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
239e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel};
240e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel#define FUSE_COMPAT_MKNOD_IN_SIZE 8
241e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudelstruct fuse_mknod_in {
242e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint32_t mode;
243e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
244e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint32_t rdev;
245e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint32_t umask;
246e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint32_t padding;
247e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel};
248e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
249e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudelstruct fuse_mkdir_in {
250e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint32_t mode;
251e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint32_t umask;
252e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel};
253e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
254e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudelstruct fuse_rename_in {
255e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint64_t newdir;
256e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel};
257e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudelstruct fuse_link_in {
258e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
259e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint64_t oldnodeid;
260e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel};
261e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudelstruct fuse_setattr_in {
262e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint32_t valid;
263e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
264e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint32_t padding;
265e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint64_t fh;
266e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint64_t size;
267e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint64_t lock_owner;
268e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
269e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint64_t atime;
270e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint64_t mtime;
271e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint64_t unused2;
272e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint32_t atimensec;
273e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
274e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint32_t mtimensec;
275e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint32_t unused3;
276e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint32_t mode;
277e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint32_t unused4;
278e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
279e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint32_t uid;
280e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint32_t gid;
281e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint32_t unused5;
282e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel};
283e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
284e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudelstruct fuse_open_in {
285e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint32_t flags;
286e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint32_t unused;
287e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel};
288e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
289e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudelstruct fuse_create_in {
290e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint32_t flags;
291e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint32_t mode;
292e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint32_t umask;
293e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
294e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint32_t padding;
295e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel};
296e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudelstruct fuse_open_out {
297e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint64_t fh;
298e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
299e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint32_t open_flags;
300fad40a54ca50c33c14a2ea633eea839bd7718acbRobb Glasser  union {
301fad40a54ca50c33c14a2ea633eea839bd7718acbRobb Glasser    int32_t lower_fd;
302fad40a54ca50c33c14a2ea633eea839bd7718acbRobb Glasser    uint32_t padding;
303fad40a54ca50c33c14a2ea633eea839bd7718acbRobb Glasser/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
304fad40a54ca50c33c14a2ea633eea839bd7718acbRobb Glasser  };
305e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel};
306e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudelstruct fuse_release_in {
307e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint64_t fh;
308fad40a54ca50c33c14a2ea633eea839bd7718acbRobb Glasser/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
309e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint32_t flags;
310e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint32_t release_flags;
311e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint64_t lock_owner;
312e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel};
313fad40a54ca50c33c14a2ea633eea839bd7718acbRobb Glasser/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
314e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudelstruct fuse_flush_in {
315e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint64_t fh;
316e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint32_t unused;
317e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint32_t padding;
318fad40a54ca50c33c14a2ea633eea839bd7718acbRobb Glasser/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
319e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint64_t lock_owner;
320e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel};
321e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudelstruct fuse_read_in {
322e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint64_t fh;
323fad40a54ca50c33c14a2ea633eea839bd7718acbRobb Glasser/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
324e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint64_t offset;
325e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint32_t size;
326e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint32_t read_flags;
327e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint64_t lock_owner;
328fad40a54ca50c33c14a2ea633eea839bd7718acbRobb Glasser/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
329e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint32_t flags;
330e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint32_t padding;
331e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel};
332e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel#define FUSE_COMPAT_WRITE_IN_SIZE 24
333fad40a54ca50c33c14a2ea633eea839bd7718acbRobb Glasser/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
334e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudelstruct fuse_write_in {
335e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint64_t fh;
336e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint64_t offset;
337e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint32_t size;
338fad40a54ca50c33c14a2ea633eea839bd7718acbRobb Glasser/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
339e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint32_t write_flags;
340e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint64_t lock_owner;
341e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint32_t flags;
342e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint32_t padding;
343fad40a54ca50c33c14a2ea633eea839bd7718acbRobb Glasser/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
344e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel};
345e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudelstruct fuse_write_out {
346e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint32_t size;
347e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint32_t padding;
348fad40a54ca50c33c14a2ea633eea839bd7718acbRobb Glasser/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
349e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel};
350e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel#define FUSE_COMPAT_STATFS_SIZE 48
351e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudelstruct fuse_statfs_out {
352e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  struct fuse_kstatfs st;
353fad40a54ca50c33c14a2ea633eea839bd7718acbRobb Glasser/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
354e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel};
355e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudelstruct fuse_fsync_in {
356e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint64_t fh;
357e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint32_t fsync_flags;
358fad40a54ca50c33c14a2ea633eea839bd7718acbRobb Glasser/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
359e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint32_t padding;
360e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel};
361e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudelstruct fuse_setxattr_in {
362e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint32_t size;
363fad40a54ca50c33c14a2ea633eea839bd7718acbRobb Glasser/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
364e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint32_t flags;
365e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel};
366e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudelstruct fuse_getxattr_in {
367e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint32_t size;
368fad40a54ca50c33c14a2ea633eea839bd7718acbRobb Glasser/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
369e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint32_t padding;
370e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel};
371e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudelstruct fuse_getxattr_out {
372e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint32_t size;
373fad40a54ca50c33c14a2ea633eea839bd7718acbRobb Glasser/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
374e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint32_t padding;
375e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel};
376e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudelstruct fuse_lk_in {
377e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint64_t fh;
378fad40a54ca50c33c14a2ea633eea839bd7718acbRobb Glasser/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
379e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint64_t owner;
380e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  struct fuse_file_lock lk;
381e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint32_t lk_flags;
382e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint32_t padding;
383fad40a54ca50c33c14a2ea633eea839bd7718acbRobb Glasser/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
384e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel};
385e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudelstruct fuse_lk_out {
386e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  struct fuse_file_lock lk;
387e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel};
388fad40a54ca50c33c14a2ea633eea839bd7718acbRobb Glasser/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
389e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudelstruct fuse_access_in {
390e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint32_t mask;
391e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint32_t padding;
392e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel};
393fad40a54ca50c33c14a2ea633eea839bd7718acbRobb Glasser/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
394e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudelstruct fuse_init_in {
395e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint32_t major;
396e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint32_t minor;
397e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint32_t max_readahead;
398fad40a54ca50c33c14a2ea633eea839bd7718acbRobb Glasser/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
399e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint32_t flags;
400e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel};
401e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudelstruct fuse_init_out {
402e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint32_t major;
403fad40a54ca50c33c14a2ea633eea839bd7718acbRobb Glasser/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
404e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint32_t minor;
405e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint32_t max_readahead;
406e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint32_t flags;
407e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint16_t max_background;
408fad40a54ca50c33c14a2ea633eea839bd7718acbRobb Glasser/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
409e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint16_t congestion_threshold;
410e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint32_t max_write;
411e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel};
412e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel#define CUSE_INIT_INFO_MAX 4096
413fad40a54ca50c33c14a2ea633eea839bd7718acbRobb Glasser/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
414e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudelstruct cuse_init_in {
415e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint32_t major;
416e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint32_t minor;
417e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint32_t unused;
418fad40a54ca50c33c14a2ea633eea839bd7718acbRobb Glasser/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
419e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint32_t flags;
420e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel};
421e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudelstruct cuse_init_out {
422e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint32_t major;
423fad40a54ca50c33c14a2ea633eea839bd7718acbRobb Glasser/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
424e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint32_t minor;
425e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint32_t unused;
426e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint32_t flags;
427e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint32_t max_read;
428fad40a54ca50c33c14a2ea633eea839bd7718acbRobb Glasser/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
429e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint32_t max_write;
430e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint32_t dev_major;
431e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint32_t dev_minor;
432e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint32_t spare[10];
433fad40a54ca50c33c14a2ea633eea839bd7718acbRobb Glasser/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
434e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel};
435e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudelstruct fuse_interrupt_in {
436e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint64_t unique;
437e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel};
438fad40a54ca50c33c14a2ea633eea839bd7718acbRobb Glasser/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
439e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudelstruct fuse_bmap_in {
440e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint64_t block;
441e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint32_t blocksize;
442e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint32_t padding;
443fad40a54ca50c33c14a2ea633eea839bd7718acbRobb Glasser/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
444e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel};
445e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudelstruct fuse_bmap_out {
446e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint64_t block;
447e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel};
448fad40a54ca50c33c14a2ea633eea839bd7718acbRobb Glasser/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
449e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudelstruct fuse_ioctl_in {
450e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint64_t fh;
451e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint32_t flags;
452e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint32_t cmd;
453fad40a54ca50c33c14a2ea633eea839bd7718acbRobb Glasser/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
454e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint64_t arg;
455e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint32_t in_size;
456e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint32_t out_size;
457e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel};
458fad40a54ca50c33c14a2ea633eea839bd7718acbRobb Glasser/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
459e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudelstruct fuse_ioctl_iovec {
460e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint64_t base;
461e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint64_t len;
462e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel};
463fad40a54ca50c33c14a2ea633eea839bd7718acbRobb Glasser/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
464e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudelstruct fuse_ioctl_out {
465e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  int32_t result;
466e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint32_t flags;
467e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint32_t in_iovs;
468fad40a54ca50c33c14a2ea633eea839bd7718acbRobb Glasser/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
469e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint32_t out_iovs;
470e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel};
471e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudelstruct fuse_poll_in {
472e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint64_t fh;
473fad40a54ca50c33c14a2ea633eea839bd7718acbRobb Glasser/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
474e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint64_t kh;
475e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint32_t flags;
476e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint32_t events;
477e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel};
478fad40a54ca50c33c14a2ea633eea839bd7718acbRobb Glasser/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
479e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudelstruct fuse_poll_out {
480e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint32_t revents;
481e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint32_t padding;
482e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel};
483fad40a54ca50c33c14a2ea633eea839bd7718acbRobb Glasser/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
484e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudelstruct fuse_notify_poll_wakeup_out {
485e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint64_t kh;
486e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel};
487e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudelstruct fuse_fallocate_in {
488fad40a54ca50c33c14a2ea633eea839bd7718acbRobb Glasser/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
489e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint64_t fh;
490e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint64_t offset;
491e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint64_t length;
492e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint32_t mode;
493fad40a54ca50c33c14a2ea633eea839bd7718acbRobb Glasser/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
494e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint32_t padding;
495e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel};
496e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudelstruct fuse_in_header {
497e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint32_t len;
498fad40a54ca50c33c14a2ea633eea839bd7718acbRobb Glasser/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
499e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint32_t opcode;
500e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint64_t unique;
501e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint64_t nodeid;
502e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint32_t uid;
503fad40a54ca50c33c14a2ea633eea839bd7718acbRobb Glasser/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
504e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint32_t gid;
505e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint32_t pid;
506e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint32_t padding;
507e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel};
508fad40a54ca50c33c14a2ea633eea839bd7718acbRobb Glasser/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
509e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudelstruct fuse_out_header {
510e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint32_t len;
511e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  int32_t error;
512e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint64_t unique;
513fad40a54ca50c33c14a2ea633eea839bd7718acbRobb Glasser/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
514e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel};
515e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudelstruct fuse_dirent {
516e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint64_t ino;
517e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint64_t off;
518fad40a54ca50c33c14a2ea633eea839bd7718acbRobb Glasser/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
519e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint32_t namelen;
520e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint32_t type;
521e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  char name[];
522e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel};
523fad40a54ca50c33c14a2ea633eea839bd7718acbRobb Glasser/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
524e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel#define FUSE_NAME_OFFSET offsetof(struct fuse_dirent, name)
525e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel#define FUSE_DIRENT_ALIGN(x) (((x) + sizeof(uint64_t) - 1) & ~(sizeof(uint64_t) - 1))
526e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel#define FUSE_DIRENT_SIZE(d) FUSE_DIRENT_ALIGN(FUSE_NAME_OFFSET + (d)->namelen)
527e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudelstruct fuse_direntplus {
528fad40a54ca50c33c14a2ea633eea839bd7718acbRobb Glasser/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
529e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  struct fuse_entry_out entry_out;
530e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  struct fuse_dirent dirent;
531e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel};
532e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel#define FUSE_NAME_OFFSET_DIRENTPLUS offsetof(struct fuse_direntplus, dirent.name)
533fad40a54ca50c33c14a2ea633eea839bd7718acbRobb Glasser/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
534e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel#define FUSE_DIRENTPLUS_SIZE(d) FUSE_DIRENT_ALIGN(FUSE_NAME_OFFSET_DIRENTPLUS + (d)->dirent.namelen)
535e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudelstruct fuse_notify_inval_inode_out {
536e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint64_t ino;
537e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  int64_t off;
538fad40a54ca50c33c14a2ea633eea839bd7718acbRobb Glasser/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
539e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  int64_t len;
540e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel};
541e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudelstruct fuse_notify_inval_entry_out {
542e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint64_t parent;
543fad40a54ca50c33c14a2ea633eea839bd7718acbRobb Glasser/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
544e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint32_t namelen;
545e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint32_t padding;
546e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel};
547e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudelstruct fuse_notify_delete_out {
548fad40a54ca50c33c14a2ea633eea839bd7718acbRobb Glasser/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
549e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint64_t parent;
550e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint64_t child;
551e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint32_t namelen;
552e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint32_t padding;
553fad40a54ca50c33c14a2ea633eea839bd7718acbRobb Glasser/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
554e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel};
555e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudelstruct fuse_notify_store_out {
556e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint64_t nodeid;
557e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint64_t offset;
558fad40a54ca50c33c14a2ea633eea839bd7718acbRobb Glasser/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
559e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint32_t size;
560e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint32_t padding;
561e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel};
562e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudelstruct fuse_notify_retrieve_out {
563fad40a54ca50c33c14a2ea633eea839bd7718acbRobb Glasser/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
564e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint64_t notify_unique;
565e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint64_t nodeid;
566e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint64_t offset;
567e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint32_t size;
568fad40a54ca50c33c14a2ea633eea839bd7718acbRobb Glasser/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
569e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint32_t padding;
570e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel};
571e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudelstruct fuse_notify_retrieve_in {
572e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint64_t dummy1;
573fad40a54ca50c33c14a2ea633eea839bd7718acbRobb Glasser/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
574e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint64_t offset;
575e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint32_t size;
576e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint32_t dummy2;
577e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint64_t dummy3;
578fad40a54ca50c33c14a2ea633eea839bd7718acbRobb Glasser/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
579e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel  uint64_t dummy4;
580e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel};
581e42a877776f494eafc8fd398ff867302f797c1ccThierry Strudel#endif
582