FMODE_WRITE 1572 arch/x86/kernel/apm_32.c as->writer = (filp->f_mode & FMODE_WRITE) == FMODE_WRITE; FMODE_WRITE 669 block/bsg.c file->f_mode & FMODE_WRITE); FMODE_WRITE 926 block/bsg.c rq = bsg_map_hdr(bd, &hdr, file->f_mode & FMODE_WRITE); FMODE_WRITE 330 block/ioctl.c if (!(file->f_mode & FMODE_WRITE)) FMODE_WRITE 198 block/scsi_ioctl.c file->f_mode & FMODE_WRITE)) FMODE_WRITE 430 block/scsi_ioctl.c if (file && (file->f_mode & FMODE_WRITE)) FMODE_WRITE 1466 fs/aio.c if (unlikely(!(file->f_mode & FMODE_WRITE))) FMODE_WRITE 1498 fs/aio.c if (unlikely(!(file->f_mode & FMODE_WRITE))) FMODE_WRITE 113 fs/anon_inodes.c FMODE_READ | FMODE_WRITE, fops); FMODE_WRITE 847 fs/block_dev.c int flags = mode & FMODE_WRITE ? O_RDWR : O_RDONLY; FMODE_WRITE 999 fs/block_dev.c if (file->f_mode & FMODE_WRITE) FMODE_WRITE 1326 fs/block_dev.c mode |= FMODE_WRITE; FMODE_WRITE 171 fs/cifs/dir.c if (oflags & FMODE_WRITE) { FMODE_WRITE 1170 fs/compat.c if (!(file->f_mode & FMODE_WRITE)) FMODE_WRITE 239 fs/configfs/file.c if (file->f_mode & FMODE_WRITE) { FMODE_WRITE 33 fs/ext2/file.c if (filp->f_mode & FMODE_WRITE) { FMODE_WRITE 37 fs/ext3/file.c if ((filp->f_mode & FMODE_WRITE) && FMODE_WRITE 333 fs/ext3/super.c bdev = open_by_devnum(dev, FMODE_READ|FMODE_WRITE); FMODE_WRITE 37 fs/ext4/file.c if ((filp->f_mode & FMODE_WRITE) && FMODE_WRITE 445 fs/ext4/super.c bdev = open_by_devnum(dev, FMODE_READ|FMODE_WRITE); FMODE_WRITE 133 fs/fat/file.c if ((filp->f_mode & FMODE_WRITE) && FMODE_WRITE 51 fs/fifo.c filp->f_mode &= (FMODE_READ | FMODE_WRITE); FMODE_WRITE 211 fs/file_table.c if ((mode & FMODE_WRITE) && !special_file(dentry->d_inode->i_mode)) { FMODE_WRITE 280 fs/file_table.c if (file->f_mode & FMODE_WRITE) FMODE_WRITE 383 fs/file_table.c if (S_ISREG(inode->i_mode) && (file->f_mode & FMODE_WRITE)) FMODE_WRITE 378 fs/hostfs/hostfs_kern.c mode = file->f_mode & (FMODE_READ | FMODE_WRITE); FMODE_WRITE 394 fs/hostfs/hostfs_kern.c if (HOSTFS_I(ino)->mode & FMODE_WRITE) FMODE_WRITE 630 fs/hostfs/hostfs_kern.c HOSTFS_I(inode)->mode = FMODE_READ | FMODE_WRITE; FMODE_WRITE 418 fs/hppfs/hppfs.c if (fmode == (FMODE_READ | FMODE_WRITE)) FMODE_WRITE 422 fs/hppfs/hppfs.c if (fmode == FMODE_WRITE) FMODE_WRITE 989 fs/hugetlbfs/inode.c FMODE_WRITE | FMODE_READ, FMODE_WRITE 62 fs/jfs/file.c if (S_ISREG(inode->i_mode) && file->f_mode & FMODE_WRITE && FMODE_WRITE 1124 fs/jfs/jfs_logmgr.c bdev = open_by_devnum(sbi->logdev, FMODE_READ|FMODE_WRITE); FMODE_WRITE 1185 fs/locks.c new_fl = lease_alloc(NULL, mode & FMODE_WRITE ? F_WRLCK : F_RDLCK); FMODE_WRITE 1199 fs/locks.c if (mode & FMODE_WRITE) { FMODE_WRITE 1812 fs/locks.c if (!(filp->f_mode & FMODE_WRITE)) FMODE_WRITE 1930 fs/locks.c if (!(filp->f_mode & FMODE_WRITE)) FMODE_WRITE 1561 fs/namei.c if ((flag & FMODE_WRITE) && !(flag & O_APPEND)) FMODE_WRITE 1599 fs/namei.c if (flag & FMODE_WRITE) FMODE_WRITE 41 fs/nfs/callback_proc.c if (delegation == NULL || (delegation->type & FMODE_WRITE) == 0) FMODE_WRITE 53 fs/nfs/delegation.h flags &= FMODE_READ|FMODE_WRITE; FMODE_WRITE 977 fs/nfs/dir.c (nd->intent.open.flags & (O_CREAT|O_TRUNC|FMODE_WRITE))) FMODE_WRITE 1898 fs/nfs/dir.c if (openflags & FMODE_WRITE) FMODE_WRITE 145 fs/nfs/file.c if (filp->f_mode & FMODE_WRITE) FMODE_WRITE 241 fs/nfs/file.c if ((file->f_mode & FMODE_WRITE) == 0) FMODE_WRITE 330 fs/nfs/nfs4proc.c switch (mode & (FMODE_READ|FMODE_WRITE|O_EXCL)) { FMODE_WRITE 334 fs/nfs/nfs4proc.c case FMODE_WRITE: FMODE_WRITE 337 fs/nfs/nfs4proc.c case FMODE_READ|FMODE_WRITE: FMODE_WRITE 355 fs/nfs/nfs4proc.c case FMODE_WRITE: FMODE_WRITE 361 fs/nfs/nfs4proc.c case FMODE_READ|FMODE_WRITE: FMODE_WRITE 376 fs/nfs/nfs4proc.c case FMODE_WRITE: FMODE_WRITE 379 fs/nfs/nfs4proc.c case FMODE_READ|FMODE_WRITE: FMODE_WRITE 393 fs/nfs/nfs4proc.c open_flags &= (FMODE_READ|FMODE_WRITE); FMODE_WRITE 430 fs/nfs/nfs4proc.c int open_mode = opendata->o_arg.open_flags & (FMODE_READ|FMODE_WRITE|O_EXCL); FMODE_WRITE 592 fs/nfs/nfs4proc.c ret = nfs4_open_recover_helper(opendata, FMODE_READ|FMODE_WRITE, &newstate); FMODE_WRITE 599 fs/nfs/nfs4proc.c ret = nfs4_open_recover_helper(opendata, FMODE_WRITE, &newstate); FMODE_WRITE 811 fs/nfs/nfs4proc.c if (can_open_cached(data->state, data->o_arg.open_flags & (FMODE_READ|FMODE_WRITE|O_EXCL))) FMODE_WRITE 1053 fs/nfs/nfs4proc.c nfs4_return_incompatible_delegation(path->dentry->d_inode, flags & (FMODE_READ|FMODE_WRITE)); FMODE_WRITE 1278 fs/nfs/nfs4proc.c calldata->arg.open_flags = FMODE_WRITE; FMODE_WRITE 369 fs/nfs/nfs4state.c if ((mode & FMODE_WRITE) != (state->state & FMODE_WRITE)) { FMODE_WRITE 370 fs/nfs/nfs4state.c if (mode & FMODE_WRITE) FMODE_WRITE 468 fs/nfs/nfs4state.c switch (mode & (FMODE_READ | FMODE_WRITE)) { FMODE_WRITE 472 fs/nfs/nfs4state.c case FMODE_WRITE: FMODE_WRITE 475 fs/nfs/nfs4state.c case FMODE_READ|FMODE_WRITE: FMODE_WRITE 478 fs/nfs/nfs4state.c newstate = FMODE_READ|FMODE_WRITE; FMODE_WRITE 486 fs/nfs/nfs4state.c newstate &= ~FMODE_WRITE; FMODE_WRITE 961 fs/nfs/nfs4xdr.c switch (open_flags & (FMODE_READ|FMODE_WRITE)) { FMODE_WRITE 965 fs/nfs/nfs4xdr.c case FMODE_WRITE: FMODE_WRITE 968 fs/nfs/nfs4xdr.c case FMODE_READ|FMODE_WRITE: FMODE_WRITE 1039 fs/nfs/nfs4xdr.c case FMODE_WRITE|FMODE_READ: FMODE_WRITE 3383 fs/nfs/nfs4xdr.c res->delegation_type = FMODE_WRITE|FMODE_READ; FMODE_WRITE 351 fs/nfs/write.c if (nfs_have_delegation(inode, FMODE_WRITE)) FMODE_WRITE 39 fs/nfsctl.c error = may_open(&nd,MAY_READ|MAY_WRITE,FMODE_READ|FMODE_WRITE); FMODE_WRITE 41 fs/nfsctl.c error = may_open(&nd, MAY_WRITE, FMODE_WRITE); FMODE_WRITE 1261 fs/nfsd/nfs4state.c filp->f_mode = (filp->f_mode | FMODE_READ) & ~FMODE_WRITE; FMODE_WRITE 343 fs/nfsd/vfs.c host_err = break_lease(inode, FMODE_WRITE | O_NONBLOCK); FMODE_WRITE 709 fs/nfsd/vfs.c host_err = break_lease(inode, O_NONBLOCK | ((access & NFSD_MAY_WRITE) ? FMODE_WRITE : 0)); FMODE_WRITE 1271 fs/ocfs2/cluster/heartbeat.c ret = blkdev_get(reg->hr_bdev, FMODE_WRITE | FMODE_READ, 0); FMODE_WRITE 1638 fs/ocfs2/file.c if (!(file->f_mode & FMODE_WRITE)) FMODE_WRITE 270 fs/open.c error = break_lease(inode, FMODE_WRITE); FMODE_WRITE 318 fs/open.c if (!S_ISREG(inode->i_mode) || !(file->f_mode & FMODE_WRITE)) FMODE_WRITE 381 fs/open.c if (!(file->f_mode & FMODE_WRITE)) FMODE_WRITE 804 fs/open.c if (f->f_mode & FMODE_WRITE) { FMODE_WRITE 849 fs/open.c if (f->f_mode & FMODE_WRITE) { FMODE_WRITE 625 fs/pipe.c if (filp->f_mode & FMODE_WRITE) { FMODE_WRITE 738 fs/pipe.c decw = (filp->f_mode & FMODE_WRITE) != 0; FMODE_WRITE 770 fs/pipe.c if (filp->f_mode & FMODE_WRITE) FMODE_WRITE 946 fs/pipe.c f = alloc_file(pipe_mnt, dentry, FMODE_WRITE, &write_pipefifo_fops); FMODE_WRITE 301 fs/read_write.c if (!(file->f_mode & FMODE_WRITE)) FMODE_WRITE 630 fs/read_write.c if (!(file->f_mode & FMODE_WRITE)) FMODE_WRITE 724 fs/read_write.c if (!(out_file->f_mode & FMODE_WRITE)) FMODE_WRITE 2596 fs/reiserfs/journal.c int blkdev_mode = FMODE_READ | FMODE_WRITE; FMODE_WRITE 898 fs/splice.c if (unlikely(!(out->f_mode & FMODE_WRITE))) FMODE_WRITE 1452 fs/splice.c if (file->f_mode & FMODE_WRITE) FMODE_WRITE 1480 fs/splice.c if (out->f_mode & FMODE_WRITE) FMODE_WRITE 1703 fs/splice.c if (out->f_mode & FMODE_WRITE) FMODE_WRITE 581 fs/super.c if (!(f->f_mode & FMODE_WRITE)) FMODE_WRITE 583 fs/super.c f->f_mode &= ~FMODE_WRITE; FMODE_WRITE 185 fs/sysfs/bin.c if ((file->f_mode & FMODE_WRITE) && !(attr->write || attr->mmap)) FMODE_WRITE 349 fs/sysfs/file.c if (file->f_mode & FMODE_WRITE) { FMODE_WRITE 195 fs/udf/file.c if (filp->f_mode & FMODE_WRITE) { FMODE_WRITE 293 fs/xfs/linux-2.6/xfs_ioctl.c (permflag & FMODE_WRITE) && IS_APPEND(inode)) { FMODE_WRITE 298 fs/xfs/linux-2.6/xfs_ioctl.c if ((permflag & FMODE_WRITE) && IS_IMMUTABLE(inode)) { FMODE_WRITE 304 fs/xfs/linux-2.6/xfs_ioctl.c if ( S_ISDIR(inode->i_mode) && (permflag & FMODE_WRITE)) { FMODE_WRITE 681 fs/xfs/linux-2.6/xfs_ioctl.c if (!(filp->f_mode & FMODE_WRITE)) FMODE_WRITE 77 fs/xfs/xfs_dfrag.c if (!(file->f_mode & FMODE_WRITE) || (file->f_flags & O_APPEND)) { FMODE_WRITE 88 fs/xfs/xfs_dfrag.c if (!(target_file->f_mode & FMODE_WRITE) || FMODE_WRITE 192 include/linux/fsnotify.h u32 mask = (mode & FMODE_WRITE) ? IN_CLOSE_WRITE : IN_CLOSE_NOWRITE; FMODE_WRITE 844 ipc/mqueue.c if (unlikely(!(filp->f_mode & FMODE_WRITE))) FMODE_WRITE 846 ipc/shm.c f_mode = FMODE_READ | FMODE_WRITE; FMODE_WRITE 175 kernel/power/swap.c res = blkdev_get(resume_bdev, FMODE_WRITE, O_RDWR); FMODE_WRITE 1073 kernel/trace/ftrace.c if ((file->f_mode & FMODE_WRITE) && FMODE_WRITE 991 mm/mmap.c if ((prot&PROT_WRITE) && !(file->f_mode&FMODE_WRITE)) FMODE_WRITE 998 mm/mmap.c if (IS_APPEND(inode) && (file->f_mode & FMODE_WRITE)) FMODE_WRITE 1008 mm/mmap.c if (!(file->f_mode & FMODE_WRITE)) FMODE_WRITE 656 mm/nommu.c !(file->f_mode & FMODE_WRITE)) FMODE_WRITE 660 mm/nommu.c (file->f_mode & FMODE_WRITE)) FMODE_WRITE 2571 mm/shmem.c init_file(file, shm_mnt, dentry, FMODE_WRITE | FMODE_READ, FMODE_WRITE 81 mm/tiny-shmem.c init_file(file, shm_mnt, dentry, FMODE_WRITE | FMODE_READ, FMODE_WRITE 391 net/socket.c init_file(file, sock_mnt, dentry, FMODE_READ | FMODE_WRITE, FMODE_WRITE 178 net/sunrpc/rpc_pipe.c if (filp->f_mode & FMODE_WRITE) FMODE_WRITE 203 net/sunrpc/rpc_pipe.c if (filp->f_mode & FMODE_WRITE) FMODE_WRITE 1725 security/selinux/hooks.c if (file->f_mode & FMODE_WRITE) { FMODE_WRITE 965 security/smack/smack_lsm.c if (file->f_mode & FMODE_WRITE) FMODE_WRITE 2295 sound/core/oss/pcm_oss.c if ((f_mode & (FMODE_WRITE|FMODE_READ)) == (FMODE_WRITE|FMODE_READ) && FMODE_WRITE 2297 sound/core/oss/pcm_oss.c f_mode = FMODE_WRITE; FMODE_WRITE 2306 sound/core/oss/pcm_oss.c if (! (f_mode & FMODE_WRITE)) FMODE_WRITE 2375 sound/core/oss/pcm_oss.c if (file->f_mode & FMODE_WRITE) FMODE_WRITE 71 sound/core/rawmidi.c switch (file->f_mode & (FMODE_READ | FMODE_WRITE)) { FMODE_WRITE 72 sound/core/rawmidi.c case FMODE_WRITE: FMODE_WRITE 106 sound/core/seq/seq_clientmgr.c switch (file->f_mode & (FMODE_READ | FMODE_WRITE)) { FMODE_WRITE 107 sound/core/seq/seq_clientmgr.c case FMODE_WRITE: FMODE_WRITE 1217 sound/oss/au1550_ac97.c if (file->f_mode & FMODE_WRITE) { FMODE_WRITE 1234 sound/oss/au1550_ac97.c if (file->f_mode & FMODE_WRITE) { FMODE_WRITE 1352 sound/oss/au1550_ac97.c mapped = ((file->f_mode & FMODE_WRITE) && s->dma_dac.mapped) || FMODE_WRITE 1371 sound/oss/au1550_ac97.c if (file->f_mode & FMODE_WRITE) FMODE_WRITE 1383 sound/oss/au1550_ac97.c if (file->f_mode & FMODE_WRITE) { FMODE_WRITE 1407 sound/oss/au1550_ac97.c if (file->f_mode & FMODE_WRITE) { FMODE_WRITE 1414 sound/oss/au1550_ac97.c if (s->open_mode & FMODE_WRITE) FMODE_WRITE 1432 sound/oss/au1550_ac97.c if (file->f_mode & FMODE_WRITE) { FMODE_WRITE 1462 sound/oss/au1550_ac97.c if (file->f_mode & FMODE_WRITE) { FMODE_WRITE 1540 sound/oss/au1550_ac97.c if (file->f_mode & FMODE_WRITE) { FMODE_WRITE 1569 sound/oss/au1550_ac97.c if (file->f_mode & FMODE_WRITE && !s->dma_dac.stopped) FMODE_WRITE 1585 sound/oss/au1550_ac97.c if (file->f_mode & FMODE_WRITE) { FMODE_WRITE 1596 sound/oss/au1550_ac97.c if (!(file->f_mode & FMODE_WRITE)) FMODE_WRITE 1634 sound/oss/au1550_ac97.c if (!(file->f_mode & FMODE_WRITE)) FMODE_WRITE 1692 sound/oss/au1550_ac97.c if (file->f_mode & FMODE_WRITE) FMODE_WRITE 1713 sound/oss/au1550_ac97.c if (file->f_mode & FMODE_WRITE) { FMODE_WRITE 1730 sound/oss/au1550_ac97.c (file->f_mode & FMODE_WRITE && s->dma_dac.subdivision)) FMODE_WRITE 1742 sound/oss/au1550_ac97.c if (file->f_mode & FMODE_WRITE) { FMODE_WRITE 1825 sound/oss/au1550_ac97.c if (file->f_mode & FMODE_WRITE) { FMODE_WRITE 1839 sound/oss/au1550_ac97.c if (file->f_mode & FMODE_WRITE) { FMODE_WRITE 1844 sound/oss/au1550_ac97.c s->open_mode |= file->f_mode & (FMODE_READ | FMODE_WRITE); FMODE_WRITE 1857 sound/oss/au1550_ac97.c if (file->f_mode & FMODE_WRITE) { FMODE_WRITE 1864 sound/oss/au1550_ac97.c if (file->f_mode & FMODE_WRITE) { FMODE_WRITE 1874 sound/oss/au1550_ac97.c s->open_mode &= ((~file->f_mode) & (FMODE_READ|FMODE_WRITE)); FMODE_WRITE 652 sound/oss/dmasound/dmasound_core.c if (file->f_mode & FMODE_WRITE ) FMODE_WRITE 654 sound/oss/dmasound/dmasound_core.c if (file->f_mode & FMODE_WRITE) FMODE_WRITE 728 sound/oss/dmasound/dmasound_core.c #define write_sq_wake_up(file) sq_wake_up(&write_sq, file, FMODE_WRITE) FMODE_WRITE 732 sound/oss/dmasound/dmasound_core.c sq_open2(&write_sq, file, FMODE_WRITE, numWriteBufs, writeBufSize ) FMODE_WRITE 853 sound/oss/dmasound/dmasound_core.c if (file->f_mode & FMODE_WRITE) { FMODE_WRITE 984 sound/oss/dmasound/dmasound_core.c if (file->f_mode & FMODE_WRITE) { FMODE_WRITE 1006 sound/oss/dmasound/dmasound_core.c if (file->f_mode & FMODE_WRITE) { FMODE_WRITE 1084 sound/oss/dmasound/dmasound_core.c if (file->f_mode & FMODE_WRITE) { FMODE_WRITE 1097 sound/oss/dmasound/dmasound_core.c if (file->f_mode & FMODE_WRITE) { FMODE_WRITE 152 sound/oss/msnd_pinnacle.c if (dev.mode & FMODE_WRITE) { FMODE_WRITE 181 sound/oss/msnd_pinnacle.c if (file->f_mode & FMODE_WRITE) FMODE_WRITE 186 sound/oss/msnd_pinnacle.c if (file->f_mode & FMODE_WRITE) FMODE_WRITE 228 sound/oss/msnd_pinnacle.c if (!(file->f_mode & FMODE_WRITE)) FMODE_WRITE 274 sound/oss/msnd_pinnacle.c if (file->f_mode & FMODE_WRITE) FMODE_WRITE 289 sound/oss/msnd_pinnacle.c file->f_mode & FMODE_WRITE) FMODE_WRITE 314 sound/oss/msnd_pinnacle.c if (file->f_mode & FMODE_WRITE) FMODE_WRITE 319 sound/oss/msnd_pinnacle.c if (file->f_mode & FMODE_WRITE) FMODE_WRITE 357 sound/oss/msnd_pinnacle.c if (file->f_mode & FMODE_WRITE) FMODE_WRITE 362 sound/oss/msnd_pinnacle.c if (file->f_mode & FMODE_WRITE) FMODE_WRITE 661 sound/oss/msnd_pinnacle.c if (!(dev.mode & FMODE_WRITE) || !test_bit(F_WRITING, &dev.flags)) FMODE_WRITE 687 sound/oss/msnd_pinnacle.c if ((file ? file->f_mode : dev.mode) & FMODE_WRITE) { FMODE_WRITE 695 sound/oss/msnd_pinnacle.c dev.mode &= ~FMODE_WRITE; FMODE_WRITE 709 sound/oss/msnd_pinnacle.c if ((file ? file->f_mode : dev.mode) & FMODE_WRITE) { FMODE_WRITE 716 sound/oss/msnd_pinnacle.c dev.mode |= FMODE_WRITE; FMODE_WRITE 760 sound/oss/msnd_pinnacle.c if ((file->f_mode & FMODE_WRITE && FMODE_WRITE 768 sound/oss/msnd_pinnacle.c if (file->f_mode & FMODE_WRITE) { FMODE_WRITE 975 sound/oss/msnd_pinnacle.c if (!test_bit(F_WRITING, &dev.flags) && (dev.mode & FMODE_WRITE)) { FMODE_WRITE 113 sound/oss/sound_config.h #if OPEN_READ == FMODE_READ && OPEN_WRITE == FMODE_WRITE FMODE_WRITE 125 sound/oss/sound_config.h ((file->f_mode & FMODE_WRITE) ? OPEN_WRITE : 0); FMODE_WRITE 734 sound/oss/swarm_cs4297a.c if (s->ena & FMODE_WRITE) { FMODE_WRITE 806 sound/oss/swarm_cs4297a.c s->ena &= ~FMODE_WRITE; FMODE_WRITE 825 sound/oss/swarm_cs4297a.c if (!(s->ena & FMODE_WRITE) && (s->dma_dac.mapped || FMODE_WRITE 828 sound/oss/swarm_cs4297a.c s->ena |= FMODE_WRITE; FMODE_WRITE 1075 sound/oss/swarm_cs4297a.c if (s->ena & FMODE_WRITE) { FMODE_WRITE 1893 sound/oss/swarm_cs4297a.c if (file->f_mode & FMODE_WRITE) { FMODE_WRITE 1911 sound/oss/swarm_cs4297a.c if (file->f_mode & FMODE_WRITE) { FMODE_WRITE 1967 sound/oss/swarm_cs4297a.c mapped = ((file->f_mode & FMODE_WRITE) && s->dma_dac.mapped) || FMODE_WRITE 1979 sound/oss/swarm_cs4297a.c if (file->f_mode & FMODE_WRITE) FMODE_WRITE 1996 sound/oss/swarm_cs4297a.c if (file->f_mode & FMODE_WRITE) { FMODE_WRITE 2034 sound/oss/swarm_cs4297a.c if (file->f_mode & FMODE_WRITE) { FMODE_WRITE 2056 sound/oss/swarm_cs4297a.c if (file->f_mode & FMODE_WRITE) { FMODE_WRITE 2066 sound/oss/swarm_cs4297a.c if (file->f_mode & FMODE_WRITE) FMODE_WRITE 2098 sound/oss/swarm_cs4297a.c if (file->f_mode & FMODE_WRITE) { FMODE_WRITE 2109 sound/oss/swarm_cs4297a.c if (file->f_mode & FMODE_WRITE) FMODE_WRITE 2128 sound/oss/swarm_cs4297a.c if (file->f_mode & s->ena & FMODE_WRITE) FMODE_WRITE 2144 sound/oss/swarm_cs4297a.c if (file->f_mode & FMODE_WRITE) { FMODE_WRITE 2156 sound/oss/swarm_cs4297a.c if (!(file->f_mode & FMODE_WRITE)) FMODE_WRITE 2207 sound/oss/swarm_cs4297a.c if (!(file->f_mode & FMODE_WRITE)) FMODE_WRITE 2251 sound/oss/swarm_cs4297a.c if (!(file->f_mode & FMODE_WRITE)) FMODE_WRITE 2275 sound/oss/swarm_cs4297a.c if (file->f_mode & FMODE_WRITE) { FMODE_WRITE 2295 sound/oss/swarm_cs4297a.c || (file->f_mode & FMODE_WRITE FMODE_WRITE 2303 sound/oss/swarm_cs4297a.c else if (file->f_mode & FMODE_WRITE) FMODE_WRITE 2310 sound/oss/swarm_cs4297a.c else if (file->f_mode & FMODE_WRITE) FMODE_WRITE 2316 sound/oss/swarm_cs4297a.c else if (file->f_mode & FMODE_WRITE) FMODE_WRITE 2326 sound/oss/swarm_cs4297a.c else if (file->f_mode & FMODE_WRITE) FMODE_WRITE 2352 sound/oss/swarm_cs4297a.c if (file->f_mode & FMODE_WRITE) { FMODE_WRITE 2357 sound/oss/swarm_cs4297a.c s->open_mode &= ~FMODE_WRITE; FMODE_WRITE 2403 sound/oss/swarm_cs4297a.c if (!(file->f_mode & (FMODE_WRITE | FMODE_READ))) { FMODE_WRITE 2408 sound/oss/swarm_cs4297a.c if (file->f_mode & FMODE_WRITE) { FMODE_WRITE 2416 sound/oss/swarm_cs4297a.c while (s->open_mode & FMODE_WRITE) { FMODE_WRITE 2448 sound/oss/swarm_cs4297a.c s->open_mode |= file->f_mode & (FMODE_READ | FMODE_WRITE); FMODE_WRITE 2467 sound/oss/swarm_cs4297a.c if (file->f_mode & FMODE_WRITE) { FMODE_WRITE 2473 sound/oss/swarm_cs4297a.c s->ena &= ~FMODE_WRITE; FMODE_WRITE 2266 sound/oss/vwsnd.c vwsnd_port_t *wport = (file->f_mode & FMODE_WRITE) ? FMODE_WRITE 2333 sound/oss/vwsnd.c vwsnd_port_t *wport = ((file->f_mode & FMODE_WRITE) ? FMODE_WRITE 2409 sound/oss/vwsnd.c vwsnd_port_t *wport = (file->f_mode & FMODE_WRITE) ? FMODE_WRITE 2439 sound/oss/vwsnd.c vwsnd_port_t *wport = (file->f_mode & FMODE_WRITE) ? FMODE_WRITE 2945 sound/oss/vwsnd.c devc->open_mode |= file->f_mode & (FMODE_READ | FMODE_WRITE); FMODE_WRITE 2976 sound/oss/vwsnd.c if (file->f_mode & FMODE_WRITE) { FMODE_WRITE 3013 sound/oss/vwsnd.c if (file->f_mode & FMODE_WRITE) {