Lines Matching defs:mode
227 struct tcon_link *tlink, unsigned oflags, umode_t mode,
253 rc = cifs_posix_open(full_path, &newinode, inode->i_sb, mode,
336 * BB add processing to set equivalent of mode - e.g. via CreateX with
355 if (!tcon->unix_ext && (mode & S_IWUGO) == 0)
366 oparms.mode = mode;
375 * set the mode if possible.
379 .mode = mode,
400 * BB implement mode setting via Windows security
403 /* CIFSSMBWinSetPerms(xid,tcon,path,mode,-1,-1,nls);*/
405 /* Could set r/o dos attribute if mode & 0222 == 0 */
409 /* server might mask mode so we have to query for it */
421 newinode->i_mode = mode;
463 struct file *file, unsigned oflags, umode_t mode)
527 rc = cifs_do_create(inode, direntry, xid, tlink, oflags, mode,
569 int cifs_create(struct inode *inode, struct dentry *direntry, umode_t mode,
602 rc = cifs_do_create(inode, direntry, xid, tlink, oflags, mode,
613 int cifs_mknod(struct inode *inode, struct dentry *direntry, umode_t mode,
642 full_path, mode,