Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/tools/testing/selftests/openat2/
H A 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()
H A Dhelpers.h39 struct open_how { struct
48 bool needs_openat2(const struct open_how *how); argument
97 int sys_openat2(int dfd, const char *path, struct open_how *how);
98 int sys_openat(int dfd, const char *path, struct open_how *how);
H A Dopenat2_test.c28 struct open_how inner;
54 .size = sizeof(struct open_how) }, in test_openat2_struct()
154 struct open_how how;
H A Drename_attack_test.c91 struct open_how how = { in test_rename_attack()
H A Dresolve_test.c113 struct open_how how;
/OK3568_Linux_fs/kernel/fs/
H A Dopen.c989 inline struct open_how build_open_how(int flags, umode_t mode) in build_open_how()
991 struct open_how how = { in build_open_how()
1005 inline int build_open_flags(const struct open_how *how, struct open_flags *op) in build_open_flags()
1138 struct open_how how = build_open_how(flags, mode); in file_open_name()
1193 struct open_how how = build_open_how(flags, mode); in file_open_root()
1202 struct open_how *how) in do_sys_openat2()
1232 struct open_how how = build_open_how(flags, mode); in do_sys_open()
1253 struct open_how __user *, how, size_t, usize) in SYSCALL_DEFINE4()
1256 struct open_how tmp; in SYSCALL_DEFINE4()
1258 BUILD_BUG_ON(sizeof(struct open_how) < OPEN_HOW_SIZE_VER0); in SYSCALL_DEFINE4()
[all …]
H A Dinternal.h135 extern struct open_how build_open_how(int flags, umode_t mode);
136 extern int build_open_flags(const struct open_how *how, struct open_flags *op);
/OK3568_Linux_fs/kernel/include/uapi/linux/
H A Dopenat2.h19 struct open_how { struct
/OK3568_Linux_fs/kernel/tools/include/uapi/linux/
H A Dopenat2.h19 struct open_how { struct
/OK3568_Linux_fs/kernel/include/linux/
H A Dsyscalls.h70 struct open_how;
468 struct open_how *how, size_t size);
/OK3568_Linux_fs/kernel/io_uring/
H A Dio_uring.c599 struct open_how how;
4118 struct open_how __user *how; in io_openat2_prep()