Home
last modified time | relevance | path

Searched refs:open_how (Results 1 – 11 of 11) sorted by relevance

/Linux-v5.15/tools/testing/selftests/openat2/
Dhelpers.c17 bool needs_openat2(const struct open_how *how) in needs_openat2()
28 int sys_openat2(int dfd, const char *path, struct open_how *how) in sys_openat2()
33 int sys_openat(int dfd, const char *path, struct open_how *how) in sys_openat()
98 struct open_how how = {}; in init()
101 BUILD_BUG_ON(sizeof(struct open_how) != OPEN_HOW_SIZE_VER0); in init()
Dhelpers.h38 struct open_how { struct
47 bool needs_openat2(const struct open_how *how); argument
95 int sys_openat2(int dfd, const char *path, struct open_how *how);
96 int sys_openat(int dfd, const char *path, struct open_how *how);
Dopenat2_test.c32 struct open_how inner;
58 .size = sizeof(struct open_how) }, in test_openat2_struct()
158 struct open_how how;
Drename_attack_test.c91 struct open_how how = { in test_rename_attack()
Dresolve_test.c113 struct open_how how;
/Linux-v5.15/fs/
Dopen.c992 inline struct open_how build_open_how(int flags, umode_t mode) in build_open_how()
994 struct open_how how = { in build_open_how()
1008 inline int build_open_flags(const struct open_how *how, struct open_flags *op) in build_open_flags()
1141 struct open_how how = build_open_how(flags, mode); in file_open_name()
1176 struct open_how how = build_open_how(flags, mode); in file_open_root()
1185 struct open_how *how) in do_sys_openat2()
1215 struct open_how how = build_open_how(flags, mode); in do_sys_open()
1236 struct open_how __user *, how, size_t, usize) in SYSCALL_DEFINE4()
1239 struct open_how tmp; in SYSCALL_DEFINE4()
1241 BUILD_BUG_ON(sizeof(struct open_how) < OPEN_HOW_SIZE_VER0); in SYSCALL_DEFINE4()
[all …]
Dinternal.h137 extern struct open_how build_open_how(int flags, umode_t mode);
138 extern int build_open_flags(const struct open_how *how, struct open_flags *op);
Dio_uring.c591 struct open_how how;
4181 struct open_how __user *how; in io_openat2_prep()
/Linux-v5.15/include/uapi/linux/
Dopenat2.h19 struct open_how { struct
/Linux-v5.15/tools/include/uapi/linux/
Dopenat2.h19 struct open_how { struct
/Linux-v5.15/include/linux/
Dsyscalls.h70 struct open_how;
476 struct open_how *how, size_t size);