Searched refs:i_diflags2 (Results 1 – 13 of 13) sorted by relevance
68 uint64_t i_diflags2; /* XFS_DIFLAG2_... */ member196 return ip->i_diflags2 & XFS_DIFLAG2_REFLINK; in xfs_is_reflink_inode()218 return ip->i_diflags2 & XFS_DIFLAG2_BIGTIME; in xfs_inode_has_bigtime()223 return ip->i_diflags2 & XFS_DIFLAG2_NREXT64; in xfs_inode_has_large_extent_counts()
1387 tip_flags2 = tip->i_diflags2; in xfs_swap_extent_rmap()1388 if (ip->i_diflags2 & XFS_DIFLAG2_REFLINK) in xfs_swap_extent_rmap()1389 tip->i_diflags2 |= XFS_DIFLAG2_REFLINK; in xfs_swap_extent_rmap()1482 tip->i_diflags2 = tip_flags2; in xfs_swap_extent_rmap()1487 tip->i_diflags2 = tip_flags2; in xfs_swap_extent_rmap()1783 if ((ip->i_diflags2 & XFS_DIFLAG2_REFLINK) ^ in xfs_swap_extents()1784 (tip->i_diflags2 & XFS_DIFLAG2_REFLINK)) { in xfs_swap_extents()1785 f = ip->i_diflags2 & XFS_DIFLAG2_REFLINK; in xfs_swap_extents()1786 ip->i_diflags2 &= ~XFS_DIFLAG2_REFLINK; in xfs_swap_extents()1787 ip->i_diflags2 |= tip->i_diflags2 & XFS_DIFLAG2_REFLINK; in xfs_swap_extents()[all …]
85 if (ip->i_diflags2 & XFS_DIFLAG2_COWEXTSIZE) in xfs_get_cowextsz_hint()631 if (ip->i_diflags2 & XFS_DIFLAG2_ANY) { in xfs_ip2xflags()632 if (ip->i_diflags2 & XFS_DIFLAG2_DAX) in xfs_ip2xflags()634 if (ip->i_diflags2 & XFS_DIFLAG2_COWEXTSIZE) in xfs_ip2xflags()757 if (pip->i_diflags2 & XFS_DIFLAG2_COWEXTSIZE) { in xfs_inode_inherit_flags2()758 ip->i_diflags2 |= XFS_DIFLAG2_COWEXTSIZE; in xfs_inode_inherit_flags2()761 if (pip->i_diflags2 & XFS_DIFLAG2_DAX) in xfs_inode_inherit_flags2()762 ip->i_diflags2 |= XFS_DIFLAG2_DAX; in xfs_inode_inherit_flags2()766 VFS_I(ip)->i_mode, ip->i_diflags, ip->i_diflags2); in xfs_inode_inherit_flags2()768 ip->i_diflags2 &= ~XFS_DIFLAG2_COWEXTSIZE; in xfs_inode_inherit_flags2()[all …]
1010 if (ip->i_diflags2 & XFS_DIFLAG2_COWEXTSIZE) in xfs_fill_fsxattr()1098 (ip->i_diflags2 & (XFS_DIFLAG2_REFLINK | in xfs_flags2diflags2()1133 ip->i_diflags2 &= ~XFS_DIFLAG2_REFLINK; in xfs_ioctl_setattr_xflags()1145 ip->i_diflags2 = i_flags2; in xfs_ioctl_setattr_xflags()1169 !(ip->i_diflags2 & XFS_DIFLAG2_DAX)) || in xfs_ioctl_setattr_prepare_dax()1171 (ip->i_diflags2 & XFS_DIFLAG2_DAX))) in xfs_ioctl_setattr_prepare_dax()1395 if (ip->i_diflags2 & XFS_DIFLAG2_COWEXTSIZE) in xfs_fileattr_set()
913 src->i_diflags2 |= XFS_DIFLAG2_REFLINK; in xfs_reflink_set_inode_flag()925 dest->i_diflags2 |= XFS_DIFLAG2_REFLINK; in xfs_reflink_set_inode_flag()974 dest->i_diflags2 |= XFS_DIFLAG2_COWEXTSIZE; in xfs_reflink_update_dest()1494 ip->i_diflags2 &= ~XFS_DIFLAG2_REFLINK; in xfs_reflink_clear_inode_flag()
121 if (ip->i_diflags2 & XFS_DIFLAG2_COWEXTSIZE) in xfs_bulkstat_one_int()
1142 (src->i_diflags2 & XFS_DIFLAG2_COWEXTSIZE) && in xfs_file_remap_range()1144 !(dest->i_diflags2 & XFS_DIFLAG2_COWEXTSIZE)) in xfs_file_remap_range()
405 to->di_flags2 = ip->i_diflags2; in xfs_inode_to_log_dinode()
1197 if (ip->i_diflags2 & XFS_DIFLAG2_DAX) in xfs_inode_should_enable_dax()
106 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()
242 ip->i_diflags2 = be64_to_cpu(from->di_flags2); in xfs_inode_from_disk()336 to->di_flags2 = cpu_to_be64(ip->i_diflags2); in xfs_inode_to_disk()
772 ip->i_diflags2 |= XFS_DIFLAG2_NREXT64; in xfs_iext_count_upgrade()