Lines Matching refs:oflags
195 struct tcon_link *tlink, unsigned oflags, umode_t mode, in cifs_do_create() argument
224 oflags, oplock, &fid->netfid, xid); in cifs_do_create()
283 if (OPEN_FMODE(oflags) & FMODE_READ) in cifs_do_create()
285 if (OPEN_FMODE(oflags) & FMODE_WRITE) in cifs_do_create()
289 if ((oflags & (O_CREAT | O_EXCL)) == (O_CREAT | O_EXCL)) in cifs_do_create()
291 else if ((oflags & (O_CREAT | O_TRUNC)) == (O_CREAT | O_TRUNC)) in cifs_do_create()
293 else if ((oflags & O_CREAT) == O_CREAT) in cifs_do_create()
417 struct file *file, unsigned oflags, umode_t mode, in cifs_atomic_open() argument
441 if (!(oflags & O_CREAT)) { in cifs_atomic_open()
481 rc = cifs_do_create(inode, direntry, xid, tlink, oflags, mode, in cifs_atomic_open()
489 if ((oflags & (O_CREAT | O_EXCL)) == (O_CREAT | O_EXCL)) in cifs_atomic_open()
536 unsigned oflags = O_EXCL | O_CREAT | O_RDWR; in cifs_create() local
557 rc = cifs_do_create(inode, direntry, xid, tlink, oflags, mode, in cifs_create()