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;
429 (fattr.cf_mode & S_IFMT))) {
460 fattr->cf_mode &= ~S_IFMT;
463 fattr->cf_mode |= S_IFIFO;
467 fattr->cf_mode |= S_IFREG;
509 fattr->cf_mode |= S_IFBLK;
521 fattr->cf_mode |= S_IFCHR;
533 fattr->cf_mode |= S_IFLNK;
536 fattr->cf_mode |= S_IFREG; /* file? */
541 fattr->cf_mode |= S_IFREG; /* then it is a file */
586 fattr->cf_mode &= ~SFBITS_MASK;
588 mode, fattr->cf_mode);
589 fattr->cf_mode = (mode & SFBITS_MASK) | fattr->cf_mode;
631 fattr->cf_mode = (umode_t) le32_to_cpu(info->Mode);
636 fattr->cf_mode |= S_IFLNK;
639 fattr->cf_mode |= S_IFDIR;
642 fattr->cf_mode |= S_IFREG;
651 fattr->cf_mode, fattr->cf_uniqueid, fattr->cf_nlink);
688 fattr->cf_mode |= S_IFLNK | cifs_sb->mnt_file_mode;
691 fattr->cf_mode |= S_IFIFO | cifs_sb->mnt_file_mode;
694 fattr->cf_mode |= S_IFSOCK | cifs_sb->mnt_file_mode;
697 fattr->cf_mode |= S_IFCHR | cifs_sb->mnt_file_mode;
700 fattr->cf_mode |= S_IFBLK | cifs_sb->mnt_file_mode;
703 fattr->cf_mode = S_IFLNK;
706 fattr->cf_mode = S_IFDIR | cifs_sb->mnt_dir_mode;
715 fattr->cf_mode = S_IFREG | cifs_sb->mnt_file_mode;
720 fattr->cf_mode &= ~(S_IWUGO);
1100 (fattr.cf_mode & S_IFMT))) {
1213 (fattr.cf_mode & S_IFMT))) {
1246 if ((inode->i_mode & S_IFMT) != (fattr->cf_mode & S_IFMT))