Lines Matching refs:cf_mode

186 		inode->i_mode = fattr->cf_mode;
249 fattr->cf_mode = le64_to_cpu(info->Permissions);
255 fattr->cf_mode &= ~S_IFMT;
258 fattr->cf_mode |= S_IFREG;
262 fattr->cf_mode |= S_IFLNK;
266 fattr->cf_mode |= S_IFDIR;
270 fattr->cf_mode |= S_IFCHR;
276 fattr->cf_mode |= S_IFBLK;
282 fattr->cf_mode |= S_IFIFO;
286 fattr->cf_mode |= S_IFSOCK;
291 fattr->cf_mode |= S_IFREG;
335 fattr->cf_mode = S_IFDIR | S_IXUGO | S_IRWXU;
431 if (unlikely(inode_wrong_type(*pinode, fattr.cf_mode))) {
462 fattr->cf_mode &= ~S_IFMT;
465 fattr->cf_mode |= S_IFIFO;
469 fattr->cf_mode |= S_IFREG;
511 fattr->cf_mode |= S_IFBLK;
523 fattr->cf_mode |= S_IFCHR;
535 fattr->cf_mode |= S_IFLNK;
538 fattr->cf_mode |= S_IFREG; /* file? */
543 fattr->cf_mode |= S_IFREG; /* then it is a file */
588 fattr->cf_mode &= ~SFBITS_MASK;
590 mode, fattr->cf_mode);
591 fattr->cf_mode = (mode & SFBITS_MASK) | fattr->cf_mode;
633 fattr->cf_mode = (umode_t) le32_to_cpu(info->Mode);
638 fattr->cf_mode |= S_IFLNK;
641 fattr->cf_mode |= S_IFDIR;
644 fattr->cf_mode |= S_IFREG;
653 fattr->cf_mode, fattr->cf_uniqueid, fattr->cf_nlink);
690 fattr->cf_mode |= S_IFLNK | cifs_sb->mnt_file_mode;
693 fattr->cf_mode |= S_IFIFO | cifs_sb->mnt_file_mode;
696 fattr->cf_mode |= S_IFSOCK | cifs_sb->mnt_file_mode;
699 fattr->cf_mode |= S_IFCHR | cifs_sb->mnt_file_mode;
702 fattr->cf_mode |= S_IFBLK | cifs_sb->mnt_file_mode;
705 fattr->cf_mode = S_IFLNK;
708 fattr->cf_mode = S_IFDIR | cifs_sb->mnt_dir_mode;
717 fattr->cf_mode = S_IFREG | cifs_sb->mnt_file_mode;
722 fattr->cf_mode &= ~(S_IWUGO);
1102 (fattr.cf_mode & S_IFMT))) {
1215 (fattr.cf_mode & S_IFMT))) {
1248 if (inode_wrong_type(inode, fattr->cf_mode))