Home
last modified time | relevance | path

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

/linux/fs/efivarfs/
H A Dinode.c33 inode->i_flags = is_removable ? 0 : S_IMMUTABLE; in efivarfs_get_inode()
162 if (i_flags & S_IMMUTABLE) in efivarfs_fileattr_get()
183 i_flags |= S_IMMUTABLE; in efivarfs_fileattr_set()
185 inode_set_flags(d_inode(dentry), i_flags, S_IMMUTABLE); in efivarfs_fileattr_set()
/linux/fs/jfs/
H A 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()
/linux/fs/hfsplus/
H A Dinode.c206 inode->i_flags |= S_IMMUTABLE; in hfsplus_get_perms()
208 inode->i_flags &= ~S_IMMUTABLE; in hfsplus_get_perms()
288 if (inode->i_flags & S_IMMUTABLE) in hfsplus_getattr()
663 if (inode->i_flags & S_IMMUTABLE) in hfsplus_fileattr_get()
690 new_fl |= S_IMMUTABLE; in hfsplus_fileattr_set()
695 inode_set_flags(inode, new_fl, S_IMMUTABLE | S_APPEND); in hfsplus_fileattr_set()
H A Dcatalog.c83 if (inode->i_flags & S_IMMUTABLE) in hfsplus_cat_set_perms()
/linux/fs/ubifs/
H A 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/fs/bcachefs/
H A Dfs-ioctl.h10 [__BCH_INODE_immutable] = S_IMMUTABLE,
/linux/fs/ntfs3/
H A Dfile.c61 if (inode->i_flags & S_IMMUTABLE) in ntfs_fileattr_get()
96 new_fl |= S_IMMUTABLE; in ntfs_fileattr_set()
110 inode_set_flags(inode, new_fl, S_IMMUTABLE | S_APPEND); in ntfs_fileattr_set()
154 if (inode->i_flags & S_IMMUTABLE) in ntfs_getattr()
H A Dinode.c479 inode->i_flags |= S_IMMUTABLE; in ntfs_read_mft()
481 inode->i_flags &= ~S_IMMUTABLE; in ntfs_read_mft()
/linux/fs/fat/
H A Dfile.c106 inode->i_flags |= S_IMMUTABLE; in fat_ioctl_set_attributes()
108 inode->i_flags &= ~S_IMMUTABLE; in fat_ioctl_set_attributes()
H A Dinode.c556 inode->i_flags |= S_IMMUTABLE; in fat_fill_inode()
/linux/fs/orangefs/
H A Dorangefs-utils.c88 flags |= S_IMMUTABLE; in orangefs_inode_flags()
90 flags &= ~S_IMMUTABLE; in orangefs_inode_flags()
/linux/fs/ext2/
H A 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()
H A Dinode.c1350 inode->i_flags &= ~(S_SYNC | S_APPEND | S_IMMUTABLE | S_NOATIME | in ext2_set_inode_flags()
1357 inode->i_flags |= S_IMMUTABLE; in ext2_set_inode_flags()
/linux/fs/xfs/
H A Dxfs_iops.c1280 flags |= S_IMMUTABLE; in xfs_diflags_to_iflags()
1294 inode->i_flags &= ~(S_IMMUTABLE | S_APPEND | S_SYNC | S_NOATIME); in xfs_diflags_to_iflags()
/linux/fs/nilfs2/
H A Dinode.c387 new_fl |= S_IMMUTABLE; in nilfs_set_inode_flags()
392 inode_set_flags(inode, new_fl, S_SYNC | S_APPEND | S_IMMUTABLE | in nilfs_set_inode_flags()
/linux/fs/zonefs/
H A Dsuper.c235 inode->i_flags |= S_IMMUTABLE; in zonefs_inode_update_mode()
239 inode->i_flags |= S_IMMUTABLE; in zonefs_inode_update_mode()
/linux/fs/gfs2/
H A 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/fs/
H A Dstat.c126 if (inode->i_flags & S_IMMUTABLE) in generic_fill_statx_attr()
H A Dlibfs.c2150 inode->i_flags |= S_IMMUTABLE; in prepare_anon_dentry()
/linux/include/linux/
H A Dfs.h2268 #define S_IMMUTABLE (1 << 3) /* Immutable file */ macro
2315 #define IS_IMMUTABLE(inode) ((inode)->i_flags & S_IMMUTABLE)
/linux/fs/ext4/
H A Dsuper.c7061 inode_set_flags(inode, S_NOATIME | S_IMMUTABLE, in ext4_quota_on()
7062 S_NOATIME | S_IMMUTABLE); in ext4_quota_on()
7203 inode_set_flags(inode, 0, S_NOATIME | S_IMMUTABLE); in ext4_quota_off()
H A Dinode.c4621 new_fl |= S_IMMUTABLE; in ext4_set_inode_flags()
4640 S_SYNC|S_APPEND|S_IMMUTABLE|S_NOATIME|S_DIRSYNC|S_DAX| in ext4_set_inode_flags()
/linux/fs/btrfs/
H A Dioctl.c178 new_fl |= S_IMMUTABLE; in btrfs_sync_inode_flags_to_i_flags()
189 S_SYNC | S_APPEND | S_IMMUTABLE | S_NOATIME | S_DIRSYNC | in btrfs_sync_inode_flags_to_i_flags()
/linux/mm/
H A Dshmem.c2841 i_flags |= S_IMMUTABLE; in shmem_set_inode_flags()
2845 inode_set_flags(inode, i_flags, S_NOATIME | S_APPEND | S_IMMUTABLE | S_CASEFOLD); in shmem_set_inode_flags()
/linux/fs/ocfs2/
H A Dfile.c1968 if (inode->i_flags & (S_IMMUTABLE|S_APPEND)) { in __ocfs2_change_file_space()