Home
last modified time | relevance | path

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

/Linux-v5.4/fs/
Dattr.c240 if (IS_IMMUTABLE(inode) || IS_APPEND(inode)) in notify_change()
249 if (IS_IMMUTABLE(inode)) in notify_change()
Dxattr.c93 if (IS_IMMUTABLE(inode) || IS_APPEND(inode)) in xattr_permission()
Dopen.c275 if (IS_IMMUTABLE(inode)) in vfs_fallocate()
Dnamei.c437 if (IS_IMMUTABLE(inode)) in inode_permission()
2804 IS_IMMUTABLE(inode) || IS_SWAPFILE(inode) || HAS_UNMAPPED_ID(inode)) in may_delete()
4206 if (IS_APPEND(inode) || IS_IMMUTABLE(inode)) in vfs_link()
Dread_write.c1956 if (IS_IMMUTABLE(inode_out)) in generic_remap_file_range_prep()
/Linux-v5.4/fs/hpfs/
Dfile.c66 if (IS_IMMUTABLE(i)) return /*-EPERM*/; in hpfs_truncate()
/Linux-v5.4/security/integrity/evm/
Devm_main.c204 !IS_IMMUTABLE(inode)) { in evm_verify_hmac()
/Linux-v5.4/fs/gfs2/
Dinode.c948 if (IS_IMMUTABLE(inode) || IS_APPEND(inode)) in gfs2_link()
1032 if (IS_IMMUTABLE(&ip->i_inode) || IS_APPEND(&ip->i_inode)) in gfs2_unlink_ok()
1823 if ((mask & MAY_WRITE) && IS_IMMUTABLE(inode)) in gfs2_permission()
1953 if (IS_IMMUTABLE(inode) || IS_APPEND(inode)) in gfs2_setattr()
Dfile.c250 if (IS_IMMUTABLE(inode) && (new_flags & GFS2_DIF_IMMUTABLE)) in do_gfs2_set_flags()
257 if (!IS_IMMUTABLE(inode)) { in do_gfs2_set_flags()
Dxattr.c1166 if (IS_IMMUTABLE(inode) || IS_APPEND(inode)) in __gfs2_xattr_set()
/Linux-v5.4/fs/xfs/
Dxfs_ioctl.c220 if ((fmode & FMODE_WRITE) && IS_IMMUTABLE(inode)) { in xfs_open_by_handle()
350 if (IS_IMMUTABLE(d_inode(dentry)) || IS_APPEND(d_inode(dentry))) { in xfs_fssetdm_by_handle()
464 if (IS_IMMUTABLE(inode) || IS_APPEND(inode)) in xfs_attrmulti_attr_set()
488 if (IS_IMMUTABLE(inode) || IS_APPEND(inode)) in xfs_attrmulti_attr_remove()
Dxfs_ioctl32.c523 if (IS_IMMUTABLE(d_inode(dentry)) || IS_APPEND(d_inode(dentry))) { in xfs_compat_fssetdm_by_handle()
/Linux-v5.4/fs/ext4/
Dfile.c169 if (unlikely(IS_IMMUTABLE(inode))) in ext4_write_checks()
Dioctl.c141 if (IS_RDONLY(inode) || IS_APPEND(inode) || IS_IMMUTABLE(inode) || in swap_inode_boot_loader()
365 if (S_ISREG(inode->i_mode) && !IS_IMMUTABLE(inode) && in ext4_ioctl_setflags()
Dmove_extent.c467 if (IS_IMMUTABLE(donor_inode) || IS_APPEND(donor_inode)) in mext_check_arguments()
Dinode.c5054 if (IS_APPEND(inode) || IS_IMMUTABLE(inode)) { in __ext4_iget()
5514 if (unlikely(IS_IMMUTABLE(inode))) in ext4_setattr()
6200 if (unlikely(IS_IMMUTABLE(inode))) in ext4_page_mkwrite()
/Linux-v5.4/fs/nfsd/
Dvfs.c2017 IS_IMMUTABLE(inode)? " immut" : "", in nfsd_permission()
2033 if (/* (acc & NFSD_MAY_WRITE) && */ IS_IMMUTABLE(inode)) in nfsd_permission()
/Linux-v5.4/fs/nilfs2/
Dinode.c732 if (IS_APPEND(inode) || IS_IMMUTABLE(inode)) in nilfs_truncate()
/Linux-v5.4/fs/ext2/
Dinode.c1291 if (IS_APPEND(inode) || IS_IMMUTABLE(inode)) in ext2_setsize()
/Linux-v5.4/fs/ufs/
Dinode.c1194 if (IS_APPEND(inode) || IS_IMMUTABLE(inode)) in ufs_truncate()
/Linux-v5.4/mm/
Dfilemap.c3112 if (IS_IMMUTABLE(inode_out)) in generic_copy_file_checks()
/Linux-v5.4/fs/udf/
Dinode.c1234 if (IS_APPEND(inode) || IS_IMMUTABLE(inode)) in udf_setsize()
/Linux-v5.4/include/linux/
Dfs.h2022 #define IS_IMMUTABLE(inode) ((inode)->i_flags & S_IMMUTABLE) macro
/Linux-v5.4/fs/ocfs2/
Drefcounttree.c4377 if (IS_APPEND(inode) || IS_IMMUTABLE(inode)) in ocfs2_vfs_reflink()
/Linux-v5.4/fs/btrfs/
Dioctl.c917 IS_IMMUTABLE(d_inode(victim)) || IS_SWAPFILE(d_inode(victim))) in btrfs_may_delete()