Lines Matching refs:cf_mode
176 inode->i_mode = fattr->cf_mode;
239 fattr->cf_mode = le64_to_cpu(info->Permissions);
245 fattr->cf_mode &= ~S_IFMT;
248 fattr->cf_mode |= S_IFREG;
252 fattr->cf_mode |= S_IFLNK;
256 fattr->cf_mode |= S_IFDIR;
260 fattr->cf_mode |= S_IFCHR;
266 fattr->cf_mode |= S_IFBLK;
272 fattr->cf_mode |= S_IFIFO;
276 fattr->cf_mode |= S_IFSOCK;
281 fattr->cf_mode |= S_IFREG;
325 fattr->cf_mode = S_IFDIR | S_IXUGO | S_IRWXU;
419 (fattr.cf_mode & S_IFMT))) {
449 fattr->cf_mode &= ~S_IFMT;
452 fattr->cf_mode |= S_IFIFO;
456 fattr->cf_mode |= S_IFREG;
500 fattr->cf_mode |= S_IFBLK;
512 fattr->cf_mode |= S_IFCHR;
524 fattr->cf_mode |= S_IFLNK;
527 fattr->cf_mode |= S_IFREG; /* file? */
532 fattr->cf_mode |= S_IFREG; /* then it is a file */
577 fattr->cf_mode &= ~SFBITS_MASK;
579 mode, fattr->cf_mode);
580 fattr->cf_mode = (mode & SFBITS_MASK) | fattr->cf_mode;
626 fattr->cf_mode = S_IFLNK;
629 fattr->cf_mode = S_IFDIR | cifs_sb->mnt_dir_mode;
638 fattr->cf_mode = S_IFREG | cifs_sb->mnt_file_mode;
643 fattr->cf_mode &= ~(S_IWUGO);
920 (fattr.cf_mode & S_IFMT))) {
955 if ((inode->i_mode & S_IFMT) != (fattr->cf_mode & S_IFMT))