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

1234567891011

/linux-master/fs/ntfs3/
H A Dfile.c1148 (file->f_flags & (O_WRONLY | O_RDWR | O_TRUNC))) {
/linux-master/fs/nfsd/
H A Dnfs4state.c508 return O_RDWR;
613 ret = nfsd_file_get(f->fi_fds[O_RDWR]);
638 ret = nfsd_file_get(f->fi_fds[O_RDWR]);
660 ret = nfsd_file_get(f->fi_fds[O_RDWR]);
674 ret = nfsd_file_get(f->fi_fds[O_RDWR]);
688 if (f->fi_fds[O_RDWR])
689 return f->fi_fds[O_RDWR];
840 swap(f2, fp->fi_fds[O_RDWR]);
5661 if (fp->fi_fds[O_RDWR])
5764 * operations as well, so we require a O_RDWR fil
[all...]
H A Dvfs.c886 flags = O_RDWR|O_LARGEFILE;
/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/tools/testing/selftests/mm/
H A Dcow.c1764 gup_fd = open("/sys/kernel/debug/gup_test", 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/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.c4207 return anon_inode_getfd(name, &kvm_vcpu_fops, vcpu, O_RDWR | O_CLOEXEC);
4817 ret = anon_inode_getfd(ops->name, &kvm_device_fops, dev, O_RDWR | O_CLOEXEC);
5465 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.c1568 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/kernel/
H A Dseccomp.c1849 filter, O_RDWR);
/linux-master/drivers/iio/
H A Dindustrialio-buffer.c1579 ib, O_RDWR | O_CLOEXEC);
/linux-master/fs/hugetlbfs/
H A Dinode.c1641 file = alloc_file_pseudo(inode, mnt, name, O_RDWR,
/linux-master/tools/testing/selftests/kvm/lib/
H A Dkvm_util.c190 vm->kvm_fd = _open_kvm_dev_path_or_exit(O_RDWR);
/linux-master/mm/
H A Dswapfile.c2431 victim = file_open_name(pathname, O_RDWR|O_LARGEFILE, 0);
3040 swap_file = file_open_name(name, O_RDWR|O_LARGEFILE, 0);
/linux-master/io_uring/
H A Dio_uring.c3815 fd = get_unused_fd_flags(O_RDWR | O_CLOEXEC);
3831 O_RDWR | O_CLOEXEC, NULL);
/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/block/zram/
H A Dzram_drv.c500 backing_dev = filp_open(file_name, O_RDWR|O_LARGEFILE, 0);
/linux-master/drivers/vdpa/vdpa_user/
H A Dvduse_dev.c914 flags |= O_RDWR;
/linux-master/drivers/misc/
H A Dfastrpc.c1615 exp_info.flags = O_RDWR;

Completed in 712 milliseconds

1234567891011