Searched refs:i_diflags2 (Results 1 – 13 of 13) sorted by relevance
1388 tip_flags2 = tip->i_diflags2; in xfs_swap_extent_rmap()1389 if (ip->i_diflags2 & XFS_DIFLAG2_REFLINK) in xfs_swap_extent_rmap()1390 tip->i_diflags2 |= XFS_DIFLAG2_REFLINK; in xfs_swap_extent_rmap()1483 tip->i_diflags2 = tip_flags2; in xfs_swap_extent_rmap()1488 tip->i_diflags2 = tip_flags2; in xfs_swap_extent_rmap()1784 if ((ip->i_diflags2 & XFS_DIFLAG2_REFLINK) ^ in xfs_swap_extents()1785 (tip->i_diflags2 & XFS_DIFLAG2_REFLINK)) { in xfs_swap_extents()1786 f = ip->i_diflags2 & XFS_DIFLAG2_REFLINK; in xfs_swap_extents()1787 ip->i_diflags2 &= ~XFS_DIFLAG2_REFLINK; in xfs_swap_extents()1788 ip->i_diflags2 |= tip->i_diflags2 & XFS_DIFLAG2_REFLINK; in xfs_swap_extents()[all …]
68 uint64_t i_diflags2; /* XFS_DIFLAG2_... */ member260 return ip->i_diflags2 & XFS_DIFLAG2_REFLINK; in xfs_is_reflink_inode()282 return ip->i_diflags2 & XFS_DIFLAG2_BIGTIME; in xfs_inode_has_bigtime()287 return ip->i_diflags2 & XFS_DIFLAG2_NREXT64; in xfs_inode_has_large_extent_counts()
86 if (ip->i_diflags2 & XFS_DIFLAG2_COWEXTSIZE) in xfs_get_cowextsz_hint()632 if (ip->i_diflags2 & XFS_DIFLAG2_ANY) { in xfs_ip2xflags()633 if (ip->i_diflags2 & XFS_DIFLAG2_DAX) in xfs_ip2xflags()635 if (ip->i_diflags2 & XFS_DIFLAG2_COWEXTSIZE) in xfs_ip2xflags()758 if (pip->i_diflags2 & XFS_DIFLAG2_COWEXTSIZE) { in xfs_inode_inherit_flags2()759 ip->i_diflags2 |= XFS_DIFLAG2_COWEXTSIZE; in xfs_inode_inherit_flags2()762 if (pip->i_diflags2 & XFS_DIFLAG2_DAX) in xfs_inode_inherit_flags2()763 ip->i_diflags2 |= XFS_DIFLAG2_DAX; in xfs_inode_inherit_flags2()767 VFS_I(ip)->i_mode, ip->i_diflags, ip->i_diflags2); in xfs_inode_inherit_flags2()769 ip->i_diflags2 &= ~XFS_DIFLAG2_COWEXTSIZE; in xfs_inode_inherit_flags2()[all …]
1016 if (ip->i_diflags2 & XFS_DIFLAG2_COWEXTSIZE) in xfs_fill_fsxattr()1104 (ip->i_diflags2 & (XFS_DIFLAG2_REFLINK | in xfs_flags2diflags2()1139 ip->i_diflags2 &= ~XFS_DIFLAG2_REFLINK; in xfs_ioctl_setattr_xflags()1151 ip->i_diflags2 = i_flags2; in xfs_ioctl_setattr_xflags()1175 !(ip->i_diflags2 & XFS_DIFLAG2_DAX)) || in xfs_ioctl_setattr_prepare_dax()1177 (ip->i_diflags2 & XFS_DIFLAG2_DAX))) in xfs_ioctl_setattr_prepare_dax()1401 if (ip->i_diflags2 & XFS_DIFLAG2_COWEXTSIZE) in xfs_fileattr_set()
1044 src->i_diflags2 |= XFS_DIFLAG2_REFLINK; in xfs_reflink_set_inode_flag()1056 dest->i_diflags2 |= XFS_DIFLAG2_REFLINK; in xfs_reflink_set_inode_flag()1105 dest->i_diflags2 |= XFS_DIFLAG2_COWEXTSIZE; in xfs_reflink_update_dest()1632 ip->i_diflags2 &= ~XFS_DIFLAG2_REFLINK; in xfs_reflink_clear_inode_flag()
125 if (ip->i_diflags2 & XFS_DIFLAG2_COWEXTSIZE) in xfs_bulkstat_one_int()
1148 (src->i_diflags2 & XFS_DIFLAG2_COWEXTSIZE) && in xfs_file_remap_range()1150 !(dest->i_diflags2 & XFS_DIFLAG2_COWEXTSIZE)) in xfs_file_remap_range()
405 to->di_flags2 = ip->i_diflags2; in xfs_inode_to_log_dinode()
1212 if (ip->i_diflags2 & XFS_DIFLAG2_DAX) in xfs_inode_should_enable_dax()
107 ip->i_diflags2 = mp->m_ino_geo.new_diflags2; in xfs_inode_alloc()
141 ip->i_diflags2 |= XFS_DIFLAG2_BIGTIME; in xfs_trans_log_inode()
241 ip->i_diflags2 = be64_to_cpu(from->di_flags2); in xfs_inode_from_disk()335 to->di_flags2 = cpu_to_be64(ip->i_diflags2); in xfs_inode_to_disk()
775 ip->i_diflags2 |= XFS_DIFLAG2_NREXT64; in xfs_iext_count_upgrade()