Lines Matching refs:oflags
169 struct tcon_link *tlink, unsigned oflags, umode_t mode, in cifs_do_create() argument
199 oflags, oplock, &fid->netfid, xid); in cifs_do_create()
265 if (OPEN_FMODE(oflags) & FMODE_READ) in cifs_do_create()
267 if (OPEN_FMODE(oflags) & FMODE_WRITE) in cifs_do_create()
271 if ((oflags & (O_CREAT | O_EXCL)) == (O_CREAT | O_EXCL)) in cifs_do_create()
273 else if ((oflags & (O_CREAT | O_TRUNC)) == (O_CREAT | O_TRUNC)) in cifs_do_create()
275 else if ((oflags & O_CREAT) == O_CREAT) in cifs_do_create()
410 struct file *file, unsigned oflags, umode_t mode) in cifs_atomic_open() argument
436 if (!(oflags & O_CREAT)) { in cifs_atomic_open()
477 rc = cifs_do_create(inode, direntry, xid, tlink, oflags, mode, in cifs_atomic_open()
485 if ((oflags & (O_CREAT | O_EXCL)) == (O_CREAT | O_EXCL)) in cifs_atomic_open()
531 unsigned oflags = O_EXCL | O_CREAT | O_RDWR; in cifs_create() local
555 rc = cifs_do_create(inode, direntry, xid, tlink, oflags, mode, in cifs_create()