Searched refs:oldflags (Results 1 – 12 of 12) sorted by relevance
/fs/ext2/ |
D | ioctl.c | 36 unsigned int oldflags; in ext2_ioctl() local 61 oldflags = ei->i_flags; in ext2_ioctl() 63 ret = vfs_ioc_setflags_prepare(inode, oldflags, flags); in ext2_ioctl() 70 flags |= oldflags & ~EXT2_FL_USER_MODIFIABLE; in ext2_ioctl()
|
/fs/ext4/ |
D | ioctl.c | 285 unsigned int oldflags = ei->i_flags; in ext4_ioctl_check_immutable() local 287 if (!(oldflags & EXT4_IMMUTABLE_FL) || !(flags & EXT4_IMMUTABLE_FL)) in ext4_ioctl_check_immutable() 290 if ((oldflags & ~EXT4_IMMUTABLE_FL) != (flags & ~EXT4_IMMUTABLE_FL)) in ext4_ioctl_check_immutable() 314 static bool dax_compatible(struct inode *inode, unsigned int oldflags, in dax_compatible() argument 320 oldflags &= ~EXT4_INLINE_DATA_FL; in dax_compatible() 324 if ((oldflags & EXT4_DAX_MUT_EXCL) || in dax_compatible() 331 if ((flags & EXT4_DAX_MUT_EXCL) && (oldflags & EXT4_DAX_FL)) in dax_compatible() 344 unsigned int oldflags, mask, i; in ext4_ioctl_setflags() local 351 oldflags = ei->i_flags; in ext4_ioctl_setflags() 353 err = vfs_ioc_setflags_prepare(inode, oldflags, flags); in ext4_ioctl_setflags() [all …]
|
/fs/jfs/ |
D | ioctl.c | 72 unsigned int oldflags; in jfs_ioctl() local 101 oldflags = jfs_map_ext2(jfs_inode->mode2 & JFS_FL_USER_VISIBLE, in jfs_ioctl() 103 err = vfs_ioc_setflags_prepare(inode, oldflags, flags); in jfs_ioctl()
|
/fs/ubifs/ |
D | ioctl.c | 106 int oldflags, err, release; in setflags() local 117 oldflags = ubifs2ioctl(ui->flags); in setflags() 118 err = vfs_ioc_setflags_prepare(inode, oldflags, flags); in setflags()
|
/fs/hfsplus/ |
D | ioctl.c | 87 unsigned int oldflags = hfsplus_getflags(inode); in hfsplus_ioctl_setflags() local 106 err = vfs_ioc_setflags_prepare(inode, oldflags, flags); in hfsplus_ioctl_setflags()
|
/fs/efivarfs/ |
D | file.c | 137 unsigned int oldflags = efivarfs_getflags(inode); in efivarfs_ioc_setxflags() local 159 error = vfs_ioc_setflags_prepare(inode, oldflags, flags); in efivarfs_ioc_setxflags()
|
/fs/crypto/ |
D | hooks.c | 140 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/ |
D | ioctl.c | 87 unsigned oldflags; in ocfs2_set_inode_attr() local 105 oldflags = ocfs2_inode->ip_attr; in ocfs2_set_inode_attr() 107 flags |= oldflags & ~mask; in ocfs2_set_inode_attr() 109 status = vfs_ioc_setflags_prepare(inode, oldflags, flags); in ocfs2_set_inode_attr()
|
/fs/nilfs2/ |
D | ioctl.c | 132 unsigned int flags, oldflags; in nilfs_ioctl_setflags() local 149 oldflags = NILFS_I(inode)->i_flags; in nilfs_ioctl_setflags() 151 ret = vfs_ioc_setflags_prepare(inode, oldflags, flags); in nilfs_ioctl_setflags() 159 NILFS_I(inode)->i_flags = (oldflags & ~FS_FL_USER_MODIFIABLE) | in nilfs_ioctl_setflags()
|
/fs/gfs2/ |
D | file.c | 225 u32 new_flags, flags, oldflags; in do_gfs2_set_flags() local 235 oldflags = gfs2_gfsflags_to_fsflags(inode, ip->i_diskflags); in do_gfs2_set_flags() 236 error = vfs_ioc_setflags_prepare(inode, oldflags, fsflags); in do_gfs2_set_flags()
|
/fs/ |
D | inode.c | 2316 int vfs_ioc_setflags_prepare(struct inode *inode, unsigned int oldflags, in vfs_ioc_setflags_prepare() argument 2325 if ((flags ^ oldflags) & (FS_APPEND_FL | FS_IMMUTABLE_FL) && in vfs_ioc_setflags_prepare() 2329 return fscrypt_prepare_setflags(inode, oldflags, flags); in vfs_ioc_setflags_prepare()
|
/fs/cifs/ |
D | connect.c | 3450 unsigned int oldflags = old->mnt_cifs_flags & CIFS_MOUNT_MASK; in compare_mount_options() local 3459 if (oldflags != newflags) in compare_mount_options()
|