/Linux-v4.19/fs/hfsplus/ |
D | ioctl.c | 66 if (inode->i_flags & S_IMMUTABLE) in hfsplus_ioctl_getflags() 100 inode->i_flags & (S_IMMUTABLE|S_APPEND)) { in hfsplus_ioctl_setflags() 114 new_fl |= S_IMMUTABLE; in hfsplus_ioctl_setflags() 119 inode_set_flags(inode, new_fl, S_IMMUTABLE | S_APPEND); in hfsplus_ioctl_setflags()
|
D | inode.c | 206 inode->i_flags |= S_IMMUTABLE; in hfsplus_get_perms() 208 inode->i_flags &= ~S_IMMUTABLE; in hfsplus_get_perms()
|
D | catalog.c | 83 if (inode->i_flags & S_IMMUTABLE) in hfsplus_cat_set_perms()
|
/Linux-v4.19/fs/efivarfs/ |
D | file.c | 121 if (i_flags & S_IMMUTABLE) in efivarfs_ioc_getxflags() 150 i_flags |= S_IMMUTABLE; in efivarfs_ioc_setxflags() 158 inode_set_flags(inode, i_flags, S_IMMUTABLE); in efivarfs_ioc_setxflags()
|
D | inode.c | 28 inode->i_flags = is_removable ? 0 : S_IMMUTABLE; in efivarfs_get_inode()
|
/Linux-v4.19/fs/jfs/ |
D | jfs_inode.c | 35 new_fl |= S_IMMUTABLE; in jfs_set_inode_flags() 44 inode_set_flags(inode, new_fl, S_IMMUTABLE | S_APPEND | S_NOATIME | in jfs_set_inode_flags()
|
D | super.c | 880 inode_set_flags(inode, S_NOATIME | S_IMMUTABLE, in jfs_quota_on() 881 S_NOATIME | S_IMMUTABLE); in jfs_quota_on() 902 inode_set_flags(inode, 0, S_NOATIME | S_IMMUTABLE); in jfs_quota_off()
|
/Linux-v4.19/fs/ubifs/ |
D | ioctl.c | 41 inode->i_flags &= ~(S_SYNC | S_APPEND | S_IMMUTABLE | S_DIRSYNC | in ubifs_set_inode_flags() 48 inode->i_flags |= S_IMMUTABLE; in ubifs_set_inode_flags()
|
/Linux-v4.19/fs/fat/ |
D | file.c | 104 inode->i_flags |= S_IMMUTABLE; in fat_ioctl_set_attributes() 106 inode->i_flags &= ~S_IMMUTABLE; in fat_ioctl_set_attributes()
|
/Linux-v4.19/fs/orangefs/ |
D | orangefs-utils.c | 87 flags |= S_IMMUTABLE; in orangefs_inode_flags() 89 flags &= ~S_IMMUTABLE; in orangefs_inode_flags()
|
D | inode.c | 272 if (inode->i_flags & S_IMMUTABLE) in orangefs_getattr()
|
/Linux-v4.19/fs/ |
D | nsfs.c | 83 inode->i_flags |= S_IMMUTABLE; in __ns_get_path()
|
/Linux-v4.19/fs/f2fs/ |
D | inode.c | 44 new_fl |= S_IMMUTABLE; in f2fs_set_inode_flags() 52 S_SYNC|S_APPEND|S_IMMUTABLE|S_NOATIME|S_DIRSYNC| in f2fs_set_inode_flags()
|
D | super.c | 1839 inode_set_flags(inode, S_NOATIME | S_IMMUTABLE, in f2fs_quota_on() 1840 S_NOATIME | S_IMMUTABLE); in f2fs_quota_on() 1863 inode_set_flags(inode, 0, S_NOATIME | S_IMMUTABLE); in f2fs_quota_off()
|
/Linux-v4.19/fs/ocfs2/ |
D | inode.c | 91 inode->i_flags &= ~(S_IMMUTABLE | in ocfs2_set_inode_flags() 95 inode->i_flags |= S_IMMUTABLE; in ocfs2_set_inode_flags() 118 if (flags & S_IMMUTABLE) in ocfs2_get_inode_flags()
|
D | move_extents.c | 991 if (inode->i_flags & (S_IMMUTABLE|S_APPEND)) { in ocfs2_ioctl_move_extents()
|
/Linux-v4.19/fs/ext2/ |
D | super.c | 1599 inode_set_flags(inode, S_NOATIME | S_IMMUTABLE, in ext2_quota_on() 1600 S_NOATIME | S_IMMUTABLE); in ext2_quota_on() 1621 inode_set_flags(inode, 0, S_NOATIME | S_IMMUTABLE); in ext2_quota_off()
|
D | inode.c | 1368 inode->i_flags &= ~(S_SYNC | S_APPEND | S_IMMUTABLE | S_NOATIME | in ext2_set_inode_flags() 1375 inode->i_flags |= S_IMMUTABLE; in ext2_set_inode_flags()
|
/Linux-v4.19/fs/xfs/ |
D | xfs_iops.c | 1232 inode->i_flags &= ~(S_IMMUTABLE | S_APPEND | S_SYNC | in xfs_diflags_to_iflags() 1236 inode->i_flags |= S_IMMUTABLE; in xfs_diflags_to_iflags()
|
D | xfs_ioctl.c | 615 if (inode->i_flags & (S_IMMUTABLE|S_APPEND)) in xfs_ioc_space() 986 inode->i_flags |= S_IMMUTABLE; in xfs_diflags_to_linux() 988 inode->i_flags &= ~S_IMMUTABLE; in xfs_diflags_to_linux()
|
/Linux-v4.19/fs/nilfs2/ |
D | inode.c | 423 new_fl |= S_IMMUTABLE; in nilfs_set_inode_flags() 428 inode_set_flags(inode, new_fl, S_SYNC | S_APPEND | S_IMMUTABLE | in nilfs_set_inode_flags()
|
/Linux-v4.19/fs/overlayfs/ |
D | overlayfs.h | 382 unsigned int mask = S_SYNC | S_IMMUTABLE | S_APPEND | S_NOATIME; in ovl_copyflags()
|
/Linux-v4.19/fs/gfs2/ |
D | file.c | 178 flags &= ~(S_SYNC|S_APPEND|S_IMMUTABLE|S_NOATIME|S_DIRSYNC|S_NOSEC); in gfs2_set_inode_flags() 182 flags |= S_IMMUTABLE; in gfs2_set_inode_flags()
|
/Linux-v4.19/fs/reiserfs/ |
D | super.c | 2448 inode_set_flags(inode, S_IMMUTABLE | S_NOATIME, in reiserfs_quota_on() 2449 S_IMMUTABLE | S_NOATIME); in reiserfs_quota_on() 2474 inode_set_flags(inode, 0, S_IMMUTABLE | S_NOATIME); in reiserfs_quota_off()
|
/Linux-v4.19/include/linux/ |
D | fs.h | 1885 #define S_IMMUTABLE 8 /* Immutable file */ macro 1929 #define IS_IMMUTABLE(inode) ((inode)->i_flags & S_IMMUTABLE)
|