Searched refs:i_diflags2 (Results 1 – 17 of 17) sorted by relevance
75 (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 …]
254 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()
805 ip->i_diflags2 |= XFS_DIFLAG2_NREXT64; in xfs_iext_count_extend()
6527 if (ip->i_diflags2 & XFS_DIFLAG2_COWEXTSIZE) in xfs_get_cowextsz_hint()
1251 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 …]
70 uint64_t i_diflags2; /* XFS_DIFLAG2_... */ member277 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()
472 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()
1018 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()
1229 (src->i_diflags2 & XFS_DIFLAG2_COWEXTSIZE) && in xfs_file_remap_range()1231 !(dest->i_diflags2 & XFS_DIFLAG2_COWEXTSIZE)) in xfs_file_remap_range()
1263 if (ip->i_diflags2 & XFS_DIFLAG2_DAX) in xfs_inode_should_enable_dax()
123 ip->i_diflags2 = mp->m_ino_geo.new_diflags2; in xfs_inode_alloc()
998 ip->i_diflags2 &= ~XFS_DIFLAG2_REFLINK; in xfs_itruncate_clear_reflink_flags()
1657 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()
471 sc->ip->i_diflags2 &= ~XFS_DIFLAG2_REFLINK; in xrep_quota_data_fork()
493 sc->ip->i_diflags2 |= XFS_DIFLAG2_REFLINK; in xrep_bmap_reset_counters()
966 if (xfs_has_metadir(mp) && (ip->i_diflags2 & XFS_DIFLAG2_METADATA)) in xrep_is_tempfile()
2447 __entry->flags2 = sc->ip->i_diflags2;