Lines Matching refs:oflags
169 struct tcon_link *tlink, unsigned int oflags, umode_t mode, __u32 *oplock, argument
199 oflags, oplock, &fid->netfid, xid);
266 if (OPEN_FMODE(oflags) & FMODE_READ)
268 if (OPEN_FMODE(oflags) & FMODE_WRITE)
272 if ((oflags & (O_CREAT | O_EXCL)) == (O_CREAT | O_EXCL))
274 else if ((oflags & (O_CREAT | O_TRUNC)) == (O_CREAT | O_TRUNC))
276 else if ((oflags & O_CREAT) == O_CREAT)
409 struct file *file, unsigned oflags, umode_t mode) argument
436 if (!(oflags & O_CREAT)) {
477 rc = cifs_do_create(inode, direntry, xid, tlink, oflags, mode,
484 if ((oflags & (O_CREAT | O_EXCL)) == (O_CREAT | O_EXCL))
535 unsigned oflags = O_EXCL | O_CREAT | O_RDWR; local
562 rc = cifs_do_create(inode, direntry, xid, tlink, oflags, mode, &oplock, &fid, &buf);