Lines Matching refs:how
24 struct open_how how; member
47 return open->how.flags & (O_TRUNC | O_CREAT | __O_TMPFILE); in io_openat_force_async()
62 if (!(open->how.flags & O_PATH) && force_o_largefile()) in __io_openat_prep()
63 open->how.flags |= O_LARGEFILE; in __io_openat_prep()
75 if (open->file_slot && (open->how.flags & O_CLOEXEC)) in __io_openat_prep()
91 open->how = build_open_how(flags, mode); in io_openat_prep()
98 struct open_how __user *how; in io_openat2_prep() local
102 how = u64_to_user_ptr(READ_ONCE(sqe->addr2)); in io_openat2_prep()
107 ret = copy_struct_from_user(&open->how, sizeof(open->how), how, len); in io_openat2_prep()
123 ret = build_open_flags(&open->how, &op); in io_openat2()
127 resolve_nonblock = open->how.resolve & RESOLVE_CACHED; in io_openat2()
135 ret = __get_unused_fd_flags(open->how.flags, open->nofile); in io_openat2()