Lines Matching refs:iflags
1830 static int f2fs_setflags_common(struct inode *inode, u32 iflags, u32 mask) in f2fs_setflags_common() argument
1836 iflags &= mask; in f2fs_setflags_common()
1842 if ((iflags ^ masked_flags) & F2FS_CASEFOLD_FL) { in f2fs_setflags_common()
1849 if (iflags & (F2FS_COMPR_FL | F2FS_NOCOMP_FL)) { in f2fs_setflags_common()
1852 if ((iflags & F2FS_COMPR_FL) && (iflags & F2FS_NOCOMP_FL)) in f2fs_setflags_common()
1856 if ((iflags ^ masked_flags) & F2FS_COMPR_FL) { in f2fs_setflags_common()
1861 if (iflags & F2FS_NOCOMP_FL) in f2fs_setflags_common()
1863 if (iflags & F2FS_COMPR_FL) { in f2fs_setflags_common()
1872 if ((iflags ^ masked_flags) & F2FS_NOCOMP_FL) { in f2fs_setflags_common()
1877 fi->i_flags = iflags | (fi->i_flags & ~mask); in f2fs_setflags_common()
1951 static inline u32 f2fs_iflags_to_fsflags(u32 iflags) in f2fs_iflags_to_fsflags() argument
1957 if (iflags & f2fs_fsflags_map[i].iflag) in f2fs_iflags_to_fsflags()
1966 u32 iflags = 0; in f2fs_fsflags_to_iflags() local
1971 iflags |= f2fs_fsflags_map[i].iflag; in f2fs_fsflags_to_iflags()
1973 return iflags; in f2fs_fsflags_to_iflags()
3081 u32 iflags; in f2fs_fileattr_set() local
3094 iflags = f2fs_fsflags_to_iflags(fsflags); in f2fs_fileattr_set()
3095 if (f2fs_mask_flags(inode->i_mode, iflags) != iflags) in f2fs_fileattr_set()
3098 err = f2fs_setflags_common(inode, iflags, f2fs_fsflags_to_iflags(mask)); in f2fs_fileattr_set()