Lines Matching refs:cf_mode
173 inode->i_mode = fattr->cf_mode;
234 fattr->cf_mode = le64_to_cpu(info->Permissions);
240 fattr->cf_mode &= ~S_IFMT;
243 fattr->cf_mode |= S_IFREG;
247 fattr->cf_mode |= S_IFLNK;
251 fattr->cf_mode |= S_IFDIR;
255 fattr->cf_mode |= S_IFCHR;
261 fattr->cf_mode |= S_IFBLK;
267 fattr->cf_mode |= S_IFIFO;
271 fattr->cf_mode |= S_IFSOCK;
276 fattr->cf_mode |= S_IFREG;
320 fattr->cf_mode = S_IFDIR | S_IXUGO | S_IRWXU;
414 (fattr.cf_mode & S_IFMT))) {
444 fattr->cf_mode &= ~S_IFMT;
447 fattr->cf_mode |= S_IFIFO;
451 fattr->cf_mode |= S_IFREG;
493 fattr->cf_mode |= S_IFBLK;
505 fattr->cf_mode |= S_IFCHR;
517 fattr->cf_mode |= S_IFLNK;
520 fattr->cf_mode |= S_IFREG; /* file? */
525 fattr->cf_mode |= S_IFREG; /* then it is a file */
571 fattr->cf_mode &= ~SFBITS_MASK;
573 mode, fattr->cf_mode);
574 fattr->cf_mode = (mode & SFBITS_MASK) | fattr->cf_mode;
617 fattr->cf_mode = S_IFLNK;
620 fattr->cf_mode = S_IFDIR | cifs_sb->mnt_dir_mode;
629 fattr->cf_mode = S_IFREG | cifs_sb->mnt_file_mode;
634 fattr->cf_mode &= ~(S_IWUGO);
861 (fattr.cf_mode & S_IFMT))) {
893 if ((inode->i_mode & S_IFMT) != (fattr->cf_mode & S_IFMT))