O_ACCMODE          67 fs/cifs/file.c 	if ((flags & O_ACCMODE) == O_RDONLY)
O_ACCMODE          69 fs/cifs/file.c 	else if ((flags & O_ACCMODE) == O_WRONLY)
O_ACCMODE          71 fs/cifs/file.c 	else if ((flags & O_ACCMODE) == O_RDWR) {
O_ACCMODE         111 fs/cifs/file.c 	if ((file->f_flags & O_ACCMODE) == O_WRONLY) {
O_ACCMODE        1610 fs/cifs/file.c 	if ((file->f_flags & O_ACCMODE) == O_WRONLY)
O_ACCMODE        1690 fs/cifs/file.c 	if ((file->f_flags & O_ACCMODE) == O_WRONLY)
O_ACCMODE        2070 fs/cifs/file.c 	if ((file->f_flags & O_ACCMODE) != O_WRONLY) {
O_ACCMODE          54 fs/coda/coda_linux.c 	if ((flags & O_ACCMODE) == O_RDONLY)
O_ACCMODE          57 fs/coda/coda_linux.c 	if ((flags & O_ACCMODE) == O_RDWR)
O_ACCMODE          60 fs/coda/coda_linux.c 	if ((flags & O_ACCMODE) == O_WRONLY)
O_ACCMODE          36 fs/namei.c     #define ACC_MODE(x) ("\000\004\002\006"[(x)&O_ACCMODE])
O_ACCMODE        1647 fs/namei.c     	if ((flag+1) & O_ACCMODE)
O_ACCMODE         801 fs/open.c      	f->f_mode = ((flags+1) & O_ACCMODE) | FMODE_LSEEK |
O_ACCMODE         378 fs/smbfs/file.c 	int smb_mode = (file->f_mode & O_ACCMODE) - 1;
O_ACCMODE         287 fs/xfs/linux-2.6/xfs_ioctl.c 	if ((permflag+1) & O_ACCMODE)
O_ACCMODE         632 ipc/mqueue.c   static int oflag2acc[O_ACCMODE] = { MAY_READ, MAY_WRITE,
O_ACCMODE         635 ipc/mqueue.c   	if ((oflag & O_ACCMODE) == (O_RDWR | O_WRONLY)) {
O_ACCMODE         641 ipc/mqueue.c   	if (inode_permission(dentry->d_inode, oflag2acc[oflag & O_ACCMODE])) {
O_ACCMODE         235 kernel/auditsc.c #define ACC_MODE(x) ("\004\002\006\006"[(x)&O_ACCMODE])
O_ACCMODE          80 kernel/power/user.c 	if ((filp->f_flags & O_ACCMODE) == O_RDWR) {
O_ACCMODE          94 kernel/power/user.c 	if ((filp->f_flags & O_ACCMODE) == O_RDONLY) {
O_ACCMODE         321 sound/core/info.c 	mode = file->f_flags & O_ACCMODE;
O_ACCMODE         411 sound/core/info.c 	mode = file->f_flags & O_ACCMODE;
O_ACCMODE         301 sound/core/seq/oss/seq_oss_init.c 	if ((file->f_flags & O_ACCMODE) != O_RDONLY)
O_ACCMODE         303 sound/core/seq/oss/seq_oss_init.c 	if ((file->f_flags & O_ACCMODE) != O_WRONLY)