FMODE_PREAD 802 fs/open.c FMODE_PREAD | FMODE_PWRITE; FMODE_PREAD 1171 fs/open.c filp->f_mode &= ~(FMODE_LSEEK | FMODE_PREAD | FMODE_PWRITE); FMODE_PREAD 384 fs/read_write.c if (file->f_mode & FMODE_PREAD) FMODE_PREAD 710 fs/read_write.c if (!(in_file->f_mode & FMODE_PREAD)) FMODE_PREAD 52 fs/seq_file.c file->f_mode &= ~(FMODE_PREAD | FMODE_PWRITE); FMODE_PREAD 72 include/linux/fs.h #define FMODE_PWRITE FMODE_PREAD /* These go hand in hand */