Lines Matching refs:oflags
227 struct tcon_link *tlink, unsigned oflags, umode_t mode, in cifs_do_create() argument
254 oflags, oplock, &fid->netfid, xid); in cifs_do_create()
320 if (OPEN_FMODE(oflags) & FMODE_READ) in cifs_do_create()
322 if (OPEN_FMODE(oflags) & FMODE_WRITE) in cifs_do_create()
326 if ((oflags & (O_CREAT | O_EXCL)) == (O_CREAT | O_EXCL)) in cifs_do_create()
328 else if ((oflags & (O_CREAT | O_TRUNC)) == (O_CREAT | O_TRUNC)) in cifs_do_create()
330 else if ((oflags & O_CREAT) == O_CREAT) in cifs_do_create()
463 struct file *file, unsigned oflags, umode_t mode) in cifs_atomic_open() argument
486 if (!(oflags & O_CREAT)) { in cifs_atomic_open()
527 rc = cifs_do_create(inode, direntry, xid, tlink, oflags, mode, in cifs_atomic_open()
535 if ((oflags & (O_CREAT | O_EXCL)) == (O_CREAT | O_EXCL)) in cifs_atomic_open()
581 unsigned oflags = O_EXCL | O_CREAT | O_RDWR; in cifs_create() local
602 rc = cifs_do_create(inode, direntry, xid, tlink, oflags, mode, in cifs_create()