• Home
  • Raw
  • Download

Lines Matching full:how

980 	struct open_how how = {  in build_open_how()  local
986 if (how.flags & O_PATH) in build_open_how()
987 how.flags &= O_PATH_FLAGS; in build_open_how()
989 if (!WILL_CREATE(how.flags)) in build_open_how()
990 how.mode = 0; in build_open_how()
991 return how; in build_open_how()
994 inline int build_open_flags(const struct open_how *how, struct open_flags *op) in build_open_flags() argument
996 u64 flags = how->flags; in build_open_flags()
1018 if (how->resolve & ~VALID_RESOLVE_FLAGS) in build_open_flags()
1022 if ((how->resolve & RESOLVE_BENEATH) && (how->resolve & RESOLVE_IN_ROOT)) in build_open_flags()
1027 if (how->mode & ~S_IALLUGO) in build_open_flags()
1029 op->mode = how->mode | S_IFREG; in build_open_flags()
1031 if (how->mode != 0) in build_open_flags()
1092 if (how->resolve & RESOLVE_NO_XDEV) in build_open_flags()
1094 if (how->resolve & RESOLVE_NO_MAGICLINKS) in build_open_flags()
1096 if (how->resolve & RESOLVE_NO_SYMLINKS) in build_open_flags()
1098 if (how->resolve & RESOLVE_BENEATH) in build_open_flags()
1100 if (how->resolve & RESOLVE_IN_ROOT) in build_open_flags()
1121 struct open_how how = build_open_how(flags, mode); in file_open_name() local
1122 int err = build_open_flags(&how, &op); in file_open_name()
1156 struct open_how how = build_open_how(flags, mode); in file_open_root() local
1157 int err = build_open_flags(&how, &op); in file_open_root()
1165 struct open_how *how) in do_sys_openat2() argument
1168 int fd = build_open_flags(how, &op); in do_sys_openat2()
1178 fd = get_unused_fd_flags(how->flags); in do_sys_openat2()
1195 struct open_how how = build_open_how(flags, mode); in do_sys_open() local
1196 return do_sys_openat2(dfd, filename, &how); in do_sys_open()
1216 struct open_how __user *, how, size_t, usize) in SYSCALL_DEFINE4() argument
1227 err = copy_struct_from_user(&tmp, sizeof(tmp), how, usize); in SYSCALL_DEFINE4()