| /kernel/linux/linux-5.10/tools/testing/selftests/bpf/ |
| 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 …]
|
| /kernel/linux/linux-5.10/fs/ |
| 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);
|
| D | open.c | 994 inline int build_open_flags(const struct open_how *how, struct open_flags *op) in build_open_flags() 1126 struct open_flags op; in file_open_name() 1161 struct open_flags op; in file_open_root() 1173 struct open_flags op; in do_sys_openat2()
|
| D | coredump.c | 713 int open_flags = O_CREAT | O_RDWR | O_NOFOLLOW | in do_coredump() local 764 open_flags, 0600); in do_coredump() 767 cprm.file = filp_open(cn.corename, open_flags, 0600); in do_coredump()
|
| D | namei.c | 3029 const struct open_flags *op, in lookup_open() 3137 struct file *file, const struct open_flags *op) in open_last_lookups() 3223 struct file *file, const struct open_flags *op) in do_open() 3320 const struct open_flags *op, in do_tmpfile() 3364 const struct open_flags *op, unsigned flags) in path_openat() 3403 const struct open_flags *op) in do_filp_open() 3420 const char *name, const struct open_flags *op) in do_file_open_root()
|
| D | exec.c | 130 static const struct open_flags uselib_flags = { in SYSCALL_DEFINE1() 904 struct open_flags open_exec_flags = { in do_open_execat()
|
| /kernel/linux/linux-5.10/drivers/block/rnbd/ |
| 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()
|
| D | rnbd-srv.h | 59 fmode_t open_flags; member
|
| D | rnbd-srv-sysfs.c | 89 !(sess_dev->open_flags & FMODE_WRITE)); in read_only_show()
|
| /kernel/linux/linux-5.10/fs/nfs/ |
| 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 …]
|
| D | nfs4proc.c | 1367 p->o_arg.open_flags = flags; in nfs4_opendata_alloc() 1881 int open_mode = opendata->o_arg.open_flags; in nfs4_try_open_cached() 2133 int openflags = opendata->o_arg.open_flags; in nfs4_open_recover_helper() 2436 data->o_arg.open_flags, claim)) in nfs4_open_prepare() 2466 if (data->o_arg.open_flags & O_EXCL) { in nfs4_open_prepare() 2673 !(o_arg->open_flags & O_CREAT)) in _nfs4_proc_open() 2680 if (o_arg->open_flags & O_CREAT) { in _nfs4_proc_open() 2681 if (o_arg->open_flags & O_EXCL) in _nfs4_proc_open() 2724 opendata->o_arg.open_flags = O_DIRECT; in _nfs4_open_expired() 3174 if ((opendata->o_arg.open_flags & (O_CREAT|O_EXCL)) == (O_CREAT|O_EXCL) && in _nfs4_do_open() [all …]
|
| /kernel/linux/linux-5.10/fs/ocfs2/dlmfs/ |
| 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()
|
| /kernel/linux/linux-5.10/fs/fuse/ |
| 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()
|
| 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() 1588 if (!(ff->open_flags & FOPEN_DIRECT_IO)) in fuse_file_read_iter() 1606 if (!(ff->open_flags & FOPEN_DIRECT_IO)) in fuse_file_write_iter() 2390 if (ff->open_flags & FOPEN_DIRECT_IO) { in fuse_file_mmap()
|
| D | fuse_i.h | 204 u32 open_flags; member
|
| D | dir.c | 586 ff->open_flags = outopen.open_flags; in fuse_create_open()
|
| /kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/ |
| D | io_uring.h | 47 __u32 open_flags; member
|
| D | fuse.h | 273 uint32_t open_flags; member
|
| /kernel/linux/linux-5.10/include/uapi/linux/ |
| D | io_uring.h | 41 __u32 open_flags; member
|
| D | fuse.h | 607 uint32_t open_flags; member
|
| /kernel/linux/linux-5.10/fs/hmdfs/comm/ |
| D | protocol.h | 214 __le32 open_flags; member
|
| /kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/ |
| D | fuse.h | 247 uint32_t open_flags; member
|
| D | bpf.h | 254 __u32 open_flags; member
|
| /kernel/linux/linux-5.10/fs/hmdfs/ |
| D | hmdfs_server.c | 569 uint32_t open_flags = le32_to_cpu(recv->open_flags); in hmdfs_lookup_create() local 595 *truncate = ((open_flags & HMDFS_O_TRUNC) && d_is_positive(dentry)); in hmdfs_lookup_create() 598 open_flags & HMDFS_O_EXCL); in hmdfs_lookup_create()
|
| /kernel/linux/linux-5.10/include/linux/ |
| D | nfs_xdr.h | 456 int open_flags; member 1781 int open_flags,
|