Home
last modified time | relevance | path

Searched refs:i_diflags2 (Results 1 – 17 of 17) sorted by relevance

/linux/fs/xfs/libxfs/
H A Dxfs_inode_util.c75 (ip->i_diflags2 & (XFS_DIFLAG2_REFLINK | in xfs_flags2diflags2()
124 if (ip->i_diflags2 & XFS_DIFLAG2_ANY) { in xfs_ip2xflags()
125 if (ip->i_diflags2 & XFS_DIFLAG2_DAX) in xfs_ip2xflags()
127 if (ip->i_diflags2 & XFS_DIFLAG2_COWEXTSIZE) in xfs_ip2xflags()
221 if (pip->i_diflags2 & XFS_DIFLAG2_COWEXTSIZE) { in xfs_inode_inherit_flags2()
222 ip->i_diflags2 |= XFS_DIFLAG2_COWEXTSIZE; in xfs_inode_inherit_flags2()
225 if (pip->i_diflags2 & XFS_DIFLAG2_DAX) in xfs_inode_inherit_flags2()
226 ip->i_diflags2 |= XFS_DIFLAG2_DAX; in xfs_inode_inherit_flags2()
228 ip->i_diflags2 |= XFS_DIFLAG2_METADATA; in xfs_inode_inherit_flags2()
232 VFS_I(ip)->i_mode, ip->i_diflags, ip->i_diflags2); in xfs_inode_inherit_flags2()
[all …]
H A Dxfs_inode_buf.c254 ip->i_diflags2 = be64_to_cpu(from->di_flags2); in xfs_inode_from_disk()
351 to->di_flags2 = cpu_to_be64(ip->i_diflags2); in xfs_inode_to_disk()
H A Dxfs_inode_fork.c805 ip->i_diflags2 |= XFS_DIFLAG2_NREXT64; in xfs_iext_count_extend()
H A Dxfs_bmap.c6527 if (ip->i_diflags2 & XFS_DIFLAG2_COWEXTSIZE) in xfs_get_cowextsz_hint()
/linux/fs/xfs/
H A Dxfs_bmap_util.c1251 tip_flags2 = tip->i_diflags2; in xfs_swap_extent_rmap()
1252 if (ip->i_diflags2 & XFS_DIFLAG2_REFLINK) in xfs_swap_extent_rmap()
1253 tip->i_diflags2 |= XFS_DIFLAG2_REFLINK; in xfs_swap_extent_rmap()
1340 tip->i_diflags2 = tip_flags2; in xfs_swap_extent_rmap()
1345 tip->i_diflags2 = tip_flags2; in xfs_swap_extent_rmap()
1656 if ((ip->i_diflags2 & XFS_DIFLAG2_REFLINK) ^ in xfs_swap_extents()
1657 (tip->i_diflags2 & XFS_DIFLAG2_REFLINK)) { in xfs_swap_extents()
1658 f = ip->i_diflags2 & XFS_DIFLAG2_REFLINK; in xfs_swap_extents()
1659 ip->i_diflags2 &= ~XFS_DIFLAG2_REFLINK; in xfs_swap_extents()
1660 ip->i_diflags2 |= tip->i_diflags2 & XFS_DIFLAG2_REFLINK; in xfs_swap_extents()
[all …]
H A Dxfs_inode.h70 uint64_t i_diflags2; /* XFS_DIFLAG2_... */ member
277 return ip->i_diflags2 & XFS_DIFLAG2_REFLINK; in xfs_is_reflink_inode()
282 return ip->i_diflags2 & XFS_DIFLAG2_METADATA; in xfs_is_metadir_inode()
325 return ip->i_diflags2 & XFS_DIFLAG2_BIGTIME; in xfs_inode_has_bigtime()
330 return ip->i_diflags2 & XFS_DIFLAG2_NREXT64; in xfs_inode_has_large_extent_counts()
H A Dxfs_ioctl.c472 if (ip->i_diflags2 & XFS_DIFLAG2_COWEXTSIZE) in xfs_fill_fsxattr()
547 ip->i_diflags2 &= ~XFS_DIFLAG2_REFLINK; in xfs_ioctl_setattr_xflags()
556 ip->i_diflags2 = i_flags2; in xfs_ioctl_setattr_xflags()
588 !(ip->i_diflags2 & XFS_DIFLAG2_DAX)) || in xfs_ioctl_setattr_prepare_dax()
590 (ip->i_diflags2 & XFS_DIFLAG2_DAX))) in xfs_ioctl_setattr_prepare_dax()
814 if (ip->i_diflags2 & XFS_DIFLAG2_COWEXTSIZE) in xfs_fileattr_set()
H A Dxfs_reflink.c1018 src->i_diflags2 |= XFS_DIFLAG2_REFLINK; in xfs_reflink_set_inode_flag()
1030 dest->i_diflags2 |= XFS_DIFLAG2_REFLINK; in xfs_reflink_set_inode_flag()
1079 dest->i_diflags2 |= XFS_DIFLAG2_COWEXTSIZE; in xfs_reflink_update_dest()
1615 ip->i_diflags2 &= ~XFS_DIFLAG2_REFLINK; in xfs_reflink_clear_inode_flag()
H A Dxfs_file.c1229 (src->i_diflags2 & XFS_DIFLAG2_COWEXTSIZE) && in xfs_file_remap_range()
1231 !(dest->i_diflags2 & XFS_DIFLAG2_COWEXTSIZE)) in xfs_file_remap_range()
H A Dxfs_iops.c1263 if (ip->i_diflags2 & XFS_DIFLAG2_DAX) in xfs_inode_should_enable_dax()
H A Dxfs_icache.c123 ip->i_diflags2 = mp->m_ino_geo.new_diflags2; in xfs_inode_alloc()
H A Dxfs_inode.c998 ip->i_diflags2 &= ~XFS_DIFLAG2_REFLINK; in xfs_itruncate_clear_reflink_flags()
/linux/fs/xfs/scrub/
H A Dinode_repair.c1657 if (sc->ip->i_diflags2 & ~XFS_DIFLAG2_ANY) in xrep_inode_flags()
1658 sc->ip->i_diflags2 &= ~XFS_DIFLAG2_ANY; in xrep_inode_flags()
1662 sc->ip->i_diflags2 &= ~XFS_DIFLAG2_REFLINK; in xrep_inode_flags()
1666 sc->ip->i_diflags2 &= ~XFS_DIFLAG2_DAX; in xrep_inode_flags()
1670 sc->ip->i_diflags2 &= ~XFS_DIFLAG2_REFLINK; in xrep_inode_flags()
H A Dquota_repair.c471 sc->ip->i_diflags2 &= ~XFS_DIFLAG2_REFLINK; in xrep_quota_data_fork()
H A Dbmap_repair.c493 sc->ip->i_diflags2 |= XFS_DIFLAG2_REFLINK; in xrep_bmap_reset_counters()
H A Dtempfile.c966 if (xfs_has_metadir(mp) && (ip->i_diflags2 & XFS_DIFLAG2_METADATA)) in xrep_is_tempfile()
H A Dtrace.h2447 __entry->flags2 = sc->ip->i_diflags2;