Home
last modified time | relevance | path

Searched refs:O_RDWR (Results 1 – 149 of 149) sorted by relevance

/linux-4.4.14/tools/testing/selftests/kcmp/
Dkcmp_test.c34 fd1 = open(kpath, O_RDWR | O_CREAT | O_TRUNC, 0644); in main()
52 fd2 = open(kpath, O_RDWR, 0644); in main()
/linux-4.4.14/init/
Ddo_mounts_initrd.c40 sys_open("/dev/console", O_RDWR, 0); in init_linuxrc()
101 int fd = sys_open("/dev/root.old", O_RDWR, 0); in handle_initrd()
Ddo_mounts.c493 fd = sys_open("/dev/root", O_RDWR | O_NDELAY, 0); in change_floppy()
499 fd = sys_open("/dev/console", O_RDWR, 0); in change_floppy()
Ddo_mounts_rd.c198 out_fd = sys_open("/dev/ram", O_RDWR, 0); in rd_load_image()
Dmain.c1011 if (sys_open((const char __user *) "/dev/console", O_RDWR, 0) < 0) in kernel_init_freeable()
/linux-4.4.14/fs/ecryptfs/
Dkthread.c78 (O_RDWR | O_LARGEFILE), current_cred()); in ecryptfs_threadfn()
148 flags |= IS_RDONLY(d_inode(lower_dentry)) ? O_RDONLY : O_RDWR; in ecryptfs_privileged_open()
/linux-4.4.14/tools/hv/
Dhv_fcopy_daemon.c87 O_RDWR | O_CREAT | O_TRUNC | O_CLOEXEC, 0744); in hv_start_fcopy()
170 fcopy_fd = open("/dev/vmbus/hv_fcopy", O_RDWR); in main()
Dhv_vss_daemon.c179 vss_fd = open("/dev/vmbus/hv_vss", O_RDWR); in main()
Dhv_kvp_daemon.c252 fd = open(fname, O_RDWR | O_CREAT | O_CLOEXEC, 0644 /* rw-r--r-- */); in kvp_file_init()
1436 kvp_fd = open("/dev/vmbus/hv_kvp", O_RDWR); in main()
/linux-4.4.14/tools/testing/selftests/efivarfs/
Dcreate-read.c25 fd = open(path, O_RDWR | O_CREAT, 0600); in main()
/linux-4.4.14/arch/um/drivers/
Dnull.c27 fd = open(DEV_NULL, O_RDWR); in null_open()
Dtty.c46 mode = O_RDWR; in tty_open()
Dpty.c94 master = open(line, O_RDWR); in getmaster()
Dslip_user.c140 err = open(ptsname(mfd), O_RDWR, 0); in slip_open()
/linux-4.4.14/Documentation/ia64/
Daliasing-test.c33 fd = open(path, O_RDWR); in map_mem()
127 fd = open(path, O_RDWR); in read_rom()
Derr_inject.txt454 fd=open(fn, O_RDWR);
/linux-4.4.14/arch/um/os-Linux/
Dtty.c32 fd = open("/dev/ptmx", O_RDWR); in get_pty()
Dumid.c217 fd = open(file, O_RDWR | O_CREAT | O_EXCL, 0644); in create_pid_file()
Dstart_up.c357 fd = open(file, O_RDWR, 0); in parse_iomem()
Dfile.c178 f = O_RDWR; in os_open_file()
/linux-4.4.14/tools/testing/selftests/vm/
Dhugepage-mmap.c69 fd = open(FILE_NAME, O_CREAT | O_RDWR, 0755); in main()
Dcompaction_test.c91 fd = open("/proc/sys/vm/nr_hugepages", O_RDWR | O_NONBLOCK); in check_compaction()
/linux-4.4.14/net/ceph/
Dceph_fs.c47 case O_RDWR: in ceph_flags_to_mode()
/linux-4.4.14/fs/ncpfs/
Dfile.c54 finfo.access = O_RDWR; in ncp_make_open()
89 if (access == right || access == O_RDWR) { in ncp_make_open()
Dioctl.c543 if ((result = ncp_make_open(inode, O_RDWR)) != 0) in __ncp_ioctl()
Ddir.c938 opmode = O_RDWR; in ncp_create_new()
/linux-4.4.14/tools/testing/selftests/powerpc/dscr/
Ddscr.h108 fd = open(DSCR_DEFAULT, O_RDWR); in set_default_dscr()
Ddscr_sysfs_test.c21 fd = open(file, O_RDWR); in check_cpu_dscr_default()
/linux-4.4.14/tools/testing/selftests/memfd/
Dmemfd_test.c402 O_RDWR | O_CREAT | O_TRUNC, in mfd_assert_shrink()
420 O_RDWR | O_CREAT | O_TRUNC, in mfd_fail_shrink()
813 fd2 = mfd_assert_open(fd, O_RDWR, 0); in test_share_open()
830 fd2 = mfd_assert_open(fd, O_RDWR, 0); in test_share_open()
/linux-4.4.14/Documentation/usb/
Dgadget_printer.txt198 fd[0].fd = open(PRINTER_FILE, O_RDWR);
248 fd[0].fd = open (PRINTER_FILE, O_RDWR);
309 fd = open(PRINTER_FILE, O_RDWR|O_NONBLOCK);
342 fd = open(PRINTER_FILE, O_RDWR);
376 fd = open(PRINTER_FILE, O_RDWR);
Dgadget_hid.txt386 if ((fd = open(filename, O_RDWR, 0666)) == -1) {
/linux-4.4.14/tools/usb/ffs-aio-example/simple/device_app/
Daio_simple.c235 ep0 = open(ep_path, O_RDWR); in main()
250 ep[i] = open(ep_path, O_RDWR); in main()
/linux-4.4.14/Documentation/mic/mpssd/
Dsysfs.c82 fd = open(filename, O_RDWR); in setsysfs()
Dmpssd.c237 fd = open("/dev/net/tun", O_RDWR); in tun_alloc()
761 pty_fd = posix_openpt(O_RDWR); in virtio_console()
930 fd = open(path, O_RDWR); in add_virtio_device()
1020 mic->mic_virtblk.backend = open(mic->mic_virtblk.backend_file, O_RDWR); in open_backend()
/linux-4.4.14/drivers/tty/serial/
Dkgdb_nmi.c280 if (!ret && (mode == O_RDONLY || mode == O_RDWR)) in kgdb_nmi_tty_open()
291 if (mode == O_RDONLY || mode == O_RDWR) in kgdb_nmi_tty_close()
/linux-4.4.14/include/uapi/asm-generic/
Dfcntl.h21 #define O_RDWR 00000002 macro
/linux-4.4.14/tools/usb/ffs-aio-example/multibuff/device_app/
Daio_multibuff.c264 ep0 = open(ep_path, O_RDWR); in main()
278 ep1 = open(ep_path, O_RDWR); in main()
/linux-4.4.14/tools/perf/tests/
Dbp_signal_overflow.c102 fcntl(fd, F_SETFL, O_RDWR|O_NONBLOCK|O_ASYNC); in test__bp_signal_overflow()
Dbp_signal.c90 fcntl(fd, F_SETFL, O_RDWR|O_NONBLOCK|O_ASYNC); in bp_event()
/linux-4.4.14/tools/laptop/freefall/
Dfreefall.c57 int fd = open(path, O_RDWR); in write_int()
/linux-4.4.14/Documentation/pti/
Dpti_intel_mid.txt64 g_fd_source = open(ONE_TTY, O_RDWR); // must be R/W
65 g_fd_sink = open(TWO_TTY, O_RDWR); // must be R/W
/linux-4.4.14/arch/alpha/boot/tools/
Dmkbb.c100 dev = open(argv[1], O_RDWR); in main()
/linux-4.4.14/Documentation/spi/
Dspidev_fdx.c142 fd = open(name, O_RDWR); in main()
Dspidev_test.c262 fd = open(device, O_RDWR); in main()
/linux-4.4.14/arch/powerpc/boot/
Dmktree.c86 if ((out_fd = open(argv[2], (O_RDWR | O_CREAT | O_TRUNC), 0666)) < 0) { in main()
Daddnote.c129 fd = open(av[1], O_RDWR); in main()
/linux-4.4.14/tools/testing/selftests/mqueue/
Dmq_open_tests.c199 int flags = O_RDWR | O_EXCL | O_CREAT; in test_queue()
221 int flags = O_RDWR | O_EXCL | O_CREAT; in test_queue_fail()
Dmq_perf_tests.c289 int flags = O_RDWR | O_EXCL | O_CREAT | O_NONBLOCK; in open_queue()
/linux-4.4.14/fs/hostfs/
Dhostfs_user.c79 mode = O_RDWR; in open_file()
188 fd = open64(name, O_CREAT | O_RDWR, mode); in file_create()
/linux-4.4.14/tools/perf/util/
Ddata.c98 fd = open(file->path, O_CREAT|O_RDWR|O_TRUNC, S_IRUSR|S_IWUSR); in open_file_write()
Drun-command.c14 int fd = open("/dev/null", O_RDWR); in dup_devnull()
Dprobe-file.c83 ret = open(buf, O_RDWR | O_APPEND, 0); in open_probe_events()
Dtrace-event-info.c513 temp_fd = open(tdata->temp_file, O_RDWR); in tracing_data_get()
/linux-4.4.14/samples/hidraw/
Dhid-example.c56 fd = open(device, O_RDWR|O_NONBLOCK); in main()
/linux-4.4.14/arch/powerpc/kvm/
Dbook3s_64_vio.c139 stt, O_RDWR | O_CLOEXEC); in kvm_vm_ioctl_create_spapr_tce()
/linux-4.4.14/tools/testing/selftests/exec/
Dexecveat.c140 int out_fd = open(dest, O_RDWR|O_CREAT|O_TRUNC, 0755); in exe_cp()
372 fd = open("subdir.ephemeral/script", O_RDWR|O_CREAT|O_TRUNC, 0755); in prerequisites()
/linux-4.4.14/tools/testing/selftests/powerpc/mm/
Dsubpage_prot.c183 fd = open(file_name, O_RDWR); in test_file()
/linux-4.4.14/Documentation/filesystems/
Ddlmfs.txt102 O_RDWR Exclusive
108 You must provide exactly one of O_RDONLY or O_RDWR.
Dpath-lookup.txt240 So when vi wants to open("/home/npiggin/test.c", O_RDWR), then it will
/linux-4.4.14/arch/arm/vdso/
Dvdsomunge.c192 outfd = open(outfile, O_RDWR | O_CREAT | O_TRUNC, S_IRUSR | S_IWUSR); in main()
/linux-4.4.14/Documentation/auxdisplay/
Dcfag12864b-example.c67 cfag12864b_fd = open(path, O_RDWR); in cfag12864b_init()
/linux-4.4.14/fs/coda/
Dcoda_linux.c50 if ((flags & O_ACCMODE) == O_RDWR) in coda_flags_to_cflags()
/linux-4.4.14/arch/sparc/boot/
Dpiggyback.c205 if ((image = open(argv[2], O_RDWR)) < 0) in main()
/linux-4.4.14/tools/power/x86/x86_energy_perf_policy/
Dx86_energy_perf_policy.c220 fd = open(msr_path, O_RDWR); in put_msr()
/linux-4.4.14/arch/mips/vdso/
Dgenvdso.c119 fd = open(path, O_RDWR); in map_vdso()
/linux-4.4.14/drivers/gpu/drm/sti/
Dsti_drv.c188 flags |= O_RDWR; in sti_gem_prime_export()
/linux-4.4.14/fs/9p/
Dfid.c298 err = p9_client_open(fid, O_RDWR); in v9fs_writeback_fid()
Dvfs_inode.c190 case O_RDWR: in v9fs_uflags2omode()
/linux-4.4.14/samples/uhid/
Duhid-example.c415 fd = open(path, O_RDWR | O_CLOEXEC); in main()
/linux-4.4.14/scripts/
Dsortextable.c93 fd_map = open(fname, O_RDWR); in mmap_file()
/linux-4.4.14/kernel/bpf/
Dsyscall.c123 O_RDWR | O_CLOEXEC); in bpf_map_new_fd()
575 O_RDWR | O_CLOEXEC); in bpf_prog_new_fd()
/linux-4.4.14/drivers/nvdimm/
Dbus.c608 read_only = (O_RDWR != (file->f_flags & O_ACCMODE)); in nd_ioctl()
639 read_only = (O_RDWR != (file->f_flags & O_ACCMODE)); in nvdimm_ioctl()
/linux-4.4.14/Documentation/serial/
Dserial-rs485.txt53 int fd = open ("/dev/mydevice", O_RDWR);
Dn_gsm.txt32 fd = open(SERIAL_PORT, O_RDWR | O_NOCTTY | O_NDELAY);
/linux-4.4.14/drivers/usb/gadget/function/
Du_uac1.c218 snd->filp = filp_open(fn_cntl, O_RDWR, 0); in gaudio_open_snd_dev()
Dstorage_common.c199 filp = filp_open(filename, O_RDWR | O_LARGEFILE, 0); in fsg_lun_open()
/linux-4.4.14/drivers/target/
Dtarget_core_file.c117 flags = O_RDWR | O_CREAT | O_LARGEFILE | O_DSYNC; in fd_configure_device()
724 int ret, flags = O_RDWR | O_CREAT | O_LARGEFILE | O_DSYNC; in fd_init_prot()
Dtarget_core_alua.c893 struct file *file = filp_open(path, O_RDWR | O_CREAT | O_TRUNC, 0600); in core_alua_write_tpg_metadata()
Dtarget_core_pr.c1982 int flags = O_RDWR | O_CREAT | O_TRUNC; in __core_scsi3_write_aptpl_to_file()
/linux-4.4.14/sound/core/
Dinfo.c263 if (((mode == O_RDONLY || mode == O_RDWR) && !entry->c.ops->read) || in snd_info_entry_open()
264 ((mode == O_WRONLY || mode == O_RDWR) && !entry->c.ops->write)) { in snd_info_entry_open()
/linux-4.4.14/Documentation/networking/
Dtuntap.txt80 if( (fd = open("/dev/net/tun", O_RDWR)) < 0 )
143 if ((fd = open("/dev/net/tun", O_RDWR)) < 0)
Dcdc_mbim.txt137 int fd = open("/dev/cdc-wdm0", O_RDWR);
/linux-4.4.14/tools/virtio/
Dvirtio_test.c121 dev->control = open("/dev/vhost-test", O_RDWR); in vdev_info_init()
Dvringh_test.c148 fd = open("/tmp/vringh_test-file", O_RDWR|O_CREAT|O_TRUNC, 0600); in parallel_test()
/linux-4.4.14/drivers/misc/cxl/
Dapi.c260 flags = O_RDWR | O_CLOEXEC; in cxl_get_fd()
/linux-4.4.14/fs/
Dsignalfd.c286 O_RDWR | (flags & (O_CLOEXEC | O_NONBLOCK))); in SYSCALL_DEFINE4()
Deventfd.c413 O_RDWR | (flags & EFD_SHARED_FCNTL_FLAGS)); in eventfd_file_create()
Dtimerfd.c411 O_RDWR | (flags & TFD_SHARED_FCNTL_FLAGS)); in SYSCALL_DEFINE2()
Deventpoll.c1785 fd = get_unused_fd_flags(O_RDWR | (flags & O_CLOEXEC)); in SYSCALL_DEFINE1()
1791 O_RDWR | (flags & O_CLOEXEC)); in SYSCALL_DEFINE1()
Dcoredump.c633 int open_flags = O_CREAT | O_RDWR | O_NOFOLLOW | in do_coredump()
Dfcntl.c744 O_RDONLY | O_WRONLY | O_RDWR | in fcntl_init()
Duserfaultfd.c1295 O_RDWR | (flags & UFFD_SHARED_FCNTL_FLAGS)); in userfaultfd_file_create()
Daio.c232 file->f_flags = O_RDWR; in aio_private_file()
Dnamei.c3065 if (op->open_flag & (O_CREAT | O_TRUNC | O_WRONLY | O_RDWR)) { in do_last()
/linux-4.4.14/Documentation/ABI/stable/
Dfirewire-cdev58 Currently the only useful flags are O_RDWR.
/linux-4.4.14/kernel/power/
Duser.c62 if ((filp->f_flags & O_ACCMODE) == O_RDWR) { in snapshot_open()
/linux-4.4.14/Documentation/ptp/
Dtestptp.c258 fd = open(device, O_RDWR); in main()
/linux-4.4.14/tools/usb/
Dtestusb.c310 if ((fd = open (dev->name, O_RDWR)) < 0) { in handle_testdev()
Dffs-test.c336 t->fd = open(t->filename, O_RDWR); in init_thread()
/linux-4.4.14/fs/notify/fanotify/
Dfanotify_user.c715 case O_RDWR: in SYSCALL_DEFINE2()
728 f_flags = O_RDWR | FMODE_NONOTIFY; in SYSCALL_DEFINE2()
/linux-4.4.14/arch/xtensa/platforms/iss/
Dsimdisk.c168 dev->fd = simc_open(filename, O_RDWR, 0); in simdisk_attach()
/linux-4.4.14/Documentation/misc-devices/mei/
Dmei-amt-version.c120 me->fd = open("/dev/mei", O_RDWR); in mei_init()
/linux-4.4.14/Documentation/i2c/
Dfunctionality135 if (file = open("/dev/i2c-0", O_RDWR) < 0) {
Ddev-interface40 file = open(filename, O_RDWR);
/linux-4.4.14/Documentation/sound/oss/
DMultiSound491 X if ((fd = open(argv[1], O_RDWR)) < 0) {
1104 X if ((fd = open(argv[1], O_RDWR)) < 0) {
DOpti191 fd = open("/dev/mixer", O_RDWR);
/linux-4.4.14/drivers/scsi/osd/
Dosd_uld.c235 file = filp_open(name, O_RDWR, 0); in osduld_path_lookup()
/linux-4.4.14/fs/ocfs2/dlmfs/
Ddlmfs.c120 if (open_flags & (O_WRONLY|O_RDWR)) in dlmfs_decode_open_flags()
/linux-4.4.14/Documentation/video4linux/
Dsi4713.txt139 int fd = open("/dev/radio0", O_RDWR);
/linux-4.4.14/drivers/scsi/aic7xxx/aicasm/
Daicasm_symbol.c135 O_CREAT | O_NONBLOCK | O_RDWR, /*mode*/0, DB_HASH, in symtable_open()
/linux-4.4.14/scripts/mod/
Dsumversion.c460 fd = open(filename, O_RDWR); in write_version()
/linux-4.4.14/drivers/gpu/drm/armada/
Darmada_gem.c546 exp_info.flags = O_RDWR; in armada_gem_prime_export()
/linux-4.4.14/Documentation/filesystems/pohmelfs/
Dnetwork_protocol.txt136 @ext - open flags (O_RDWR and so on).
/linux-4.4.14/Documentation/input/
Dff.txt132 fd = open("/dev/input/eventXX", O_RDWR);
/linux-4.4.14/tools/lguest/
Dlguest.c623 lguest_fd = open_or_die("/dev/lguest", O_RDWR); in tell_kernel()
2800 netfd = open_or_die("/dev/net/tun", O_RDWR); in get_tun_device()
3049 vblk->fd = open_or_die(filename, O_RDWR|O_LARGEFILE); in setup_block_file()
/linux-4.4.14/drivers/staging/comedi/drivers/
Dserial2002.c557 devpriv->tty = filp_open(port, O_RDWR, 0); in serial2002_open()
/linux-4.4.14/tools/firewire/
Dnosy-dump.c944 fd = open(option_nosy_device, O_RDWR); in main()
/linux-4.4.14/fs/cifs/
Ddir.c536 unsigned oflags = O_EXCL | O_CREAT | O_RDWR; in cifs_create()
Dfile.c53 else if ((flags & O_ACCMODE) == O_RDWR) { in cifs_convert_flags()
73 else if ((flags & O_ACCMODE) == O_RDWR) in cifs_posix_convert_flags()
/linux-4.4.14/fs/cachefiles/
Drdwr.c915 file = dentry_open(&path, O_RDWR | O_LARGEFILE, cache->cache_cred); in cachefiles_write_page()
/linux-4.4.14/drivers/s390/char/
Dvmur.c700 if (accmode == O_RDWR) in ur_open()
/linux-4.4.14/Documentation/
Dvfio.txt175 container = open("/dev/vfio/vfio", O_RDWR);
184 group = open("/dev/vfio/26", O_RDWR);
/linux-4.4.14/Documentation/sound/alsa/
DOSS-Emulation.txt287 io_handle = open("device", O_RDWR)
/linux-4.4.14/drivers/staging/lustre/lustre/libcfs/
Dtracefile.c988 O_CREAT | O_RDWR | O_LARGEFILE, in tracefiled()
/linux-4.4.14/virt/kvm/
Dkvm_main.c2255 return anon_inode_getfd("kvm-vcpu", &kvm_vcpu_fops, vcpu, O_RDWR | O_CLOEXEC); in create_vcpu_fd()
2705 ret = anon_inode_getfd(ops->name, &kvm_device_fops, dev, O_RDWR | O_CLOEXEC); in kvm_ioctl_create_device()
2980 r = anon_inode_getfd("kvm-vm", &kvm_vm_fops, kvm, O_RDWR | O_CLOEXEC); in kvm_dev_ioctl_create_vm()
/linux-4.4.14/tools/testing/ktest/
Dktest.pl1424 sysopen($ptm, "/dev/ptmx", O_RDWR | O_NONBLOCK) or
1437 sysopen($pts, "/dev/pts/$tmp", O_RDWR | O_NONBLOCK) or
/linux-4.4.14/Documentation/target/
Dtcmu-design.txt298 dev_fd = open("/dev/uio0", O_RDWR);
/linux-4.4.14/mm/
Dswapfile.c1866 victim = file_open_name(pathname, O_RDWR|O_LARGEFILE, 0); in SYSCALL_DEFINE1()
2422 swap_file = file_open_name(name, O_RDWR|O_LARGEFILE, 0); in SYSCALL_DEFINE2()
Dshmem.c2971 file->f_flags |= O_RDWR | O_LARGEFILE; in SYSCALL_DEFINE2()
/linux-4.4.14/arch/cris/arch-v10/drivers/
DKconfig513 fd = open("/dev/gpioa", O_RDWR); // or /dev/gpiob
/linux-4.4.14/kernel/
Dsysctl_binary.c1313 flags = O_RDWR; in binary_sysctl()
/linux-4.4.14/drivers/media/dvb-core/
Ddmxdev.c139 if ((file->f_flags & O_ACCMODE) == O_RDWR) { in dvb_dvr_open()
/linux-4.4.14/drivers/vfio/
Dvfio.c1266 device, O_RDWR); in vfio_group_get_device_fd()
/linux-4.4.14/fs/nfsd/
Dnfs4state.c308 ret = __nfs4_get_fd(f, O_RDWR); in find_writeable_file_locked()
332 ret = __nfs4_get_fd(f, O_RDWR); in find_readable_file_locked()
354 ret = __nfs4_get_fd(f, O_RDWR); in find_any_file()
457 swap(f2, fp->fi_fds[O_RDWR]); in __nfs4_file_put_access()
1009 return O_RDWR; in nfs4_access_to_omode()
Dvfs.c693 flags = O_RDWR|O_LARGEFILE; in nfsd_open()
/linux-4.4.14/ipc/
Dmqueue.c763 if ((oflag & O_ACCMODE) == (O_RDWR | O_WRONLY)) in do_open()
/linux-4.4.14/fs/ceph/
Dfile.c119 if (flags & (O_WRONLY|O_RDWR|O_CREAT|O_TRUNC)) in prepare_open_request()
/linux-4.4.14/drivers/staging/android/ion/
Dion.c1126 exp_info.flags = O_RDWR; in ion_share_dma_buf()
/linux-4.4.14/drivers/staging/rdma/hfi1/
Ddiag.c670 } else if ((fp->f_flags & O_ACCMODE) == O_RDWR) { in hfi1_snoop_open()
/linux-4.4.14/drivers/ide/
Dide-tape.c1521 (filp->f_flags & O_ACCMODE) == O_RDWR) { in idetape_chrdev_open()
/linux-4.4.14/drivers/mtd/nand/
Dnandsim.c578 cfile = filp_open(cache_file, O_CREAT | O_RDWR | O_LARGEFILE, 0600); in alloc_device()
/linux-4.4.14/drivers/scsi/
Dsg.c853 read_only = (O_RDWR != (filp->f_flags & O_ACCMODE)); in sg_ioctl()
Dst.c1202 (st_flags & O_ACCMODE) == O_RDWR)) { in check_tape()
Dosst.c4765 if ((flags & O_ACCMODE) == O_WRONLY || (flags & O_ACCMODE) == O_RDWR) { in __os_scsi_tape_open()
/linux-4.4.14/net/
Dsocket.c385 file->f_flags = O_RDWR | (flags & O_NONBLOCK); in sock_alloc_file()
/linux-4.4.14/drivers/staging/lustre/lustre/llite/
Dfile.c416 O_RDWR, opc, NULL); in ll_intent_file_open()
/linux-4.4.14/security/selinux/
Dhooks.c2382 devnull = dentry_open(&selinux_null, O_RDWR, cred); in flush_unauthorized_files()
/linux-4.4.14/fs/btrfs/
Dvolumes.c1641 filp = filp_open(path_name, O_RDWR, 0); in update_dev_time()
/linux-4.4.14/kernel/events/
Dcore.c8255 int f_flags = O_RDWR; in SYSCALL_DEFINE5()