| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | test_sysctl.c | 20 int open_flags; member 42 .open_flags = O_RDONLY, 53 .open_flags = O_RDONLY, 64 .open_flags = O_RDONLY, 85 .open_flags = O_RDONLY, 106 .open_flags = O_WRONLY, 129 .open_flags = O_WRONLY, 145 .open_flags = O_RDONLY, 166 .open_flags = O_RDONLY, 193 .open_flags = O_RDONLY, [all …]
|
| H A D | libbpf_get_fd_by_id_opts.c | 20 .open_flags = BPF_F_RDONLY, in test_libbpf_get_fd_by_id_opts()
|
| /linux/fs/fuse/ |
| H A D | iomode.c | 177 (ff->open_flags & ~FOPEN_PASSTHROUGH_MASK)) in fuse_file_passthrough_open() 214 if (fuse_inode_backing(fi) && !(ff->open_flags & FOPEN_PASSTHROUGH)) in fuse_file_io_open() 220 if (!(ff->open_flags & FOPEN_DIRECT_IO)) in fuse_file_io_open() 221 ff->open_flags &= ~FOPEN_PARALLEL_DIRECT_WRITES; in fuse_file_io_open() 231 if ((ff->open_flags & FOPEN_DIRECT_IO) && in fuse_file_io_open() 232 !(ff->open_flags & FOPEN_PASSTHROUGH)) in fuse_file_io_open() 235 if (ff->open_flags & FOPEN_PASSTHROUGH) in fuse_file_io_open() 246 ff->open_flags, err); in fuse_file_io_open()
|
| H A D | file.c | 27 unsigned int open_flags, int opcode, in fuse_send_open() argument 34 inarg.flags = open_flags & ~(O_CREAT | O_EXCL | O_NOCTTY); in fuse_send_open() 40 inarg.open_flags |= FUSE_OPEN_KILL_SUIDGID; in fuse_send_open() 136 unsigned int open_flags, bool isdir) in fuse_file_open() argument 158 ff->open_flags = FOPEN_KEEP_CACHE | (isdir ? FOPEN_CACHE_DIR : 0); in fuse_file_open() 164 err = fuse_send_open(fm, nodeid, open_flags, opcode, outargp); in fuse_file_open() 167 ff->open_flags = outargp->open_flags; in fuse_file_open() 184 ff->open_flags &= ~FOPEN_DIRECT_IO; in fuse_file_open() 228 if (ff->open_flags in fuse_finish_open() 356 fuse_file_release(struct inode * inode,struct fuse_file * ff,unsigned int open_flags,fl_owner_t id,bool isdir) fuse_file_release() argument [all...] |
| /linux/tools/testing/selftests/cachestat/ |
| H A D | test_cachestat.c | 125 int open_flags, mode_t open_mode) in test_cachestat() argument 134 int fd = open(filename, open_flags, open_mode); in test_cachestat()
|
| /linux/tools/bpf/bpftool/ |
| H A D | map.c | 342 __u32 *flags, __u32 **value_fd, __u32 open_flags) in parse_elem() argument 365 flags, value_fd, open_flags); in parse_elem() 391 fd = map_parse_fd(&argc, &argv, open_flags); in parse_elem() 427 flags, NULL, open_flags); in parse_elem() 443 value_size, NULL, value_fd, open_flags); in parse_elem() 682 opts.open_flags = BPF_F_RDONLY; in do_show()
|
| H A D | btf.c | 1223 opts_ro.open_flags = BPF_F_RDONLY; in build_btf_tables()
|
| /linux/include/uapi/linux/ |
| H A D | fuse.h | 797 uint32_t open_flags; /* FUSE_OPEN_... */ member 804 uint32_t open_flags; /* FUSE_OPEN_... */ member 809 uint32_t open_flags; member
|
| H A D | io_uring.h | 64 __u32 open_flags; member
|
| /linux/drivers/vfio/pci/ |
| H A D | vfio_pci_dmabuf.c | 294 exp_info.flags = get_dma_buf.open_flags; in vfio_pci_core_feature_dma_buf() 319 ret = dma_buf_fd(priv->dmabuf, get_dma_buf.open_flags); in vfio_pci_core_feature_dma_buf()
|
| /linux/io_uring/ |
| H A D | openclose.c | 98 u64 flags = READ_ONCE(sqe->open_flags); in io_openat_prep() 126 struct open_flags op; in io_openat2()
|
| /linux/drivers/block/rnbd/ |
| H A D | rnbd-srv.c | 700 blk_mode_t open_flags = BLK_OPEN_READ; in process_msg_open() local 707 open_flags |= BLK_OPEN_WRITE; in process_msg_open() 737 bdev_file = bdev_file_open_by_path(full_path, open_flags, NULL, NULL); in process_msg_open()
|
| /linux/fs/smb/client/ |
| H A D | cifsproto.h | 141 unsigned int find_flags, unsigned int open_flags, 148 unsigned int open_flags);
|
| H A D | file.c | 2565 unsigned int open_flags) in __find_readable_file() 2586 !open_flags_match(cifs_inode, open_flags, in __find_readable_file() 2608 unsigned int find_flags, unsigned int open_flags, in __cifs_get_writable_file() 2659 !open_flags_match(cifs_inode, open_flags, in __cifs_get_writable_file() 2560 __find_readable_file(struct cifsInodeInfo * cifs_inode,unsigned int find_flags,unsigned int open_flags) __find_readable_file() argument 2603 __cifs_get_writable_file(struct cifsInodeInfo * cifs_inode,unsigned int find_flags,unsigned int open_flags,struct cifsFileInfo ** ret_file) __cifs_get_writable_file() argument
|
| /linux/tools/include/uapi/linux/ |
| H A D | io_uring.h | 62 __u32 open_flags; member
|
| /linux/tools/perf/util/ |
| H A D | evsel.c | 2321 evsel->open_flags = PERF_FLAG_FD_CLOEXEC; 2323 evsel->open_flags |= PERF_FLAG_PID_CGROUP; in evsel__disable_missing_features() 2352 evsel->open_flags &= ~(unsigned long)PERF_FLAG_FD_CLOEXEC; in evsel__disable_missing_features() 2756 if ((evsel->open_flags & PERF_FLAG_FD_CLOEXEC) && in evsel__detect_missing_features() 2864 pid, cpu.cpu, group_fd, evsel->open_flags); in evsel__open_cpu() 2867 group_fd, evsel->open_flags); in evsel__open_cpu() 2883 fd, group_fd, evsel->open_flags); in evsel__open_cpu()
|
| H A D | evsel.h | 177 unsigned long open_flags; 175 unsigned long open_flags; global() member
|
| /linux/Documentation/filesystems/fuse/ |
| H A D | fuse-passthrough.rst | 43 ``fuse_open_out::open_flags`` and provides the corresponding ``backing_id``
|
| /linux/include/linux/ |
| H A D | nfs_fs.h | 593 struct file *file, unsigned int open_flags,
|
| H A D | nfs_xdr.h | 479 int open_flags; member 1848 int open_flags,
|
| /linux/fs/ |
| H A D | namei.c | 4407 const struct open_flags *op, in lookup_open() 4564 struct file *file, const struct open_flags *op) in open_last_lookups() 4656 struct file *file, const struct open_flags *op) in do_open() 4804 const struct open_flags *op, in do_tmpfile() 4839 const struct open_flags *op, unsigned flags) in path_openat() 4878 const struct open_flags *op) in do_file_open() 4897 const char *name, const struct open_flags *op) in do_file_open_root()
|
| /linux/fs/smb/server/ |
| H A D | smb2pdu.c | 2612 struct path *path, char *name, int open_flags, in smb2_creat() argument 2620 if (!(open_flags & O_CREAT)) in smb2_creat() 2909 int req_op_level = 0, open_flags = 0, may_flags = 0, file_info = 0; in smb2_open() local 3255 open_flags = smb2_create_open_flags(file_present, daccess, in smb2_open() 3262 if (open_flags & (O_CREAT | O_TRUNC)) { in smb2_open() 3272 rc = smb2_creat(work, &path, name, open_flags, in smb2_open() 3330 filp = dentry_open(&path, open_flags, current_cred()); in smb2_open() 3338 if (!(open_flags & O_TRUNC)) in smb2_open() 3346 } else if (open_flags & O_CREAT) { in smb2_open() 3485 if (!S_ISDIR(file_inode(filp)->i_mode) && open_flags & O_TRUNC && in smb2_open() [all …]
|
| /linux/fs/nfs/ |
| H A D | nfs4proc.c | 1394 p->o_arg.open_flags = flags; in nfs4_opendata_alloc() 1915 int open_mode = opendata->o_arg.open_flags; in nfs4_try_open_cached() 2171 int openflags = opendata->o_arg.open_flags; in nfs4_open_recover_helper() 2485 data->o_arg.open_flags, claim)) in nfs4_open_prepare() 2515 if (data->o_arg.open_flags & O_EXCL) { in nfs4_open_prepare() 2724 !(o_arg->open_flags & O_CREAT)) in _nfs4_proc_open() 2731 if (o_arg->open_flags & O_CREAT) { in _nfs4_proc_open() 2732 if (o_arg->open_flags & O_EXCL) in _nfs4_proc_open() 2778 opendata->o_arg.open_flags = O_DIRECT; in _nfs4_open_expired() 3191 if ((opendata->o_arg.open_flags & (O_CREAT|O_EXCL)) == (O_CREAT|O_EXCL) && in _nfs4_do_open() [all …]
|
| /linux/kernel/bpf/ |
| H A D | syscall.c | 4856 #define BPF_MAP_GET_FD_BY_ID_LAST_FIELD open_flags 4866 attr->open_flags & ~BPF_OBJ_FLAG_MASK) in bpf_map_get_fd_by_id() 4872 f_flags = bpf_get_file_flag(attr->open_flags); in bpf_map_get_fd_by_id() 5511 if (attr->open_flags & ~BPF_F_TOKEN_FD) in bpf_btf_get_fd_by_id() 5514 if (attr->open_flags & BPF_F_TOKEN_FD) { in bpf_btf_get_fd_by_id()
|
| /linux/tools/testing/selftests/iommu/ |
| H A D | iommufd_utils.h | 568 .dmabuf_get = { .length = len, .open_flags = O_CLOEXEC }, in _test_cmd_get_dmabuf()
|