Home
last modified time | relevance | path

Searched refs:XFS_DIFLAG2_REFLINK (Results 1 – 13 of 13) sorted by relevance

/linux-6.12.1/fs/xfs/
Dxfs_bmap_util.c1256 if (ip->i_diflags2 & XFS_DIFLAG2_REFLINK) in xfs_swap_extent_rmap()
1257 tip->i_diflags2 |= XFS_DIFLAG2_REFLINK; in xfs_swap_extent_rmap()
1648 if ((ip->i_diflags2 & XFS_DIFLAG2_REFLINK) ^ in xfs_swap_extents()
1649 (tip->i_diflags2 & XFS_DIFLAG2_REFLINK)) { in xfs_swap_extents()
1650 f = ip->i_diflags2 & XFS_DIFLAG2_REFLINK; in xfs_swap_extents()
1651 ip->i_diflags2 &= ~XFS_DIFLAG2_REFLINK; in xfs_swap_extents()
1652 ip->i_diflags2 |= tip->i_diflags2 & XFS_DIFLAG2_REFLINK; in xfs_swap_extents()
1653 tip->i_diflags2 &= ~XFS_DIFLAG2_REFLINK; in xfs_swap_extents()
1654 tip->i_diflags2 |= f & XFS_DIFLAG2_REFLINK; in xfs_swap_extents()
Dxfs_reflink.c1019 src->i_diflags2 |= XFS_DIFLAG2_REFLINK; in xfs_reflink_set_inode_flag()
1031 dest->i_diflags2 |= XFS_DIFLAG2_REFLINK; in xfs_reflink_set_inode_flag()
1616 ip->i_diflags2 &= ~XFS_DIFLAG2_REFLINK; in xfs_reflink_clear_inode_flag()
Dxfs_inode.h276 return ip->i_diflags2 & XFS_DIFLAG2_REFLINK; in xfs_is_reflink_inode()
Dxfs_ioctl.c507 ip->i_diflags2 &= ~XFS_DIFLAG2_REFLINK; in xfs_ioctl_setattr_xflags()
Dxfs_inode.c986 ip->i_diflags2 &= ~XFS_DIFLAG2_REFLINK; in xfs_itruncate_clear_reflink_flags()
/linux-6.12.1/fs/xfs/scrub/
Dinode.c327 if ((flags2 & XFS_DIFLAG2_REFLINK) && in xchk_inode_flags2()
338 if ((flags2 & XFS_DIFLAG2_REFLINK) && !S_ISREG(mode)) in xchk_inode_flags2()
342 if ((flags & XFS_DIFLAG_REALTIME) && (flags2 & XFS_DIFLAG2_REFLINK)) in xchk_inode_flags2()
520 if (flags2 & XFS_DIFLAG2_REFLINK) { in xchk_dinode()
Dinode_repair.c555 flags2 |= XFS_DIFLAG2_REFLINK; in xrep_dinode_flags()
557 flags2 &= ~(XFS_DIFLAG2_REFLINK | XFS_DIFLAG2_COWEXTSIZE); in xrep_dinode_flags()
559 flags2 &= ~XFS_DIFLAG2_REFLINK; in xrep_dinode_flags()
1646 sc->ip->i_diflags2 &= ~XFS_DIFLAG2_REFLINK; in xrep_inode_flags()
1654 sc->ip->i_diflags2 &= ~XFS_DIFLAG2_REFLINK; in xrep_inode_flags()
Dquota_repair.c471 sc->ip->i_diflags2 &= ~XFS_DIFLAG2_REFLINK; in xrep_quota_data_fork()
Dbmap_repair.c496 sc->ip->i_diflags2 |= XFS_DIFLAG2_REFLINK; in xrep_bmap_reset_counters()
/linux-6.12.1/fs/xfs/libxfs/
Dxfs_inode_buf.c643 if ((flags2 & (XFS_DIFLAG2_REFLINK | XFS_DIFLAG2_COWEXTSIZE)) && in xfs_dinode_verify()
648 if ((flags2 & XFS_DIFLAG2_REFLINK) && (mode & S_IFMT) != S_IFREG) in xfs_dinode_verify()
652 if ((flags2 & XFS_DIFLAG2_REFLINK) && (flags & XFS_DIFLAG_REALTIME)) in xfs_dinode_verify()
Dxfs_exchmaps.c536 ip->i_diflags2 &= ~XFS_DIFLAG2_REFLINK; in xfs_exchmaps_clear_reflink()
1148 ip->i_diflags2 |= XFS_DIFLAG2_REFLINK; in xfs_exchmaps_set_reflink()
Dxfs_format.h1098 #define XFS_DIFLAG2_REFLINK (1 << XFS_DIFLAG2_REFLINK_BIT) macro
1104 (XFS_DIFLAG2_DAX | XFS_DIFLAG2_REFLINK | XFS_DIFLAG2_COWEXTSIZE | \
Dxfs_inode_util.c75 (ip->i_diflags2 & (XFS_DIFLAG2_REFLINK | in xfs_flags2diflags2()