O_RDWR 153 fs/9p/vfs_inode.c case O_RDWR: O_RDWR 508 fs/9p/vfs_inode.c flags = O_RDWR; O_RDWR 119 fs/anon_inodes.c file->f_flags = O_RDWR | (flags & O_NONBLOCK); O_RDWR 847 fs/block_dev.c int flags = mode & FMODE_WRITE ? O_RDWR : O_RDONLY; O_RDWR 71 fs/cifs/file.c else if ((flags & O_ACCMODE) == O_RDWR) { O_RDWR 1046 fs/cifs/file.c if (open_file->pfile && ((open_file->pfile->f_flags & O_RDWR) || O_RDWR 1089 fs/cifs/file.c ((open_file->pfile->f_flags & O_RDWR) || O_RDWR 2009 fs/cifs/file.c ((open_file->pfile->f_flags & O_RDWR) || O_RDWR 57 fs/coda/coda_linux.c if ((flags & O_ACCMODE) == O_RDWR) O_RDWR 168 fs/ecryptfs/file.c && ((file->f_flags & O_WRONLY) || (file->f_flags & O_RDWR) O_RDWR 76 fs/ecryptfs/kthread.c (O_RDWR | O_LARGEFILE)); O_RDWR 146 fs/ecryptfs/kthread.c (O_RDWR | O_LARGEFILE)); O_RDWR 122 fs/hostfs/hostfs_user.c mode = O_RDWR; O_RDWR 230 fs/hostfs/hostfs_user.c fd = open64(name, O_CREAT | O_RDWR, mode); O_RDWR 419 fs/hppfs/hppfs.c return O_RDWR; O_RDWR 912 fs/ncpfs/dir.c opmode = O_RDWR; O_RDWR 56 fs/ncpfs/file.c finfo.access = O_RDWR; O_RDWR 91 fs/ncpfs/file.c if (access == right || access == O_RDWR) { O_RDWR 544 fs/ncpfs/ioctl.c if ((result = ncp_make_open(inode, O_RDWR)) != 0) O_RDWR 38 fs/nfsctl.c if (flags == O_RDWR) O_RDWR 102 fs/nfsctl.c file = do_open(map[cmd].name, map[cmd].rsize ? O_RDWR : O_WRONLY); O_RDWR 717 fs/nfsd/vfs.c flags = O_RDWR|O_LARGEFILE; O_RDWR 97 fs/ocfs2/dlm/dlmfs.c if (open_flags & (O_WRONLY|O_RDWR)) O_RDWR 1114 fs/smbfs/proc.c if (!(wish & (O_WRONLY | O_RDWR))) O_RDWR 311 init/do_mounts.c fd = sys_open("/dev/root", O_RDWR | O_NDELAY, 0); O_RDWR 317 init/do_mounts.c fd = sys_open("/dev/console", O_RDWR, 0); O_RDWR 35 init/do_mounts_initrd.c (void) sys_open("/dev/console",O_RDWR,0); O_RDWR 93 init/do_mounts_initrd.c int fd = sys_open("/dev/root.old", O_RDWR, 0); O_RDWR 150 init/do_mounts_rd.c out_fd = sys_open("/dev/ram", O_RDWR, 0); O_RDWR 803 init/main.c if (sys_open((const char __user *) "/dev/console", O_RDWR, 0) < 0) O_RDWR 635 ipc/mqueue.c if ((oflag & O_ACCMODE) == (O_RDWR | O_WRONLY)) { O_RDWR 175 kernel/power/swap.c res = blkdev_get(resume_bdev, FMODE_WRITE, O_RDWR); O_RDWR 80 kernel/power/user.c if ((filp->f_flags & O_ACCMODE) == O_RDWR) { O_RDWR 1226 mm/swapfile.c victim = filp_open(pathname, O_RDWR|O_LARGEFILE, 0); O_RDWR 1498 mm/swapfile.c swap_file = filp_open(name, O_RDWR|O_LARGEFILE, 0); O_RDWR 394 net/socket.c file->f_flags = O_RDWR | (flags & O_NONBLOCK); O_RDWR 437 scripts/mod/sumversion.c fd = open(filename, O_RDWR); O_RDWR 2185 security/selinux/hooks.c devnull = dentry_open(dget(selinux_null), mntget(selinuxfs_mount), O_RDWR); O_RDWR 322 sound/core/info.c if (mode == O_RDONLY || mode == O_RDWR) { O_RDWR 329 sound/core/info.c if (mode == O_WRONLY || mode == O_RDWR) { O_RDWR 344 sound/core/info.c if (mode == O_RDONLY || mode == O_RDWR) { O_RDWR 354 sound/core/info.c if (mode == O_WRONLY || mode == O_RDWR) { O_RDWR 378 sound/core/info.c (mode == O_RDONLY || mode == O_RDWR)) {