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