/Linux-v5.4/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, 135 .open_flags = O_RDONLY, 156 .open_flags = O_RDONLY, 183 .open_flags = O_RDONLY, 199 .open_flags = O_RDONLY, [all …]
|
/Linux-v5.4/fs/ |
D | internal.h | 116 struct open_flags { struct 124 const struct open_flags *op); argument 126 const char *, const struct open_flags *);
|
D | coredump.c | 696 int open_flags = O_CREAT | O_RDWR | O_NOFOLLOW | in do_coredump() local 747 cn.corename, open_flags, 0600); in do_coredump() 750 cprm.file = filp_open(cn.corename, open_flags, 0600); in do_coredump()
|
D | open.c | 958 static inline int build_open_flags(int flags, umode_t mode, struct open_flags *op) in build_open_flags() 1042 struct open_flags op; in file_open_name() 1074 struct open_flags op; in file_open_root() 1084 struct open_flags op; in do_sys_open()
|
D | namei.c | 3047 const struct open_flags *op, in atomic_open() 3119 const struct open_flags *op, in lookup_open() 3248 struct file *file, const struct open_flags *op) in do_last() 3465 const struct open_flags *op, in do_tmpfile() 3509 const struct open_flags *op, unsigned flags) in path_openat() 3548 const struct open_flags *op) in do_filp_open() 3565 const char *name, const struct open_flags *op) in do_file_open_root()
|
D | exec.c | 127 static const struct open_flags uselib_flags = { in SYSCALL_DEFINE1() 843 struct open_flags open_exec_flags = { in do_open_execat()
|
/Linux-v5.4/fs/nfs/ |
D | dir.c | 1467 static struct nfs_open_context *create_nfs_open_context(struct dentry *dentry, int open_flags, stru… in create_nfs_open_context() argument 1469 return alloc_nfs_open_context(dentry, flags_to_mode(open_flags), filp); in create_nfs_open_context() 1480 struct file *file, unsigned open_flags) in nfs_finish_open() argument 1496 struct file *file, unsigned open_flags, in nfs_atomic_open() argument 1515 err = nfs_check_flags(open_flags); in nfs_atomic_open() 1520 if ((open_flags & O_DIRECTORY)) { in nfs_atomic_open() 1536 if (open_flags & O_CREAT) { in nfs_atomic_open() 1545 if (open_flags & O_TRUNC) { in nfs_atomic_open() 1550 if (!(open_flags & O_CREAT) && !d_in_lookup(dentry)) { in nfs_atomic_open() 1561 ctx = create_nfs_open_context(dentry, open_flags, file); in nfs_atomic_open() [all …]
|
D | nfs4proc.c | 1291 p->o_arg.open_flags = flags; in nfs4_opendata_alloc() 1812 int open_mode = opendata->o_arg.open_flags; in nfs4_try_open_cached() 2067 opendata->o_arg.open_flags = 0; in nfs4_open_recover_helper() 2368 data->o_arg.open_flags, claim)) in nfs4_open_prepare() 2398 if (data->o_arg.open_flags & O_EXCL) { in nfs4_open_prepare() 2605 !(o_arg->open_flags & O_CREAT)) in _nfs4_proc_open() 2612 if (o_arg->open_flags & O_CREAT) { in _nfs4_proc_open() 2613 if (o_arg->open_flags & O_EXCL) in _nfs4_proc_open() 3078 if ((opendata->o_arg.open_flags & (O_CREAT|O_EXCL)) == (O_CREAT|O_EXCL) && in _nfs4_do_open() 3669 int open_flags, struct iattr *attr, int *opened) in nfs4_atomic_open() argument [all …]
|
D | nfs4xdr.c | 1452 switch (arg->open_flags & O_CREAT) { in encode_opentype()
|
/Linux-v5.4/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()
|
/Linux-v5.4/fs/fuse/ |
D | readdir.c | 117 if (ff->open_flags & FOPEN_CACHE_DIR) in fuse_emit() 354 if (ff->open_flags & FOPEN_CACHE_DIR) in fuse_readdir_uncached() 577 if (ff->open_flags & FOPEN_CACHE_DIR) in fuse_readdir()
|
D | file.c | 144 ff->open_flags = FOPEN_KEEP_CACHE | (isdir ? FOPEN_CACHE_DIR : 0); in fuse_do_open() 152 ff->open_flags = outarg.open_flags; in fuse_do_open() 166 ff->open_flags &= ~FOPEN_DIRECT_IO; in fuse_do_open() 195 if (!(ff->open_flags & FOPEN_KEEP_CACHE)) in fuse_finish_open() 197 if (ff->open_flags & FOPEN_STREAM) in fuse_finish_open() 199 else if (ff->open_flags & FOPEN_NONSEEKABLE) in fuse_finish_open() 1552 if (!(ff->open_flags & FOPEN_DIRECT_IO)) in fuse_file_read_iter() 1566 if (!(ff->open_flags & FOPEN_DIRECT_IO)) in fuse_file_write_iter() 2282 if (ff->open_flags & FOPEN_DIRECT_IO) { in fuse_file_mmap()
|
D | fuse_i.h | 187 u32 open_flags; member
|
D | dir.c | 483 ff->open_flags = outopen.open_flags; in fuse_create_open()
|
/Linux-v5.4/include/uapi/linux/ |
D | fuse.h | 593 uint32_t open_flags; member
|
D | bpf.h | 467 __u32 open_flags; member
|
/Linux-v5.4/include/linux/ |
D | nfs_xdr.h | 452 int open_flags; member 1701 int open_flags,
|
/Linux-v5.4/tools/include/uapi/linux/ |
D | bpf.h | 467 __u32 open_flags; member
|
/Linux-v5.4/kernel/bpf/ |
D | syscall.c | 2186 #define BPF_MAP_GET_FD_BY_ID_LAST_FIELD open_flags 2196 attr->open_flags & ~BPF_OBJ_FLAG_MASK) in bpf_map_get_fd_by_id() 2202 f_flags = bpf_get_file_flag(attr->open_flags); in bpf_map_get_fd_by_id()
|