Lines Matching refs:cf_mode
180 inode->i_mode = fattr->cf_mode;
243 fattr->cf_mode = le64_to_cpu(info->Permissions);
249 fattr->cf_mode &= ~S_IFMT;
252 fattr->cf_mode |= S_IFREG;
256 fattr->cf_mode |= S_IFLNK;
260 fattr->cf_mode |= S_IFDIR;
264 fattr->cf_mode |= S_IFCHR;
270 fattr->cf_mode |= S_IFBLK;
276 fattr->cf_mode |= S_IFIFO;
280 fattr->cf_mode |= S_IFSOCK;
285 fattr->cf_mode |= S_IFREG;
329 fattr->cf_mode = S_IFDIR | S_IXUGO | S_IRWXU;
424 (fattr.cf_mode & S_IFMT))) {
455 fattr->cf_mode &= ~S_IFMT;
458 fattr->cf_mode |= S_IFIFO;
462 fattr->cf_mode |= S_IFREG;
506 fattr->cf_mode |= S_IFBLK;
518 fattr->cf_mode |= S_IFCHR;
530 fattr->cf_mode |= S_IFLNK;
533 fattr->cf_mode |= S_IFREG; /* file? */
538 fattr->cf_mode |= S_IFREG; /* then it is a file */
583 fattr->cf_mode &= ~SFBITS_MASK;
585 mode, fattr->cf_mode);
586 fattr->cf_mode = (mode & SFBITS_MASK) | fattr->cf_mode;
632 fattr->cf_mode = S_IFLNK;
635 fattr->cf_mode = S_IFDIR | cifs_sb->mnt_dir_mode;
644 fattr->cf_mode = S_IFREG | cifs_sb->mnt_file_mode;
649 fattr->cf_mode &= ~(S_IWUGO);
945 (fattr.cf_mode & S_IFMT))) {
981 if ((inode->i_mode & S_IFMT) != (fattr->cf_mode & S_IFMT))