| /OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/ |
| H A D | test_sysctl.c | 34 int open_flags; member 55 .open_flags = O_RDONLY, 66 .open_flags = O_RDONLY, 77 .open_flags = O_RDONLY, 98 .open_flags = O_RDONLY, 119 .open_flags = O_WRONLY, 142 .open_flags = O_WRONLY, 158 .open_flags = O_RDONLY, 179 .open_flags = O_RDONLY, 206 .open_flags = O_RDONLY, [all …]
|
| /OK3568_Linux_fs/kernel/fs/ |
| H A D | internal.h | 124 struct open_flags { struct 132 const struct open_flags *op); argument 134 const char *, const struct open_flags *); 136 extern int build_open_flags(const struct open_how *how, struct open_flags *op);
|
| H A D | coredump.c | 709 int open_flags = O_CREAT | O_RDWR | O_NOFOLLOW | in do_coredump() local 760 cn.corename, open_flags, 0600); in do_coredump() 763 cprm.file = filp_open(cn.corename, open_flags, 0600); in do_coredump()
|
| H A D | open.c | 1005 inline int build_open_flags(const struct open_how *how, struct open_flags *op) in build_open_flags() 1137 struct open_flags op; in file_open_name() 1192 struct open_flags op; in file_open_root() 1204 struct open_flags op; in do_sys_openat2()
|
| H A D | namei.c | 3106 const struct open_flags *op, in lookup_open() 3214 struct file *file, const struct open_flags *op) in open_last_lookups() 3300 struct file *file, const struct open_flags *op) in do_open() 3397 const struct open_flags *op, in do_tmpfile() 3441 const struct open_flags *op, unsigned flags) in path_openat() 3480 const struct open_flags *op) in do_filp_open() 3497 const char *name, const struct open_flags *op) in do_file_open_root()
|
| H A D | exec.c | 132 static const struct open_flags uselib_flags = { in SYSCALL_DEFINE1() 906 struct open_flags open_exec_flags = { in do_open_execat()
|
| /OK3568_Linux_fs/kernel/drivers/block/rnbd/ |
| H A D | rnbd-srv.c | 229 if (sess_dev->open_flags & FMODE_WRITE) in rnbd_destroy_sess_dev() 568 struct rnbd_dev *rnbd_dev, fmode_t open_flags, in rnbd_srv_create_set_sess_dev() argument 583 sdev->open_flags = open_flags; in rnbd_srv_create_set_sess_dev() 689 fmode_t open_flags; in process_msg_open() local 697 open_flags = FMODE_READ; in process_msg_open() 699 open_flags |= FMODE_WRITE; in process_msg_open() 729 rnbd_dev = rnbd_dev_open(full_path, open_flags, in process_msg_open() 748 rnbd_dev, open_flags, in process_msg_open()
|
| H A D | rnbd-srv.h | 59 fmode_t open_flags; member
|
| H A D | rnbd-srv-sysfs.c | 89 !(sess_dev->open_flags & FMODE_WRITE)); in read_only_show()
|
| /OK3568_Linux_fs/kernel/fs/nfs/ |
| H A D | dir.c | 1631 static struct nfs_open_context *create_nfs_open_context(struct dentry *dentry, int open_flags, stru… in create_nfs_open_context() argument 1633 return alloc_nfs_open_context(dentry, flags_to_mode(open_flags), filp); in create_nfs_open_context() 1644 struct file *file, unsigned open_flags) in nfs_finish_open() argument 1660 struct file *file, unsigned open_flags, in nfs_atomic_open() argument 1679 err = nfs_check_flags(open_flags); in nfs_atomic_open() 1684 if ((open_flags & O_DIRECTORY)) { in nfs_atomic_open() 1700 if (open_flags & O_CREAT) { in nfs_atomic_open() 1709 if (open_flags & O_TRUNC) { in nfs_atomic_open() 1714 if (!(open_flags & O_CREAT) && !d_in_lookup(dentry)) { in nfs_atomic_open() 1725 ctx = create_nfs_open_context(dentry, open_flags, file); in nfs_atomic_open() [all …]
|
| H A D | nfs4proc.c | 1362 p->o_arg.open_flags = flags; in nfs4_opendata_alloc() 1876 int open_mode = opendata->o_arg.open_flags; in nfs4_try_open_cached() 2131 opendata->o_arg.open_flags = 0; in nfs4_open_recover_helper() 2431 data->o_arg.open_flags, claim)) in nfs4_open_prepare() 2461 if (data->o_arg.open_flags & O_EXCL) { in nfs4_open_prepare() 2668 !(o_arg->open_flags & O_CREAT)) in _nfs4_proc_open() 2675 if (o_arg->open_flags & O_CREAT) { in _nfs4_proc_open() 2676 if (o_arg->open_flags & O_EXCL) in _nfs4_proc_open() 3164 if ((opendata->o_arg.open_flags & (O_CREAT|O_EXCL)) == (O_CREAT|O_EXCL) && in _nfs4_do_open() 3793 int open_flags, struct iattr *attr, int *opened) in nfs4_atomic_open() argument [all …]
|
| /OK3568_Linux_fs/kernel/fs/ocfs2/dlmfs/ |
| H A D | dlmfs.c | 102 static int dlmfs_decode_open_flags(int open_flags, in dlmfs_decode_open_flags() argument 106 if (open_flags & (O_WRONLY|O_RDWR)) in dlmfs_decode_open_flags() 112 if (open_flags & O_NONBLOCK) in dlmfs_decode_open_flags()
|
| /OK3568_Linux_fs/kernel/fs/fuse/ |
| H A D | readdir.c | 119 if (ff->open_flags & FOPEN_CACHE_DIR) in fuse_emit() 359 if (ff->open_flags & FOPEN_CACHE_DIR) in fuse_readdir_uncached() 588 if (ff->open_flags & FOPEN_CACHE_DIR) in fuse_readdir()
|
| H A D | file.c | 146 ff->open_flags = FOPEN_KEEP_CACHE | (isdir ? FOPEN_CACHE_DIR : 0); in fuse_do_open() 154 ff->open_flags = outarg.open_flags; in fuse_do_open() 168 ff->open_flags &= ~FOPEN_DIRECT_IO; in fuse_do_open() 197 if (ff->open_flags & FOPEN_STREAM) in fuse_finish_open() 199 else if (ff->open_flags & FOPEN_NONSEEKABLE) in fuse_finish_open() 213 } else if (!(ff->open_flags & FOPEN_KEEP_CACHE)) { in fuse_finish_open() 1592 else if (!(ff->open_flags & FOPEN_DIRECT_IO)) in fuse_file_read_iter() 1612 else if (!(ff->open_flags & FOPEN_DIRECT_IO)) in fuse_file_write_iter() 2399 if (ff->open_flags & FOPEN_DIRECT_IO) { in fuse_file_mmap()
|
| H A D | fuse_i.h | 215 u32 open_flags; member
|
| H A D | dir.c | 627 ff->open_flags = outopen.open_flags; in fuse_create_open()
|
| /OK3568_Linux_fs/kernel/include/uapi/linux/ |
| H A D | io_uring.h | 41 __u32 open_flags; member
|
| H A D | fuse.h | 609 uint32_t open_flags; member
|
| /OK3568_Linux_fs/yocto/poky/meta/recipes-devtools/patch/patch/ |
| H A D | CVE-2019-13636.patch | 73 @@ -579,10 +579,13 @@ create_file (char const *file, int open_flags, mode_t mode,
|
| /OK3568_Linux_fs/buildroot/package/patch/ |
| H A D | 0005-Don-t-follow-symlinks-unless--follow-symlinks-is-given.patch | 71 @@ -579,10 +579,13 @@ create_file (char const *file, int open_flags, mode_t mode,
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/linux/ |
| H A D | fuse.h | 514 uint32_t open_flags; member
|
| H A D | bpf.h | 372 __u32 open_flags; member
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/linux/ |
| H A D | fuse.h | 514 uint32_t open_flags; member
|
| H A D | bpf.h | 372 __u32 open_flags; member
|
| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | nfs_xdr.h | 456 int open_flags; member 1781 int open_flags,
|