/linux-6.12.1/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 …]
|
/linux-6.12.1/fs/fuse/ |
D | iomode.c | 177 (ff->open_flags & ~FOPEN_PASSTHROUGH_MASK)) in fuse_file_passthrough_open() 215 if (fuse_inode_backing(fi) && !(ff->open_flags & FOPEN_PASSTHROUGH)) in fuse_file_io_open() 221 if (!(ff->open_flags & FOPEN_DIRECT_IO)) in fuse_file_io_open() 222 ff->open_flags &= ~FOPEN_PARALLEL_DIRECT_WRITES; in fuse_file_io_open() 232 if ((ff->open_flags & FOPEN_DIRECT_IO) && in fuse_file_io_open() 233 !(ff->open_flags & FOPEN_PASSTHROUGH)) in fuse_file_io_open() 236 if (ff->open_flags & FOPEN_PASSTHROUGH) in fuse_file_io_open() 247 ff->open_flags, err); in fuse_file_io_open()
|
D | file.c | 26 unsigned int open_flags, int opcode, in fuse_send_open() argument 33 inarg.flags = open_flags & ~(O_CREAT | O_EXCL | O_NOCTTY); in fuse_send_open() 39 inarg.open_flags |= FUSE_OPEN_KILL_SUIDGID; in fuse_send_open() 127 unsigned int open_flags, bool isdir) in fuse_file_open() argument 140 ff->open_flags = FOPEN_KEEP_CACHE | (isdir ? FOPEN_CACHE_DIR : 0); in fuse_file_open() 146 err = fuse_send_open(fm, nodeid, open_flags, opcode, outargp); in fuse_file_open() 149 ff->open_flags = outargp->open_flags; in fuse_file_open() 165 ff->open_flags &= ~FOPEN_DIRECT_IO; in fuse_file_open() 209 if (ff->open_flags & FOPEN_STREAM) in fuse_finish_open() 211 else if (ff->open_flags & FOPEN_NONSEEKABLE) in fuse_finish_open() [all …]
|
D | readdir.c | 119 if (ff->open_flags & FOPEN_CACHE_DIR) in fuse_emit() 367 if (ff->open_flags & FOPEN_CACHE_DIR) in fuse_readdir_uncached() 596 if (ff->open_flags & FOPEN_CACHE_DIR) in fuse_readdir()
|
D | fuse_i.h | 239 u32 open_flags; member 1415 unsigned int open_flags, bool isdir); 1417 unsigned int open_flags, fl_owner_t id, bool isdir);
|
D | dir.c | 658 inarg.open_flags |= FUSE_OPEN_KILL_SUIDGID; in fuse_create_open() 692 ff->open_flags = outopenp->open_flags; in fuse_create_open() 717 else if (!(ff->open_flags & FOPEN_KEEP_CACHE)) in fuse_create_open() 1681 if (ff->open_flags & (FOPEN_STREAM | FOPEN_NONSEEKABLE)) in fuse_dir_open()
|
/linux-6.12.1/fs/ |
D | internal.h | 175 struct open_flags { struct 183 const struct open_flags *op); argument 185 const char *, const struct open_flags *); 187 extern int build_open_flags(const struct open_how *how, struct open_flags *op);
|
D | coredump.c | 647 int open_flags = O_CREAT | O_WRONLY | O_NOFOLLOW | in do_coredump() local 696 open_flags, 0600); in do_coredump() 699 cprm.file = filp_open(cn.corename, open_flags, 0600); in do_coredump()
|
D | open.c | 1215 inline int build_open_flags(const struct open_how *how, struct open_flags *op) in build_open_flags() 1355 struct open_flags op; in file_open_name() 1390 struct open_flags op; in file_open_root() 1402 struct open_flags op; in do_sys_openat2()
|
D | namei.c | 3498 const struct open_flags *op, in lookup_open() 3648 struct file *file, const struct open_flags *op) in open_last_lookups() 3731 struct file *file, const struct open_flags *op) in do_open() 3879 const struct open_flags *op, in do_tmpfile() 3914 const struct open_flags *op, unsigned flags) in path_openat() 3953 const struct open_flags *op) in do_filp_open() 3970 const char *name, const struct open_flags *op) in do_file_open_root()
|
/linux-6.12.1/fs/nfs/ |
D | dir.c | 60 umode_t mode, int open_flags); 2040 static struct nfs_open_context *create_nfs_open_context(struct dentry *dentry, int open_flags, stru… in create_nfs_open_context() argument 2042 return alloc_nfs_open_context(dentry, flags_to_mode(open_flags), filp); in create_nfs_open_context() 2053 struct file *file, unsigned open_flags) in nfs_finish_open() argument 2069 struct file *file, unsigned open_flags, in nfs_atomic_open() argument 2089 err = nfs_check_flags(open_flags); in nfs_atomic_open() 2094 if ((open_flags & O_DIRECTORY)) { in nfs_atomic_open() 2110 if (open_flags & O_CREAT) { in nfs_atomic_open() 2119 if (open_flags & O_TRUNC) { in nfs_atomic_open() 2124 if (!(open_flags & O_CREAT) && !d_in_lookup(dentry)) { in nfs_atomic_open() [all …]
|
/linux-6.12.1/tools/lib/bpf/ |
D | bpf.c | 1015 const size_t attr_sz = offsetofend(union bpf_attr, open_flags); in bpf_obj_get_next_id() 1052 const size_t attr_sz = offsetofend(union bpf_attr, open_flags); in bpf_prog_get_fd_by_id_opts() 1061 attr.open_flags = OPTS_GET(opts, open_flags, 0); in bpf_prog_get_fd_by_id_opts() 1075 const size_t attr_sz = offsetofend(union bpf_attr, open_flags); in bpf_map_get_fd_by_id_opts() 1084 attr.open_flags = OPTS_GET(opts, open_flags, 0); in bpf_map_get_fd_by_id_opts() 1098 const size_t attr_sz = offsetofend(union bpf_attr, open_flags); in bpf_btf_get_fd_by_id_opts() 1107 attr.open_flags = OPTS_GET(opts, open_flags, 0); in bpf_btf_get_fd_by_id_opts() 1121 const size_t attr_sz = offsetofend(union bpf_attr, open_flags); in bpf_link_get_fd_by_id_opts() 1130 attr.open_flags = OPTS_GET(opts, open_flags, 0); in bpf_link_get_fd_by_id_opts()
|
D | bpf.h | 486 __u32 open_flags; /* permissions requested for the operation on fd */ member 489 #define bpf_get_fd_by_id_opts__last_field open_flags
|
/linux-6.12.1/tools/testing/selftests/cachestat/ |
D | test_cachestat.c | 120 int open_flags, mode_t open_mode) in test_cachestat() argument 129 int fd = open(filename, open_flags, open_mode); in test_cachestat()
|
/linux-6.12.1/fs/ocfs2/dlmfs/ |
D | dlmfs.c | 99 static int dlmfs_decode_open_flags(int open_flags, in dlmfs_decode_open_flags() argument 103 if (open_flags & (O_WRONLY|O_RDWR)) in dlmfs_decode_open_flags() 109 if (open_flags & O_NONBLOCK) in dlmfs_decode_open_flags()
|
/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/ |
D | libbpf_get_fd_by_id_opts.c | 20 .open_flags = BPF_F_RDONLY, in test_libbpf_get_fd_by_id_opts()
|
/linux-6.12.1/include/uapi/linux/ |
D | fuse.h | 771 uint32_t open_flags; /* FUSE_OPEN_... */ member 778 uint32_t open_flags; /* FUSE_OPEN_... */ member 783 uint32_t open_flags; member
|
D | io_uring.h | 62 __u32 open_flags; member
|
/linux-6.12.1/io_uring/ |
D | openclose.c | 89 u64 flags = READ_ONCE(sqe->open_flags); in io_openat_prep() 117 struct open_flags op; in io_openat2()
|
/linux-6.12.1/drivers/block/rnbd/ |
D | rnbd-srv.c | 689 blk_mode_t open_flags = BLK_OPEN_READ; in process_msg_open() local 696 open_flags |= BLK_OPEN_WRITE; in process_msg_open() 726 bdev_file = bdev_file_open_by_path(full_path, open_flags, NULL, NULL); in process_msg_open()
|
/linux-6.12.1/tools/include/uapi/linux/ |
D | io_uring.h | 62 __u32 open_flags; member
|
/linux-6.12.1/tools/perf/util/ |
D | evsel.c | 2083 evsel->open_flags = PERF_FLAG_FD_CLOEXEC; in __evsel__prepare_open() 2085 evsel->open_flags |= PERF_FLAG_PID_CGROUP; in __evsel__prepare_open() 2107 evsel->open_flags &= ~(unsigned long)PERF_FLAG_FD_CLOEXEC; in evsel__disable_missing_features() 2205 } else if (!perf_missing_features.cloexec && (evsel->open_flags & PERF_FLAG_FD_CLOEXEC)) { in evsel__detect_missing_features() 2359 pid, perf_cpu_map__cpu(cpus, idx).cpu, group_fd, evsel->open_flags); in evsel__open_cpu() 2363 group_fd, evsel->open_flags); in evsel__open_cpu() 2380 fd, group_fd, evsel->open_flags); in evsel__open_cpu()
|
D | evsel.h | 183 unsigned long open_flags; member
|
/linux-6.12.1/include/linux/ |
D | nfs_fs.h | 565 struct file *file, unsigned int open_flags,
|
D | nfs_xdr.h | 475 int open_flags; member 1839 int open_flags,
|