Home
last modified time | relevance | path

Searched refs:di_flags2 (Results 1 – 16 of 16) sorted by relevance

/fs/xfs/
Dxfs_bmap_util.c1340 tip_flags2 = tip->i_d.di_flags2; in xfs_swap_extent_rmap()
1341 if (ip->i_d.di_flags2 & XFS_DIFLAG2_REFLINK) in xfs_swap_extent_rmap()
1342 tip->i_d.di_flags2 |= XFS_DIFLAG2_REFLINK; in xfs_swap_extent_rmap()
1413 tip->i_d.di_flags2 = tip_flags2; in xfs_swap_extent_rmap()
1418 tip->i_d.di_flags2 = tip_flags2; in xfs_swap_extent_rmap()
1716 if ((ip->i_d.di_flags2 & XFS_DIFLAG2_REFLINK) ^ in xfs_swap_extents()
1717 (tip->i_d.di_flags2 & XFS_DIFLAG2_REFLINK)) { in xfs_swap_extents()
1718 f = ip->i_d.di_flags2 & XFS_DIFLAG2_REFLINK; in xfs_swap_extents()
1719 ip->i_d.di_flags2 &= ~XFS_DIFLAG2_REFLINK; in xfs_swap_extents()
1720 ip->i_d.di_flags2 |= tip->i_d.di_flags2 & XFS_DIFLAG2_REFLINK; in xfs_swap_extents()
[all …]
Dxfs_ioctl.c1090 uint64_t di_flags2) in xfs_di2lxflags() argument
1104 if (di_flags2 & XFS_DIFLAG2_DAX) { in xfs_di2lxflags()
1193 uint64_t di_flags2 = in xfs_flags2diflags2() local
1194 (ip->i_d.di_flags2 & (XFS_DIFLAG2_REFLINK | in xfs_flags2diflags2()
1198 di_flags2 |= XFS_DIFLAG2_DAX; in xfs_flags2diflags2()
1200 di_flags2 |= XFS_DIFLAG2_COWEXTSIZE; in xfs_flags2diflags2()
1202 return di_flags2; in xfs_flags2diflags2()
1212 uint64_t di_flags2; in xfs_ioctl_setattr_xflags() local
1228 ip->i_d.di_flags2 &= ~XFS_DIFLAG2_REFLINK; in xfs_ioctl_setattr_xflags()
1235 di_flags2 = xfs_flags2diflags2(ip, fa->fsx_xflags); in xfs_ioctl_setattr_xflags()
[all …]
Dxfs_inode.c83 if (ip->i_d.di_flags2 & XFS_DIFLAG2_COWEXTSIZE) in xfs_get_cowextsz_hint()
604 uint64_t di_flags2, in _xfs_dic2xflags() argument
640 if (di_flags2 & XFS_DIFLAG2_ANY) { in _xfs_dic2xflags()
641 if (di_flags2 & XFS_DIFLAG2_DAX) in _xfs_dic2xflags()
643 if (di_flags2 & XFS_DIFLAG2_COWEXTSIZE) in _xfs_dic2xflags()
659 return _xfs_dic2xflags(dic->di_flags, dic->di_flags2, XFS_IFORK_Q(ip)); in xfs_ip2xflags()
755 if (pip->i_d.di_flags2 & XFS_DIFLAG2_COWEXTSIZE) { in xfs_inode_inherit_flags2()
756 ip->i_d.di_flags2 |= XFS_DIFLAG2_COWEXTSIZE; in xfs_inode_inherit_flags2()
759 if (pip->i_d.di_flags2 & XFS_DIFLAG2_DAX) in xfs_inode_inherit_flags2()
760 ip->i_d.di_flags2 |= XFS_DIFLAG2_DAX; in xfs_inode_inherit_flags2()
[all …]
Dxfs_inode_item_recover.c121 (ld->di_flags2 & XFS_DIFLAG2_BIGTIME); in xfs_log_dinode_has_bigtime()
183 to->di_flags2 = cpu_to_be64(from->di_flags2); in xfs_log_dinode_to_disk()
Dxfs_inode.h185 return ip->i_d.di_flags2 & XFS_DIFLAG2_REFLINK; in xfs_is_reflink_inode()
199 return ip->i_d.di_flags2 & XFS_DIFLAG2_BIGTIME; in xfs_inode_has_bigtime()
Dxfs_reflink.c885 src->i_d.di_flags2 |= XFS_DIFLAG2_REFLINK; in xfs_reflink_set_inode_flag()
897 dest->i_d.di_flags2 |= XFS_DIFLAG2_REFLINK; in xfs_reflink_set_inode_flag()
946 dest->i_d.di_flags2 |= XFS_DIFLAG2_COWEXTSIZE; in xfs_reflink_update_dest()
1437 ip->i_d.di_flags2 &= ~XFS_DIFLAG2_REFLINK; in xfs_reflink_clear_inode_flag()
Dxfs_inode_item.c377 to->di_flags2 = from->di_flags2; in xfs_inode_to_log_dinode()
Dxfs_itable.c114 if (dic->di_flags2 & XFS_DIFLAG2_COWEXTSIZE) in xfs_bulkstat_one_int()
Dxfs_file.c1120 (src->i_d.di_flags2 & XFS_DIFLAG2_COWEXTSIZE) && in xfs_file_remap_range()
1122 !(dest->i_d.di_flags2 & XFS_DIFLAG2_COWEXTSIZE)) in xfs_file_remap_range()
Dxfs_iops.c1230 if (ip->i_d.di_flags2 & XFS_DIFLAG2_DAX) in xfs_inode_should_enable_dax()
/fs/xfs/libxfs/
Dxfs_inode_buf.h29 uint64_t di_flags2; /* more random flags */ member
37 return icd->di_flags2 & XFS_DIFLAG2_BIGTIME; in xfs_icdinode_has_bigtime()
Dxfs_inode_buf.c260 to->di_flags2 = be64_to_cpu(from->di_flags2); in xfs_inode_from_disk()
341 to->di_flags2 = cpu_to_be64(from->di_flags2); in xfs_inode_to_disk()
552 flags2 = be64_to_cpu(dip->di_flags2); in xfs_dinode_verify()
Dxfs_trans_inode.c141 ip->i_d.di_flags2 |= XFS_DIFLAG2_BIGTIME; in xfs_trans_log_inode()
Dxfs_log_format.h427 uint64_t di_flags2; /* more random flags */ member
Dxfs_format.h994 __be64 di_flags2; /* more random flags */ member
1180 (dip->di_flags2 & cpu_to_be64(XFS_DIFLAG2_BIGTIME)); in xfs_dinode_has_bigtime()
/fs/xfs/scrub/
Dinode.c233 flags2 = be64_to_cpu(dip->di_flags2); in xchk_dinode()