Searched refs:O_RDWR (Results 226 - 250 of 266) sorted by relevance
1234567891011
/linux-master/fs/ntfs3/ |
H A D | file.c | 1148 (file->f_flags & (O_WRONLY | O_RDWR | O_TRUNC))) {
|
/linux-master/fs/nfsd/ |
H A D | nfs4state.c | 508 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 D | vfs.c | 886 flags = O_RDWR|O_LARGEFILE;
|
/linux-master/tools/testing/ktest/ |
H A D | ktest.pl | 1610 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 D | dmxdev.c | 142 * - For duplex device nodes, opened with O_RDWR. 147 else if ((file->f_flags & O_ACCMODE) == O_RDWR) {
|
/linux-master/tools/objtool/ |
H A D | elf.c | 1019 else if ((flags & O_ACCMODE) == O_RDWR)
|
/linux-master/tools/testing/selftests/mm/ |
H A D | cow.c | 1764 gup_fd = open("/sys/kernel/debug/gup_test", O_RDWR);
|
/linux-master/drivers/iommu/iommufd/ |
H A D | selftest.c | 1056 O_RDWR);
|
/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | tc_redirect.c | 1077 fd = open("/dev/net/tun", O_RDWR);
|
/linux-master/fs/ceph/ |
H A D | file.c | 35 case O_RDWR: 187 if (flags & (O_WRONLY|O_RDWR|O_CREAT|O_TRUNC)) 325 flags = O_RDWR;
|
/linux-master/virt/kvm/ |
H A D | kvm_main.c | 4207 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 D | mqueue.c | 888 if ((oflag & O_ACCMODE) == (O_RDWR | O_WRONLY))
|
H A D | shm.c | 1568 f_flags = O_RDWR;
|
/linux-master/drivers/target/ |
H A D | target_core_alua.c | 859 struct file *file = filp_open(path, O_RDWR | O_CREAT | O_TRUNC, 0600);
|
H A D | target_core_pr.c | 1959 int flags = O_RDWR | O_CREAT | O_TRUNC;
|
/linux-master/kernel/ |
H A D | seccomp.c | 1849 filter, O_RDWR);
|
/linux-master/drivers/iio/ |
H A D | industrialio-buffer.c | 1579 ib, O_RDWR | O_CLOEXEC);
|
/linux-master/fs/hugetlbfs/ |
H A D | inode.c | 1641 file = alloc_file_pseudo(inode, mnt, name, O_RDWR,
|
/linux-master/tools/testing/selftests/kvm/lib/ |
H A D | kvm_util.c | 190 vm->kvm_fd = _open_kvm_dev_path_or_exit(O_RDWR);
|
/linux-master/mm/ |
H A D | swapfile.c | 2431 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 D | io_uring.c | 3815 fd = get_unused_fd_flags(O_RDWR | O_CLOEXEC); 3831 O_RDWR | O_CLOEXEC, NULL);
|
/linux-master/drivers/mtd/nand/raw/ |
H A D | nandsim.c | 542 cfile = filp_open(cache_file, O_CREAT | O_RDWR | O_LARGEFILE, 0600);
|
/linux-master/drivers/block/zram/ |
H A D | zram_drv.c | 500 backing_dev = filp_open(file_name, O_RDWR|O_LARGEFILE, 0);
|
/linux-master/drivers/vdpa/vdpa_user/ |
H A D | vduse_dev.c | 914 flags |= O_RDWR;
|
/linux-master/drivers/misc/ |
H A D | fastrpc.c | 1615 exp_info.flags = O_RDWR;
|
Completed in 712 milliseconds
1234567891011