Lines Matching refs:cf_mode

158 	    unlikely(inode_wrong_type(inode, fattr->cf_mode))) {
184 inode->i_mode = fattr->cf_mode;
214 if (S_ISLNK(fattr->cf_mode)) {
254 fattr->cf_mode = le64_to_cpu(info->Permissions);
260 fattr->cf_mode &= ~S_IFMT;
263 fattr->cf_mode |= S_IFREG;
267 fattr->cf_mode |= S_IFLNK;
271 fattr->cf_mode |= S_IFDIR;
275 fattr->cf_mode |= S_IFCHR;
281 fattr->cf_mode |= S_IFBLK;
287 fattr->cf_mode |= S_IFIFO;
291 fattr->cf_mode |= S_IFSOCK;
296 fattr->cf_mode |= S_IFREG;
340 fattr->cf_mode = S_IFDIR | S_IXUGO | S_IRWXU;
431 if (S_ISLNK(fattr.cf_mode) && !fattr.cf_symlink_target) {
494 fattr->cf_mode &= ~S_IFMT;
497 fattr->cf_mode |= S_IFIFO;
501 fattr->cf_mode |= S_IFREG;
544 fattr->cf_mode |= S_IFBLK;
556 fattr->cf_mode |= S_IFCHR;
568 fattr->cf_mode |= S_IFLNK;
571 fattr->cf_mode |= S_IFREG; /* file? */
576 fattr->cf_mode |= S_IFREG; /* then it is a file */
621 fattr->cf_mode &= ~SFBITS_MASK;
623 mode, fattr->cf_mode);
624 fattr->cf_mode = (mode & SFBITS_MASK) | fattr->cf_mode;
668 fattr->cf_mode = (umode_t) le32_to_cpu(info->Mode);
673 fattr->cf_mode |= S_IFLNK;
678 fattr->cf_mode |= S_IFDIR;
681 fattr->cf_mode |= S_IFREG;
690 fattr->cf_mode, fattr->cf_uniqueid, fattr->cf_nlink);
725 fattr->cf_mode |= S_IFLNK | cifs_sb->ctx->file_mode;
728 fattr->cf_mode |= S_IFIFO | cifs_sb->ctx->file_mode;
731 fattr->cf_mode |= S_IFSOCK | cifs_sb->ctx->file_mode;
734 fattr->cf_mode |= S_IFCHR | cifs_sb->ctx->file_mode;
737 fattr->cf_mode |= S_IFBLK | cifs_sb->ctx->file_mode;
741 fattr->cf_mode = S_IFLNK;
744 fattr->cf_mode = S_IFDIR | cifs_sb->ctx->dir_mode;
753 fattr->cf_mode = S_IFREG | cifs_sb->ctx->file_mode;
758 fattr->cf_mode &= ~(S_IWUGO);
772 if (S_ISLNK(fattr->cf_mode)) {
1285 if (inode_wrong_type(inode, fattr->cf_mode))