• Home
  • Raw
  • Download

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;
428 if (unlikely(inode_wrong_type(*pinode, fattr.cf_mode))) {
459 fattr->cf_mode &= ~S_IFMT;
462 fattr->cf_mode |= S_IFIFO;
466 fattr->cf_mode |= S_IFREG;
508 fattr->cf_mode |= S_IFBLK;
520 fattr->cf_mode |= S_IFCHR;
532 fattr->cf_mode |= S_IFLNK;
535 fattr->cf_mode |= S_IFREG; /* file? */
540 fattr->cf_mode |= S_IFREG; /* then it is a file */
585 fattr->cf_mode &= ~SFBITS_MASK;
587 mode, fattr->cf_mode);
588 fattr->cf_mode = (mode & SFBITS_MASK) | fattr->cf_mode;
630 fattr->cf_mode = (umode_t) le32_to_cpu(info->Mode);
635 fattr->cf_mode |= S_IFLNK;
638 fattr->cf_mode |= S_IFDIR;
641 fattr->cf_mode |= S_IFREG;
650 fattr->cf_mode, fattr->cf_uniqueid, fattr->cf_nlink);
687 fattr->cf_mode |= S_IFLNK | cifs_sb->mnt_file_mode;
690 fattr->cf_mode |= S_IFIFO | cifs_sb->mnt_file_mode;
693 fattr->cf_mode |= S_IFSOCK | cifs_sb->mnt_file_mode;
696 fattr->cf_mode |= S_IFCHR | cifs_sb->mnt_file_mode;
699 fattr->cf_mode |= S_IFBLK | cifs_sb->mnt_file_mode;
702 fattr->cf_mode = S_IFLNK;
705 fattr->cf_mode = S_IFDIR | cifs_sb->mnt_dir_mode;
714 fattr->cf_mode = S_IFREG | cifs_sb->mnt_file_mode;
719 fattr->cf_mode &= ~(S_IWUGO);
1099 (fattr.cf_mode & S_IFMT))) {
1212 (fattr.cf_mode & S_IFMT))) {
1245 if (inode_wrong_type(inode, fattr->cf_mode))