Home
last modified time | relevance | path

Searched refs:oldflags (Results 1 – 5 of 5) sorted by relevance

/fs/ext4/
Dioctl.c288 unsigned int oldflags = ei->i_flags; in ext4_ioctl_check_immutable() local
290 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() argument
323 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() local
354 oldflags = ei->i_flags; in ext4_ioctl_setflags()
359 if ((flags ^ oldflags) & (EXT4_JOURNAL_DATA_FL)) { in ext4_ioctl_setflags()
[all …]
/fs/crypto/
Dhooks.c140 unsigned int oldflags, unsigned int flags) in fscrypt_prepare_setflags() argument
151 if (IS_ENCRYPTED(inode) && (flags & ~oldflags & FS_CASEFOLD_FL)) { in fscrypt_prepare_setflags()
/fs/ocfs2/
Dioctl.c94 unsigned oldflags; in ocfs2_fileattr_set() local
109 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()
/fs/nilfs2/
Dioctl.c136 unsigned int flags, oldflags; in nilfs_fileattr_set() local
148 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()
/fs/cifs/
Dconnect.c2402 unsigned int oldflags = old->mnt_cifs_flags & CIFS_MOUNT_MASK; in compare_mount_options() local
2411 if (oldflags != newflags) in compare_mount_options()