Lines Matching defs:mode
1039 * In auto invalidate mode, always update attributes on read.
1374 * mode and denies new opens in caching mode. This check
1396 /* Allow opens in caching mode after last parallel dio end */
1412 /* Update size (EOF optimization) and mode (SUID clearing) */
2545 * If inode is in passthrough io mode, because it has some file open
2546 * in passthrough mode, either mmap to backing file or fail mmap,
2547 * because mixing cached mmap and passthrough io mode is not allowed.
2574 * First mmap of direct_io file enters caching inode io mode.
2575 * Also waits for parallel dio writers to go into serial mode
2577 * After first mmap, the inode stays in caching io mode until
3087 static long fuse_file_fallocate(struct file *file, int mode, loff_t offset,
3099 .mode = mode
3103 (!(mode & FALLOC_FL_KEEP_SIZE) ||
3104 (mode & (FALLOC_FL_PUNCH_HOLE | FALLOC_FL_ZERO_RANGE)));
3106 if (mode & ~(FALLOC_FL_KEEP_SIZE | FALLOC_FL_PUNCH_HOLE |
3121 if (mode & (FALLOC_FL_PUNCH_HOLE | FALLOC_FL_ZERO_RANGE)) {
3129 if (!(mode & FALLOC_FL_KEEP_SIZE) &&
3140 if (!(mode & FALLOC_FL_KEEP_SIZE))
3157 if (!(mode & FALLOC_FL_KEEP_SIZE)) {
3162 if (mode & (FALLOC_FL_PUNCH_HOLE | FALLOC_FL_ZERO_RANGE))
3168 if (!(mode & FALLOC_FL_KEEP_SIZE))