Home
last modified time | relevance | path

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

12

/linux-6.15/tools/testing/selftests/efivarfs/
H A Dopen-unlink.c33 flags |= FS_IMMUTABLE_FL; in set_immutable()
35 flags &= ~FS_IMMUTABLE_FL; in set_immutable()
63 if (flags & FS_IMMUTABLE_FL) in get_immutable()
/linux-6.15/fs/efivarfs/
H A Dinode.c148 flags |= FS_IMMUTABLE_FL; in efivarfs_fileattr_get()
164 if (fa->flags & ~FS_IMMUTABLE_FL) in efivarfs_fileattr_set()
167 if (fa->flags & FS_IMMUTABLE_FL) in efivarfs_fileattr_set()
/linux-6.15/fs/ubifs/
H A Dioctl.c23 FS_IMMUTABLE_FL | FS_DIRSYNC_FL)
70 if (ioctl_flags & FS_IMMUTABLE_FL) in ioctl2ubifs()
96 ioctl_flags |= FS_IMMUTABLE_FL; in ubifs2ioctl()
/linux-6.15/include/linux/
H A Dfileattr.h8 (FS_SYNC_FL | FS_IMMUTABLE_FL | FS_APPEND_FL | \
H A Dshmem_fs.h47 (FS_IMMUTABLE_FL | FS_APPEND_FL | FS_NODUMP_FL | FS_NOATIME_FL | FS_CASEFOLD_FL)
/linux-6.15/fs/jfs/
H A Dioctl.c38 {JFS_IMMUTABLE_FL, FS_IMMUTABLE_FL},
/linux-6.15/fs/orangefs/
H A Dprotocol.h129 #define ORANGEFS_IMMUTABLE_FL FS_IMMUTABLE_FL
H A Dinode.c925 (fa->flags & ~(FS_IMMUTABLE_FL | FS_APPEND_FL | FS_NOATIME_FL | ORANGEFS_MIRROR_FL))) { in orangefs_fileattr_set()
/linux-6.15/fs/hfsplus/
H A Dinode.c664 flags |= FS_IMMUTABLE_FL; in hfsplus_fileattr_get()
686 if (fa->flags & ~(FS_IMMUTABLE_FL|FS_APPEND_FL|FS_NODUMP_FL)) in hfsplus_fileattr_set()
689 if (fa->flags & FS_IMMUTABLE_FL) in hfsplus_fileattr_set()
/linux-6.15/fs/
H A Dioctl.c470 fa->flags |= FS_IMMUTABLE_FL; in fileattr_fill_xflags()
501 if (fa->flags & FS_IMMUTABLE_FL) in fileattr_fill_flags()
594 if ((fa->flags ^ old_ma->flags) & (FS_APPEND_FL | FS_IMMUTABLE_FL) && in fileattr_set_prepare()
/linux-6.15/tools/include/uapi/linux/
H A Dfs.h268 #define FS_IMMUTABLE_FL 0x00000010 /* Immutable file */ macro
/linux-6.15/tools/perf/trace/beauty/include/uapi/linux/
H A Dfs.h275 #define FS_IMMUTABLE_FL 0x00000010 /* Immutable file */ macro
/linux-6.15/include/uapi/linux/
H A Dfs.h275 #define FS_IMMUTABLE_FL 0x00000010 /* Immutable file */ macro
/linux-6.15/fs/nilfs2/
H A Dnilfs.h241 FS_IMMUTABLE_FL | FS_APPEND_FL | FS_NODUMP_FL | FS_NOATIME_FL |\
H A Dinode.c390 if (flags & FS_IMMUTABLE_FL) in nilfs_set_inode_flags()
/linux-6.15/fs/ntfs3/
H A Dfile.c62 flags |= FS_IMMUTABLE_FL; in ntfs_fileattr_get()
92 if (flags & ~(FS_IMMUTABLE_FL | FS_APPEND_FL | FS_COMPR_FL)) in ntfs_fileattr_set()
95 if (flags & FS_IMMUTABLE_FL) in ntfs_fileattr_set()
/linux-6.15/fs/ext2/
H A Dext2.h227 #define EXT2_IMMUTABLE_FL FS_IMMUTABLE_FL /* Immutable file */
/linux-6.15/fs/ocfs2/
H A Docfs2_fs.h243 #define OCFS2_IMMUTABLE_FL FS_IMMUTABLE_FL /* Immutable file */
H A Dioctl.c115 if ((flags ^ oldflags) & (FS_APPEND_FL | FS_IMMUTABLE_FL) && in ocfs2_fileattr_set()
/linux-6.15/fs/overlayfs/
H A Doverlayfs.h813 #define OVL_PROT_FS_FLAGS_MASK (FS_APPEND_FL | FS_IMMUTABLE_FL)
H A Dinode.c710 fa->flags |= FS_IMMUTABLE_FL; in ovl_fileattr_prot_flags()
H A Dutil.c972 if (fa->flags & FS_IMMUTABLE_FL) { in ovl_set_protattr()
/linux-6.15/fs/xfs/
H A Dxfs_ioctl.c743 if (fa->flags & ~(FS_IMMUTABLE_FL | FS_APPEND_FL | in xfs_fileattr_set()
/linux-6.15/fs/gfs2/
H A Dfile.c134 {FS_IMMUTABLE_FL, GFS2_DIF_IMMUTABLE},
/linux-6.15/fs/btrfs/
H A Dioctl.c145 iflags |= FS_IMMUTABLE_FL; in btrfs_inode_flags_to_fsflags()
198 if (flags & ~(FS_IMMUTABLE_FL | FS_APPEND_FL | \ in check_fsflags()
289 if (fsflags & FS_IMMUTABLE_FL) in btrfs_fileattr_set()

12