Lines Matching refs:open_flags
24 unsigned int open_flags, int opcode, in fuse_send_open() argument
31 inarg.flags = open_flags & ~(O_CREAT | O_EXCL | O_NOCTTY); in fuse_send_open()
37 inarg.open_flags |= FUSE_OPEN_KILL_SUIDGID; in fuse_send_open()
129 unsigned int open_flags, bool isdir) in fuse_file_open() argument
141 ff->open_flags = FOPEN_KEEP_CACHE | (isdir ? FOPEN_CACHE_DIR : 0); in fuse_file_open()
146 err = fuse_send_open(fm, nodeid, open_flags, opcode, &outarg); in fuse_file_open()
149 ff->open_flags = outarg.open_flags; in fuse_file_open()
163 ff->open_flags &= ~FOPEN_DIRECT_IO; in fuse_file_open()
202 if (ff->open_flags & FOPEN_STREAM) in fuse_finish_open()
204 else if (ff->open_flags & FOPEN_NONSEEKABLE) in fuse_finish_open()
263 else if (!(ff->open_flags & FOPEN_KEEP_CACHE)) in fuse_open_common()
306 unsigned int open_flags, fl_owner_t id, bool isdir) in fuse_file_release() argument
312 fuse_prepare_release(fi, ff, open_flags, opcode); in fuse_file_release()
493 if (ff->open_flags & FOPEN_NOFLUSH && !fm->fc->writeback_cache) in fuse_flush()
1444 bool fopen_direct_io = ff->open_flags & FOPEN_DIRECT_IO; in fuse_direct_io()
1576 !(ff->open_flags & FOPEN_PARALLEL_DIRECT_WRITES) || in fuse_direct_write_iter()
1633 if (!(ff->open_flags & FOPEN_DIRECT_IO)) in fuse_file_read_iter()
1651 if (!(ff->open_flags & FOPEN_DIRECT_IO)) in fuse_file_write_iter()
2475 if (ff->open_flags & FOPEN_DIRECT_IO) { in fuse_file_mmap()