Searched refs:O_RDWR (Results 226 - 250 of 267) sorted by relevance

1234567891011

/linux-master/fs/ntfs3/
H A Dfile.c1157 (file->f_flags & (O_WRONLY | O_RDWR | O_TRUNC))) {
/linux-master/fs/9p/
H A Dvfs_inode.c176 case O_RDWR:
761 "write-only file with writeback enabled, creating w/ O_RDWR\n");
/linux-master/fs/nfsd/
H A Dnfs4state.c508 return O_RDWR;
601 ret = nfsd_file_get(f->fi_fds[O_RDWR]);
626 ret = nfsd_file_get(f->fi_fds[O_RDWR]);
648 ret = nfsd_file_get(f->fi_fds[O_RDWR]);
662 ret = nfsd_file_get(f->fi_fds[O_RDWR]);
676 if (f->fi_fds[O_RDWR])
677 return f->fi_fds[O_RDWR];
828 swap(f2, fp->fi_fds[O_RDWR]);
5685 if (fp->fi_fds[O_RDWR])
5788 * operations as well, so we require a O_RDWR fil
[all...]
/linux-master/tools/testing/ktest/
H A Dktest.pl1610 sysopen($ptm, "/dev/ptmx", O_RDWR | O_NONBLOCK) or
1623 sysopen($pts, "/dev/pts/$tmp", O_RDWR | O_NONBLOCK) or
/linux-master/drivers/media/dvb-core/
H A Ddmxdev.c142 * - For duplex device nodes, opened with O_RDWR.
147 else if ((file->f_flags & O_ACCMODE) == O_RDWR) {
/linux-master/tools/objtool/
H A Delf.c1019 else if ((flags & O_ACCMODE) == O_RDWR)
/linux-master/drivers/iommu/iommufd/
H A Dselftest.c1056 O_RDWR);
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dtc_redirect.c1077 fd = open("/dev/net/tun", O_RDWR);
/linux-master/tools/testing/selftests/mm/
H A Dcow.c1800 gup_fd = open("/sys/kernel/debug/gup_test", O_RDWR);
/linux-master/fs/ceph/
H A Dfile.c35 case O_RDWR:
187 if (flags & (O_WRONLY|O_RDWR|O_CREAT|O_TRUNC))
325 flags = O_RDWR;
/linux-master/virt/kvm/
H A Dkvm_main.c4166 return anon_inode_getfd(name, &kvm_vcpu_fops, vcpu, O_RDWR | O_CLOEXEC);
4777 ret = anon_inode_getfd(ops->name, &kvm_device_fops, dev, O_RDWR | O_CLOEXEC);
5426 file = anon_inode_getfile("kvm-vm", &kvm_vm_fops, kvm, O_RDWR);
/linux-master/ipc/
H A Dmqueue.c888 if ((oflag & O_ACCMODE) == (O_RDWR | O_WRONLY))
H A Dshm.c1564 f_flags = O_RDWR;
/linux-master/drivers/target/
H A Dtarget_core_alua.c859 struct file *file = filp_open(path, O_RDWR | O_CREAT | O_TRUNC, 0600);
H A Dtarget_core_pr.c1959 int flags = O_RDWR | O_CREAT | O_TRUNC;
/linux-master/tools/testing/selftests/kvm/lib/
H A Dkvm_util.c192 vm->kvm_fd = _open_kvm_dev_path_or_exit(O_RDWR);
/linux-master/kernel/
H A Dseccomp.c1849 filter, O_RDWR);
/linux-master/fs/hugetlbfs/
H A Dinode.c1639 file = alloc_file_pseudo(inode, mnt, name, O_RDWR,
/linux-master/drivers/iio/
H A Dindustrialio-buffer.c1553 ib, O_RDWR | O_CLOEXEC);
/linux-master/mm/
H A Dswapfile.c2482 victim = file_open_name(pathname, O_RDWR|O_LARGEFILE, 0);
3073 swap_file = file_open_name(name, O_RDWR | O_LARGEFILE | O_EXCL, 0);
/linux-master/io_uring/
H A Dio_uring.c3389 fd = get_unused_fd_flags(O_RDWR | O_CLOEXEC);
3405 O_RDWR | O_CLOEXEC, NULL);
/linux-master/fs/smb/client/
H A Dfile.c405 else if ((flags & O_ACCMODE) == O_RDWR) {
426 else if ((flags & O_ACCMODE) == O_RDWR)
/linux-master/drivers/mtd/nand/raw/
H A Dnandsim.c542 cfile = filp_open(cache_file, O_CREAT | O_RDWR | O_LARGEFILE, 0600);
/linux-master/drivers/misc/
H A Dfastrpc.c1615 exp_info.flags = O_RDWR;
/linux-master/tools/testing/selftests/net/
H A Dtls.c1369 fd = open("/tmp/", O_TMPFILE | O_RDWR, 0600);

Completed in 448 milliseconds

1234567891011