Lines Matching refs:oflags
178 struct tcon_link *tlink, unsigned int oflags, umode_t mode, __u32 *oplock, argument
205 if (cifs_fscache_enabled(inode) && (oflags & O_ACCMODE) == O_WRONLY)
213 oflags, oplock, &fid->netfid, xid);
280 if (OPEN_FMODE(oflags) & FMODE_READ)
282 if (OPEN_FMODE(oflags) & FMODE_WRITE)
288 if ((oflags & (O_CREAT | O_EXCL)) == (O_CREAT | O_EXCL))
290 else if ((oflags & (O_CREAT | O_TRUNC)) == (O_CREAT | O_TRUNC))
292 else if ((oflags & O_CREAT) == O_CREAT)
434 struct file *file, unsigned oflags, umode_t mode) argument
461 if (!(oflags & O_CREAT)) {
502 rc = cifs_do_create(inode, direntry, xid, tlink, oflags, mode,
509 if ((oflags & (O_CREAT | O_EXCL)) == (O_CREAT | O_EXCL))
560 unsigned oflags = O_EXCL | O_CREAT | O_RDWR; local
587 rc = cifs_do_create(inode, direntry, xid, tlink, oflags, mode, &oplock, &fid, &buf);