Lines Matching defs:f_flags

469 			struct super_block *sb, int mode, unsigned int f_flags,
495 posix_flags = cifs_posix_convert_flags(f_flags);
532 struct cifs_tcon *tcon, unsigned int f_flags, __u32 *oplock,
547 if (cifs_fscache_enabled(inode) && (f_flags & O_ACCMODE) == O_WRONLY)
550 desired_access = cifs_convert_flags(f_flags, rdwr_for_fscache);
576 disposition = cifs_get_disposition(f_flags);
581 if (f_flags & O_SYNC)
584 if (f_flags & O_DIRECT)
601 desired_access = cifs_convert_flags(f_flags, 0);
693 cfile->f_flags = file->f_flags;
987 inode, file->f_flags, full_path);
989 if (file->f_flags & O_DIRECT &&
1000 if (file->f_flags == cfile->f_flags) {
1023 file->f_flags, &oplock, &fid.netfid, xid);
1052 rc = cifs_nt_open(full_path, inode, cifs_sb, tcon, file->f_flags, &oplock, &fid,
1092 if (!(file->f_flags & O_DIRECT))
1094 if ((file->f_flags & (O_ACCMODE | O_APPEND)) == O_RDONLY)
1192 inode, cfile->f_flags, full_path);
1207 unsigned int oflags = cfile->f_flags &
1226 if (cifs_fscache_enabled(inode) && (cfile->f_flags & O_ACCMODE) == O_WRONLY)
1229 desired_access = cifs_convert_flags(cfile->f_flags, rdwr_for_fscache);
1232 if (cfile->f_flags & O_SYNC)
1235 if (cfile->f_flags & O_DIRECT)
1268 desired_access = cifs_convert_flags(cfile->f_flags, 0);
2433 if (OPEN_FMODE(open_file->f_flags) & FMODE_READ) {
2495 if (OPEN_FMODE(open_file->f_flags) & FMODE_WRITE) {
2661 if ((OPEN_FMODE(smbfile->f_flags) & FMODE_WRITE) == 0) {
2709 if ((OPEN_FMODE(smbfile->f_flags) & FMODE_WRITE) == 0) {
2856 if (iocb->ki_filp->f_flags & O_DIRECT) {
3002 if (OPEN_FMODE(open_file->f_flags) & FMODE_WRITE) {