/linux/fs/efivarfs/ |
H A D | inode.c | 33 inode->i_flags = is_removable ? 0 : S_IMMUTABLE; in efivarfs_get_inode() 162 if (i_flags & S_IMMUTABLE) in efivarfs_fileattr_get() 183 i_flags |= S_IMMUTABLE; in efivarfs_fileattr_set() 185 inode_set_flags(d_inode(dentry), i_flags, S_IMMUTABLE); in efivarfs_fileattr_set()
|
/linux/fs/jfs/ |
H A D | jfs_inode.c | 22 new_fl |= S_IMMUTABLE; in jfs_set_inode_flags() 31 inode_set_flags(inode, new_fl, S_IMMUTABLE | S_APPEND | S_NOATIME | in jfs_set_inode_flags()
|
/linux/fs/hfsplus/ |
H A D | inode.c | 206 inode->i_flags |= S_IMMUTABLE; in hfsplus_get_perms() 208 inode->i_flags &= ~S_IMMUTABLE; in hfsplus_get_perms() 288 if (inode->i_flags & S_IMMUTABLE) in hfsplus_getattr() 663 if (inode->i_flags & S_IMMUTABLE) in hfsplus_fileattr_get() 690 new_fl |= S_IMMUTABLE; in hfsplus_fileattr_set() 695 inode_set_flags(inode, new_fl, S_IMMUTABLE | S_APPEND); in hfsplus_fileattr_set()
|
H A D | catalog.c | 83 if (inode->i_flags & S_IMMUTABLE) in hfsplus_cat_set_perms()
|
/linux/fs/ubifs/ |
H A D | ioctl.c | 39 inode->i_flags &= ~(S_SYNC | S_APPEND | S_IMMUTABLE | S_DIRSYNC | in ubifs_set_inode_flags() 46 inode->i_flags |= S_IMMUTABLE; in ubifs_set_inode_flags()
|
/linux/fs/bcachefs/ |
H A D | fs-ioctl.h | 10 [__BCH_INODE_immutable] = S_IMMUTABLE,
|
/linux/fs/ntfs3/ |
H A D | file.c | 61 if (inode->i_flags & S_IMMUTABLE) in ntfs_fileattr_get() 96 new_fl |= S_IMMUTABLE; in ntfs_fileattr_set() 110 inode_set_flags(inode, new_fl, S_IMMUTABLE | S_APPEND); in ntfs_fileattr_set() 154 if (inode->i_flags & S_IMMUTABLE) in ntfs_getattr()
|
H A D | inode.c | 479 inode->i_flags |= S_IMMUTABLE; in ntfs_read_mft() 481 inode->i_flags &= ~S_IMMUTABLE; in ntfs_read_mft()
|
/linux/fs/fat/ |
H A D | file.c | 106 inode->i_flags |= S_IMMUTABLE; in fat_ioctl_set_attributes() 108 inode->i_flags &= ~S_IMMUTABLE; in fat_ioctl_set_attributes()
|
H A D | inode.c | 556 inode->i_flags |= S_IMMUTABLE; in fat_fill_inode()
|
/linux/fs/orangefs/ |
H A D | orangefs-utils.c | 88 flags |= S_IMMUTABLE; in orangefs_inode_flags() 90 flags &= ~S_IMMUTABLE; in orangefs_inode_flags()
|
/linux/fs/ext2/ |
H A D | super.c | 1593 inode_set_flags(inode, S_NOATIME | S_IMMUTABLE, in ext2_quota_on() 1594 S_NOATIME | S_IMMUTABLE); in ext2_quota_on() 1615 inode_set_flags(inode, 0, S_NOATIME | S_IMMUTABLE); in ext2_quota_off()
|
H A D | inode.c | 1350 inode->i_flags &= ~(S_SYNC | S_APPEND | S_IMMUTABLE | S_NOATIME | in ext2_set_inode_flags() 1357 inode->i_flags |= S_IMMUTABLE; in ext2_set_inode_flags()
|
/linux/fs/xfs/ |
H A D | xfs_iops.c | 1280 flags |= S_IMMUTABLE; in xfs_diflags_to_iflags() 1294 inode->i_flags &= ~(S_IMMUTABLE | S_APPEND | S_SYNC | S_NOATIME); in xfs_diflags_to_iflags()
|
/linux/fs/nilfs2/ |
H A D | inode.c | 387 new_fl |= S_IMMUTABLE; in nilfs_set_inode_flags() 392 inode_set_flags(inode, new_fl, S_SYNC | S_APPEND | S_IMMUTABLE | in nilfs_set_inode_flags()
|
/linux/fs/zonefs/ |
H A D | super.c | 235 inode->i_flags |= S_IMMUTABLE; in zonefs_inode_update_mode() 239 inode->i_flags |= S_IMMUTABLE; in zonefs_inode_update_mode()
|
/linux/fs/gfs2/ |
H A D | file.c | 189 flags &= ~(S_SYNC|S_APPEND|S_IMMUTABLE|S_NOATIME|S_DIRSYNC|S_NOSEC); in gfs2_set_inode_flags() 193 flags |= S_IMMUTABLE; in gfs2_set_inode_flags()
|
/linux/fs/ |
H A D | stat.c | 126 if (inode->i_flags & S_IMMUTABLE) in generic_fill_statx_attr()
|
H A D | libfs.c | 2150 inode->i_flags |= S_IMMUTABLE; in prepare_anon_dentry()
|
/linux/include/linux/ |
H A D | fs.h | 2268 #define S_IMMUTABLE (1 << 3) /* Immutable file */ macro 2315 #define IS_IMMUTABLE(inode) ((inode)->i_flags & S_IMMUTABLE)
|
/linux/fs/ext4/ |
H A D | super.c | 7061 inode_set_flags(inode, S_NOATIME | S_IMMUTABLE, in ext4_quota_on() 7062 S_NOATIME | S_IMMUTABLE); in ext4_quota_on() 7203 inode_set_flags(inode, 0, S_NOATIME | S_IMMUTABLE); in ext4_quota_off()
|
H A D | inode.c | 4621 new_fl |= S_IMMUTABLE; in ext4_set_inode_flags() 4640 S_SYNC|S_APPEND|S_IMMUTABLE|S_NOATIME|S_DIRSYNC|S_DAX| in ext4_set_inode_flags()
|
/linux/fs/btrfs/ |
H A D | ioctl.c | 178 new_fl |= S_IMMUTABLE; in btrfs_sync_inode_flags_to_i_flags() 189 S_SYNC | S_APPEND | S_IMMUTABLE | S_NOATIME | S_DIRSYNC | in btrfs_sync_inode_flags_to_i_flags()
|
/linux/mm/ |
H A D | shmem.c | 2841 i_flags |= S_IMMUTABLE; in shmem_set_inode_flags() 2845 inode_set_flags(inode, i_flags, S_NOATIME | S_APPEND | S_IMMUTABLE | S_CASEFOLD); in shmem_set_inode_flags()
|
/linux/fs/ocfs2/ |
H A D | file.c | 1968 if (inode->i_flags & (S_IMMUTABLE|S_APPEND)) { in __ocfs2_change_file_space()
|