Lines Matching refs:oflags
228 struct tcon_link *tlink, unsigned oflags, umode_t mode, in cifs_do_create() argument
257 oflags, oplock, &fid->netfid, xid); in cifs_do_create()
323 if (OPEN_FMODE(oflags) & FMODE_READ) in cifs_do_create()
325 if (OPEN_FMODE(oflags) & FMODE_WRITE) in cifs_do_create()
329 if ((oflags & (O_CREAT | O_EXCL)) == (O_CREAT | O_EXCL)) in cifs_do_create()
331 else if ((oflags & (O_CREAT | O_TRUNC)) == (O_CREAT | O_TRUNC)) in cifs_do_create()
333 else if ((oflags & O_CREAT) == O_CREAT) in cifs_do_create()
468 struct file *file, unsigned oflags, umode_t mode) in cifs_atomic_open() argument
491 if (!(oflags & O_CREAT)) { in cifs_atomic_open()
532 rc = cifs_do_create(inode, direntry, xid, tlink, oflags, mode, in cifs_atomic_open()
540 if ((oflags & (O_CREAT | O_EXCL)) == (O_CREAT | O_EXCL)) in cifs_atomic_open()
587 unsigned oflags = O_EXCL | O_CREAT | O_RDWR; in cifs_create() local
608 rc = cifs_do_create(inode, direntry, xid, tlink, oflags, mode, in cifs_create()