Home
last modified time | relevance | path

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

12

/linux-6.6.21/fs/efivarfs/
Dinode.c29 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/
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.c845 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/
Dioctl.c39 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/
Dinode.c211 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()
Dcatalog.c83 if (inode->i_flags & S_IMMUTABLE) in hfsplus_cat_set_perms()
/linux-6.6.21/fs/fat/
Dfile.c106 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/
Dorangefs-utils.c88 flags |= S_IMMUTABLE; in orangefs_inode_flags()
90 flags &= ~S_IMMUTABLE; in orangefs_inode_flags()
/linux-6.6.21/fs/
Dnsfs.c88 inode->i_flags |= S_IMMUTABLE; in __ns_get_path()
Dstat.c84 if (inode->i_flags & S_IMMUTABLE) in generic_fill_statx_attr()
/linux-6.6.21/fs/ocfs2/
Dinode.c75 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()
Dmove_extents.c994 if (inode->i_flags & (S_IMMUTABLE|S_APPEND)) { in ocfs2_ioctl_move_extents()
/linux-6.6.21/fs/ext2/
Dsuper.c1593 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()
Dinode.c1352 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/
Doverlayfs.h760 #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)
Dutil.c844 iflags |= S_IMMUTABLE; in ovl_check_protattr()
873 iflags |= S_IMMUTABLE; in ovl_set_protattr()
Dinode.c829 if (inode->i_flags & S_IMMUTABLE) { in ovl_fileattr_prot_flags()
/linux-6.6.21/fs/xfs/
Dxfs_iops.c1236 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/
Dinode.c48 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/
Dsuper.c234 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/
Dinode.c432 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/
Dfile.c189 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/
Dsuper.c2447 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/
Dinode.c474 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/
Dfs.h2097 #define S_IMMUTABLE (1 << 3) /* Immutable file */ macro
2144 #define IS_IMMUTABLE(inode) ((inode)->i_flags & S_IMMUTABLE)

12