Lines Matching defs:flags
42 return open->how.flags & (O_TRUNC | O_CREAT | __O_TMPFILE);
53 if (unlikely(req->flags & REQ_F_FIXED_FILE))
57 if (!(open->how.flags & O_PATH) && force_o_largefile())
58 open->how.flags |= O_LARGEFILE;
70 if (open->file_slot && (open->how.flags & O_CLOEXEC))
74 req->flags |= REQ_F_NEED_CLEANUP;
76 req->flags |= REQ_F_FORCE_ASYNC;
84 u64 flags = READ_ONCE(sqe->open_flags);
86 open->how = build_open_how(flags, mode);
130 ret = __get_unused_fd_flags(open->how.flags, open->nofile);
163 req->flags &= ~REQ_F_NEED_CLEANUP;
208 if (req->flags & REQ_F_FIXED_FILE)