Lines Matching refs:oflags
178 struct tcon_link *tlink, unsigned int oflags, umode_t mode, __u32 *oplock, argument
208 oflags, oplock, &fid->netfid, xid);
275 if (OPEN_FMODE(oflags) & FMODE_READ)
277 if (OPEN_FMODE(oflags) & FMODE_WRITE)
281 if ((oflags & (O_CREAT | O_EXCL)) == (O_CREAT | O_EXCL))
283 else if ((oflags & (O_CREAT | O_TRUNC)) == (O_CREAT | O_TRUNC))
285 else if ((oflags & O_CREAT) == O_CREAT)
419 struct file *file, unsigned oflags, umode_t mode) argument
446 if (!(oflags & O_CREAT)) {
487 rc = cifs_do_create(inode, direntry, xid, tlink, oflags, mode,
494 if ((oflags & (O_CREAT | O_EXCL)) == (O_CREAT | O_EXCL))
545 unsigned oflags = O_EXCL | O_CREAT | O_RDWR; local
572 rc = cifs_do_create(inode, direntry, xid, tlink, oflags, mode, &oplock, &fid, &buf);