Home
last modified time | relevance | path

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

12

/openbmc/linux/fs/efivarfs/
H A 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()
/openbmc/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()
H A 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()
/openbmc/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()
/openbmc/linux/fs/hfsplus/
H A 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()
H A Dcatalog.c83 if (inode->i_flags & S_IMMUTABLE) in hfsplus_cat_set_perms()
/openbmc/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()
/openbmc/linux/fs/orangefs/
H A Dorangefs-utils.c88 flags |= S_IMMUTABLE; in orangefs_inode_flags()
90 flags &= ~S_IMMUTABLE; in orangefs_inode_flags()
/openbmc/linux/fs/
H A Dnsfs.c88 inode->i_flags |= S_IMMUTABLE; in __ns_get_path()
H A Dstat.c84 if (inode->i_flags & S_IMMUTABLE) in generic_fill_statx_attr()
/openbmc/linux/fs/ocfs2/
H A 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()
H A Dmove_extents.c994 if (inode->i_flags & (S_IMMUTABLE|S_APPEND)) { in ocfs2_ioctl_move_extents()
/openbmc/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.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()
/openbmc/linux/fs/overlayfs/
H A 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)
H A Dutil.c847 iflags |= S_IMMUTABLE; in ovl_check_protattr()
876 iflags |= S_IMMUTABLE; in ovl_set_protattr()
H A Dinode.c834 if (inode->i_flags & S_IMMUTABLE) { in ovl_fileattr_prot_flags()
/openbmc/linux/fs/f2fs/
H A Dinode.c56 new_fl |= S_IMMUTABLE; in f2fs_set_inode_flags()
68 S_SYNC|S_APPEND|S_IMMUTABLE|S_NOATIME|S_DIRSYNC| in f2fs_set_inode_flags()
/openbmc/linux/fs/xfs/
H A Dxfs_iops.c1237 flags |= S_IMMUTABLE; in xfs_diflags_to_iflags()
1251 inode->i_flags &= ~(S_IMMUTABLE | S_APPEND | S_SYNC | S_NOATIME); in xfs_diflags_to_iflags()
/openbmc/linux/fs/zonefs/
H A Dsuper.c234 inode->i_flags |= S_IMMUTABLE; in zonefs_inode_update_mode()
238 inode->i_flags |= S_IMMUTABLE; in zonefs_inode_update_mode()
/openbmc/linux/fs/nilfs2/
H A Dinode.c436 new_fl |= S_IMMUTABLE; in nilfs_set_inode_flags()
441 inode_set_flags(inode, new_fl, S_SYNC | S_APPEND | S_IMMUTABLE | in nilfs_set_inode_flags()
/openbmc/linux/fs/reiserfs/
H A 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()
/openbmc/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()
/openbmc/linux/fs/ntfs3/
H A Dinode.c475 inode->i_flags |= S_IMMUTABLE; in ntfs_read_mft()
477 inode->i_flags &= ~S_IMMUTABLE; in ntfs_read_mft()
/openbmc/u-boot/fs/ubifs/
H A Dubifs.h509 #define S_IMMUTABLE 8 /* Immutable file */ macro

12