Lines Matching defs:mode
178 struct tcon_link *tlink, unsigned int oflags, umode_t mode, __u32 *oplock,
207 rc = cifs_posix_open(full_path, &newinode, inode->i_sb, mode,
291 * BB add processing to set equivalent of mode - e.g. via CreateX with
304 if (!tcon->unix_ext && (mode & S_IWUGO) == 0)
315 .mode = mode,
326 * set the mode if possible.
330 .mode = mode,
351 * BB implement mode setting via Windows security
354 /* CIFSSMBWinSetPerms(xid,tcon,path,mode,-1,-1,nls);*/
356 /* Could set r/o dos attribute if mode & 0222 == 0 */
360 /* server might mask mode so we have to query for it */
375 newinode->i_mode = mode;
419 struct file *file, unsigned oflags, umode_t mode)
487 rc = cifs_do_create(inode, direntry, xid, tlink, oflags, mode,
534 struct dentry *direntry, umode_t mode, bool excl)
572 rc = cifs_do_create(inode, direntry, xid, tlink, oflags, mode, &oplock, &fid, &buf);
584 struct dentry *direntry, umode_t mode, dev_t device_number)
616 full_path, mode,