Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/fs/hfsplus/
Dioctl.c65 if (inode->i_flags & S_IMMUTABLE) in hfsplus_getflags()
117 new_fl |= S_IMMUTABLE; in hfsplus_ioctl_setflags()
122 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()
281 if (inode->i_flags & S_IMMUTABLE) in hfsplus_getattr()
Dcatalog.c83 if (inode->i_flags & S_IMMUTABLE) in hfsplus_cat_set_perms()
/kernel/linux/linux-5.10/fs/efivarfs/
Dfile.c115 if (i_flags & S_IMMUTABLE) in efivarfs_getflags()
150 i_flags |= S_IMMUTABLE; in efivarfs_ioc_setxflags()
163 inode_set_flags(inode, i_flags, S_IMMUTABLE); in efivarfs_ioc_setxflags()
Dinode.c26 inode->i_flags = is_removable ? 0 : S_IMMUTABLE; in efivarfs_get_inode()
/kernel/linux/linux-5.10/fs/jfs/
Djfs_inode.c22 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()
Dsuper.c853 inode_set_flags(inode, S_NOATIME | S_IMMUTABLE, in jfs_quota_on()
854 S_NOATIME | S_IMMUTABLE); in jfs_quota_on()
875 inode_set_flags(inode, 0, S_NOATIME | S_IMMUTABLE); in jfs_quota_off()
/kernel/linux/linux-5.10/fs/ubifs/
Dioctl.c38 inode->i_flags &= ~(S_SYNC | S_APPEND | S_IMMUTABLE | S_DIRSYNC | in ubifs_set_inode_flags()
45 inode->i_flags |= S_IMMUTABLE; in ubifs_set_inode_flags()
/kernel/linux/linux-5.10/fs/fat/
Dfile.c105 inode->i_flags |= S_IMMUTABLE; in fat_ioctl_set_attributes()
107 inode->i_flags &= ~S_IMMUTABLE; in fat_ioctl_set_attributes()
/kernel/linux/linux-5.10/fs/orangefs/
Dorangefs-utils.c88 flags |= S_IMMUTABLE; in orangefs_inode_flags()
90 flags &= ~S_IMMUTABLE; in orangefs_inode_flags()
Dinode.c914 if (inode->i_flags & S_IMMUTABLE) in orangefs_getattr()
/kernel/linux/linux-5.10/fs/
Dnsfs.c87 inode->i_flags |= S_IMMUTABLE; in __ns_get_path()
/kernel/linux/linux-5.10/fs/ocfs2/
Dinode.c77 inode->i_flags &= ~(S_IMMUTABLE | in ocfs2_set_inode_flags()
81 inode->i_flags |= S_IMMUTABLE; in ocfs2_set_inode_flags()
104 if (flags & S_IMMUTABLE) in ocfs2_get_inode_flags()
Dmove_extents.c1005 if (inode->i_flags & (S_IMMUTABLE|S_APPEND)) { in ocfs2_ioctl_move_extents()
/kernel/linux/linux-5.10/fs/ext2/
Dsuper.c1585 inode_set_flags(inode, S_NOATIME | S_IMMUTABLE, in ext2_quota_on()
1586 S_NOATIME | S_IMMUTABLE); in ext2_quota_on()
1607 inode_set_flags(inode, 0, S_NOATIME | S_IMMUTABLE); in ext2_quota_off()
Dinode.c1371 inode->i_flags &= ~(S_SYNC | S_APPEND | S_IMMUTABLE | S_NOATIME | in ext2_set_inode_flags()
1378 inode->i_flags |= S_IMMUTABLE; in ext2_set_inode_flags()
/kernel/linux/linux-5.10/fs/f2fs/
Dinode.c42 new_fl |= S_IMMUTABLE; in f2fs_set_inode_flags()
54 S_SYNC|S_APPEND|S_IMMUTABLE|S_NOATIME|S_DIRSYNC| in f2fs_set_inode_flags()
/kernel/linux/linux-5.10/fs/nilfs2/
Dinode.c431 new_fl |= S_IMMUTABLE; in nilfs_set_inode_flags()
436 inode_set_flags(inode, new_fl, S_SYNC | S_APPEND | S_IMMUTABLE | in nilfs_set_inode_flags()
/kernel/linux/linux-5.10/fs/xfs/
Dxfs_iops.c1297 flags |= S_IMMUTABLE; in xfs_diflags_to_iflags()
1311 inode->i_flags &= ~(S_IMMUTABLE | S_APPEND | S_SYNC | S_NOATIME); in xfs_diflags_to_iflags()
/kernel/linux/linux-5.10/fs/gfs2/
Dfile.c185 flags &= ~(S_SYNC|S_APPEND|S_IMMUTABLE|S_NOATIME|S_DIRSYNC|S_NOSEC); in gfs2_set_inode_flags()
189 flags |= S_IMMUTABLE; in gfs2_set_inode_flags()
/kernel/linux/linux-5.10/fs/overlayfs/
Doverlayfs.h504 unsigned int mask = S_SYNC | S_IMMUTABLE | S_APPEND | S_NOATIME; in ovl_copyflags()
/kernel/linux/linux-5.10/fs/reiserfs/
Dsuper.c2457 inode_set_flags(inode, S_IMMUTABLE | S_NOATIME, in reiserfs_quota_on()
2458 S_IMMUTABLE | S_NOATIME); in reiserfs_quota_on()
2483 inode_set_flags(inode, 0, S_IMMUTABLE | S_NOATIME); in reiserfs_quota_off()
Dinode.c3077 inode->i_flags |= S_IMMUTABLE; in sd_attrs_to_i_attrs()
3079 inode->i_flags &= ~S_IMMUTABLE; in sd_attrs_to_i_attrs()
/kernel/linux/linux-5.10/fs/zonefs/
Dsuper.c244 inode->i_flags |= S_IMMUTABLE; in zonefs_check_zone_condition()
260 inode->i_flags |= S_IMMUTABLE; in zonefs_check_zone_condition()
/kernel/linux/linux-5.10/include/linux/
Dfs.h1977 #define S_IMMUTABLE (1 << 3) /* Immutable file */ macro
2023 #define IS_IMMUTABLE(inode) ((inode)->i_flags & S_IMMUTABLE)

12