Home
last modified time | relevance | path

Searched refs:S_IMMUTABLE (Results 1 – 25 of 32) sorted by relevance

12

/Linux-v4.19/fs/hfsplus/
Dioctl.c66 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()
Dinode.c206 inode->i_flags |= S_IMMUTABLE; in hfsplus_get_perms()
208 inode->i_flags &= ~S_IMMUTABLE; in hfsplus_get_perms()
Dcatalog.c83 if (inode->i_flags & S_IMMUTABLE) in hfsplus_cat_set_perms()
/Linux-v4.19/fs/efivarfs/
Dfile.c121 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()
Dinode.c28 inode->i_flags = is_removable ? 0 : S_IMMUTABLE; in efivarfs_get_inode()
/Linux-v4.19/fs/jfs/
Djfs_inode.c35 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()
Dsuper.c880 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/
Dioctl.c41 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/
Dfile.c104 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/
Dorangefs-utils.c87 flags |= S_IMMUTABLE; in orangefs_inode_flags()
89 flags &= ~S_IMMUTABLE; in orangefs_inode_flags()
Dinode.c272 if (inode->i_flags & S_IMMUTABLE) in orangefs_getattr()
/Linux-v4.19/fs/
Dnsfs.c83 inode->i_flags |= S_IMMUTABLE; in __ns_get_path()
/Linux-v4.19/fs/f2fs/
Dinode.c44 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()
Dsuper.c1839 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/
Dinode.c91 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()
Dmove_extents.c991 if (inode->i_flags & (S_IMMUTABLE|S_APPEND)) { in ocfs2_ioctl_move_extents()
/Linux-v4.19/fs/ext2/
Dsuper.c1599 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()
Dinode.c1368 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/
Dxfs_iops.c1232 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()
Dxfs_ioctl.c615 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/
Dinode.c423 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/
Doverlayfs.h382 unsigned int mask = S_SYNC | S_IMMUTABLE | S_APPEND | S_NOATIME; in ovl_copyflags()
/Linux-v4.19/fs/gfs2/
Dfile.c178 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/
Dsuper.c2448 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/
Dfs.h1885 #define S_IMMUTABLE 8 /* Immutable file */ macro
1929 #define IS_IMMUTABLE(inode) ((inode)->i_flags & S_IMMUTABLE)

12