/linux-6.6.21/fs/efivarfs/ |
D | inode.c | 29 inode->i_flags = is_removable ? 0 : S_IMMUTABLE; in efivarfs_get_inode() 157 if (i_flags & S_IMMUTABLE) in efivarfs_fileattr_get() 178 i_flags |= S_IMMUTABLE; in efivarfs_fileattr_set() 180 inode_set_flags(d_inode(dentry), i_flags, S_IMMUTABLE); in efivarfs_fileattr_set()
|
/linux-6.6.21/fs/jfs/ |
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()
|
D | super.c | 845 inode_set_flags(inode, S_NOATIME | S_IMMUTABLE, in jfs_quota_on() 846 S_NOATIME | S_IMMUTABLE); in jfs_quota_on() 867 inode_set_flags(inode, 0, S_NOATIME | S_IMMUTABLE); in jfs_quota_off()
|
/linux-6.6.21/fs/ubifs/ |
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-6.6.21/fs/hfsplus/ |
D | inode.c | 211 inode->i_flags |= S_IMMUTABLE; in hfsplus_get_perms() 213 inode->i_flags &= ~S_IMMUTABLE; in hfsplus_get_perms() 293 if (inode->i_flags & S_IMMUTABLE) in hfsplus_getattr() 666 if (inode->i_flags & S_IMMUTABLE) in hfsplus_fileattr_get() 693 new_fl |= S_IMMUTABLE; in hfsplus_fileattr_set() 698 inode_set_flags(inode, new_fl, S_IMMUTABLE | S_APPEND); in hfsplus_fileattr_set()
|
D | catalog.c | 83 if (inode->i_flags & S_IMMUTABLE) in hfsplus_cat_set_perms()
|
/linux-6.6.21/fs/fat/ |
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()
|
/linux-6.6.21/fs/orangefs/ |
D | orangefs-utils.c | 88 flags |= S_IMMUTABLE; in orangefs_inode_flags() 90 flags &= ~S_IMMUTABLE; in orangefs_inode_flags()
|
/linux-6.6.21/fs/ |
D | nsfs.c | 88 inode->i_flags |= S_IMMUTABLE; in __ns_get_path()
|
D | stat.c | 84 if (inode->i_flags & S_IMMUTABLE) in generic_fill_statx_attr()
|
/linux-6.6.21/fs/ocfs2/ |
D | inode.c | 75 inode->i_flags &= ~(S_IMMUTABLE | in ocfs2_set_inode_flags() 79 inode->i_flags |= S_IMMUTABLE; in ocfs2_set_inode_flags() 102 if (flags & S_IMMUTABLE) in ocfs2_get_inode_flags()
|
D | move_extents.c | 994 if (inode->i_flags & (S_IMMUTABLE|S_APPEND)) { in ocfs2_ioctl_move_extents()
|
/linux-6.6.21/fs/ext2/ |
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()
|
D | inode.c | 1352 inode->i_flags &= ~(S_SYNC | S_APPEND | S_IMMUTABLE | S_NOATIME | in ext2_set_inode_flags() 1359 inode->i_flags |= S_IMMUTABLE; in ext2_set_inode_flags()
|
/linux-6.6.21/fs/overlayfs/ |
D | overlayfs.h | 760 #define OVL_COPY_I_FLAGS_MASK (S_SYNC | S_NOATIME | S_APPEND | S_IMMUTABLE) 762 #define OVL_PROT_I_FLAGS_MASK (S_APPEND | S_IMMUTABLE)
|
D | util.c | 844 iflags |= S_IMMUTABLE; in ovl_check_protattr() 873 iflags |= S_IMMUTABLE; in ovl_set_protattr()
|
D | inode.c | 829 if (inode->i_flags & S_IMMUTABLE) { in ovl_fileattr_prot_flags()
|
/linux-6.6.21/fs/xfs/ |
D | xfs_iops.c | 1236 flags |= S_IMMUTABLE; in xfs_diflags_to_iflags() 1250 inode->i_flags &= ~(S_IMMUTABLE | S_APPEND | S_SYNC | S_NOATIME); in xfs_diflags_to_iflags()
|
/linux-6.6.21/fs/f2fs/ |
D | inode.c | 48 new_fl |= S_IMMUTABLE; in f2fs_set_inode_flags() 60 S_SYNC|S_APPEND|S_IMMUTABLE|S_NOATIME|S_DIRSYNC| in f2fs_set_inode_flags()
|
/linux-6.6.21/fs/zonefs/ |
D | super.c | 234 inode->i_flags |= S_IMMUTABLE; in zonefs_inode_update_mode() 238 inode->i_flags |= S_IMMUTABLE; in zonefs_inode_update_mode()
|
/linux-6.6.21/fs/nilfs2/ |
D | inode.c | 432 new_fl |= S_IMMUTABLE; in nilfs_set_inode_flags() 437 inode_set_flags(inode, new_fl, S_SYNC | S_APPEND | S_IMMUTABLE | in nilfs_set_inode_flags()
|
/linux-6.6.21/fs/gfs2/ |
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-6.6.21/fs/reiserfs/ |
D | super.c | 2447 inode_set_flags(inode, S_IMMUTABLE | S_NOATIME, in reiserfs_quota_on() 2448 S_IMMUTABLE | S_NOATIME); in reiserfs_quota_on() 2473 inode_set_flags(inode, 0, S_IMMUTABLE | S_NOATIME); in reiserfs_quota_off()
|
/linux-6.6.21/fs/ntfs3/ |
D | inode.c | 474 inode->i_flags |= S_IMMUTABLE; in ntfs_read_mft() 476 inode->i_flags &= ~S_IMMUTABLE; in ntfs_read_mft()
|
/linux-6.6.21/include/linux/ |
D | fs.h | 2097 #define S_IMMUTABLE (1 << 3) /* Immutable file */ macro 2144 #define IS_IMMUTABLE(inode) ((inode)->i_flags & S_IMMUTABLE)
|