Searched refs:oldflags (Results 1 – 5 of 5) sorted by relevance
288 unsigned int oldflags = ei->i_flags; in ext4_ioctl_check_immutable() local290 if (!(oldflags & EXT4_IMMUTABLE_FL) || !(flags & EXT4_IMMUTABLE_FL)) in ext4_ioctl_check_immutable()293 if ((oldflags & ~EXT4_IMMUTABLE_FL) != (flags & ~EXT4_IMMUTABLE_FL)) in ext4_ioctl_check_immutable()317 static bool dax_compatible(struct inode *inode, unsigned int oldflags, in dax_compatible() argument323 oldflags &= ~EXT4_INLINE_DATA_FL; in dax_compatible()327 if ((oldflags & EXT4_DAX_MUT_EXCL) || in dax_compatible()334 if ((flags & EXT4_DAX_MUT_EXCL) && (oldflags & EXT4_DAX_FL)) in dax_compatible()347 unsigned int oldflags, mask, i; in ext4_ioctl_setflags() local354 oldflags = ei->i_flags; in ext4_ioctl_setflags()359 if ((flags ^ oldflags) & (EXT4_JOURNAL_DATA_FL)) { in ext4_ioctl_setflags()[all …]
140 unsigned int oldflags, unsigned int flags) in fscrypt_prepare_setflags() argument151 if (IS_ENCRYPTED(inode) && (flags & ~oldflags & FS_CASEFOLD_FL)) { in fscrypt_prepare_setflags()
94 unsigned oldflags; in ocfs2_fileattr_set() local109 oldflags = ocfs2_inode->ip_attr; in ocfs2_fileattr_set()111 flags |= oldflags & ~OCFS2_FL_MODIFIABLE; in ocfs2_fileattr_set()115 if ((flags ^ oldflags) & (FS_APPEND_FL | FS_IMMUTABLE_FL) && in ocfs2_fileattr_set()
136 unsigned int flags, oldflags; in nilfs_fileattr_set() local148 oldflags = NILFS_I(inode)->i_flags & ~FS_FL_USER_MODIFIABLE; in nilfs_fileattr_set()149 NILFS_I(inode)->i_flags = oldflags | (flags & FS_FL_USER_MODIFIABLE); in nilfs_fileattr_set()
2402 unsigned int oldflags = old->mnt_cifs_flags & CIFS_MOUNT_MASK; in compare_mount_options() local2411 if (oldflags != newflags) in compare_mount_options()