Searched refs:di_flags2 (Results 1 – 14 of 14) sorted by relevance
1505 tip_flags2 = tip->i_d.di_flags2; in xfs_swap_extent_rmap()1506 if (ip->i_d.di_flags2 & XFS_DIFLAG2_REFLINK) in xfs_swap_extent_rmap()1507 tip->i_d.di_flags2 |= XFS_DIFLAG2_REFLINK; in xfs_swap_extent_rmap()1578 tip->i_d.di_flags2 = tip_flags2; in xfs_swap_extent_rmap()1583 tip->i_d.di_flags2 = tip_flags2; in xfs_swap_extent_rmap()1876 if ((ip->i_d.di_flags2 & XFS_DIFLAG2_REFLINK) ^ in xfs_swap_extents()1877 (tip->i_d.di_flags2 & XFS_DIFLAG2_REFLINK)) { in xfs_swap_extents()1878 f = ip->i_d.di_flags2 & XFS_DIFLAG2_REFLINK; in xfs_swap_extents()1879 ip->i_d.di_flags2 &= ~XFS_DIFLAG2_REFLINK; in xfs_swap_extents()1880 ip->i_d.di_flags2 |= tip->i_d.di_flags2 & XFS_DIFLAG2_REFLINK; in xfs_swap_extents()[all …]
1229 uint64_t di_flags2 = in xfs_flags2diflags2() local1230 (ip->i_d.di_flags2 & XFS_DIFLAG2_REFLINK); in xfs_flags2diflags2()1233 di_flags2 |= XFS_DIFLAG2_DAX; in xfs_flags2diflags2()1235 di_flags2 |= XFS_DIFLAG2_COWEXTSIZE; in xfs_flags2diflags2()1237 return di_flags2; in xfs_flags2diflags2()1278 uint64_t di_flags2; in xfs_ioctl_setattr_xflags() local1294 ip->i_d.di_flags2 &= ~XFS_DIFLAG2_REFLINK; in xfs_ioctl_setattr_xflags()1301 di_flags2 = xfs_flags2diflags2(ip, fa->fsx_xflags); in xfs_ioctl_setattr_xflags()1302 if (di_flags2 && !xfs_sb_version_has_v3inode(&mp->m_sb)) in xfs_ioctl_setattr_xflags()1306 ip->i_d.di_flags2 = di_flags2; in xfs_ioctl_setattr_xflags()[all …]
78 if (ip->i_d.di_flags2 & XFS_DIFLAG2_COWEXTSIZE) in xfs_get_cowextsz_hint()614 uint64_t di_flags2, in _xfs_dic2xflags() argument650 if (di_flags2 & XFS_DIFLAG2_ANY) { in _xfs_dic2xflags()651 if (di_flags2 & XFS_DIFLAG2_DAX) in _xfs_dic2xflags()653 if (di_flags2 & XFS_DIFLAG2_COWEXTSIZE) in _xfs_dic2xflags()669 return _xfs_dic2xflags(dic->di_flags, dic->di_flags2, XFS_IFORK_Q(ip)); in xfs_ip2xflags()837 ip->i_d.di_flags2 = 0; in xfs_ialloc()895 if (pip && (pip->i_d.di_flags2 & XFS_DIFLAG2_ANY)) { in xfs_ialloc()896 if (pip->i_d.di_flags2 & XFS_DIFLAG2_COWEXTSIZE) { in xfs_ialloc()897 ip->i_d.di_flags2 |= XFS_DIFLAG2_COWEXTSIZE; in xfs_ialloc()[all …]
887 src->i_d.di_flags2 |= XFS_DIFLAG2_REFLINK; in xfs_reflink_set_inode_flag()899 dest->i_d.di_flags2 |= XFS_DIFLAG2_REFLINK; in xfs_reflink_set_inode_flag()948 dest->i_d.di_flags2 |= XFS_DIFLAG2_COWEXTSIZE; in xfs_reflink_update_dest()1574 ip->i_d.di_flags2 &= ~XFS_DIFLAG2_REFLINK; in xfs_reflink_clear_inode_flag()
345 to->di_flags2 = from->di_flags2; in xfs_inode_to_log_dinode()
191 return ip->i_d.di_flags2 & XFS_DIFLAG2_REFLINK; in xfs_is_reflink_inode()
114 if (dic->di_flags2 & XFS_DIFLAG2_COWEXTSIZE) in xfs_bulkstat_one_int()
1055 (src->i_d.di_flags2 & XFS_DIFLAG2_COWEXTSIZE) && in xfs_file_remap_range()1057 !(dest->i_d.di_flags2 & XFS_DIFLAG2_COWEXTSIZE)) in xfs_file_remap_range()
1232 !(ip->i_d.di_flags2 & XFS_DIFLAG2_DAX)) in xfs_inode_supports_dax()
247 to->di_flags2 = be64_to_cpu(from->di_flags2); in xfs_inode_from_disk()297 to->di_flags2 = cpu_to_be64(from->di_flags2); in xfs_inode_to_disk()350 to->di_flags2 = cpu_to_be64(from->di_flags2); in xfs_log_dinode_to_disk()543 flags2 = be64_to_cpu(dip->di_flags2); in xfs_dinode_verify()
33 uint64_t di_flags2; /* more random flags */ member
415 uint64_t di_flags2; /* more random flags */ member
901 __be64 di_flags2; /* more random flags */ member
214 flags2 = be64_to_cpu(dip->di_flags2); in xchk_dinode()