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