Home
last modified time | relevance | path

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

/fs/xfs/
Dxfs_bmap_util.c1505 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 …]
Dxfs_ioctl.c1229 uint64_t di_flags2 = in xfs_flags2diflags2() local
1230 (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() local
1294 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 …]
Dxfs_inode.c78 if (ip->i_d.di_flags2 & XFS_DIFLAG2_COWEXTSIZE) in xfs_get_cowextsz_hint()
614 uint64_t di_flags2, in _xfs_dic2xflags() argument
650 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 …]
Dxfs_reflink.c887 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()
Dxfs_inode_item.c345 to->di_flags2 = from->di_flags2; in xfs_inode_to_log_dinode()
Dxfs_inode.h191 return ip->i_d.di_flags2 & XFS_DIFLAG2_REFLINK; in xfs_is_reflink_inode()
Dxfs_itable.c114 if (dic->di_flags2 & XFS_DIFLAG2_COWEXTSIZE) in xfs_bulkstat_one_int()
Dxfs_file.c1055 (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()
Dxfs_iops.c1232 !(ip->i_d.di_flags2 & XFS_DIFLAG2_DAX)) in xfs_inode_supports_dax()
/fs/xfs/libxfs/
Dxfs_inode_buf.c247 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()
Dxfs_inode_buf.h33 uint64_t di_flags2; /* more random flags */ member
Dxfs_log_format.h415 uint64_t di_flags2; /* more random flags */ member
Dxfs_format.h901 __be64 di_flags2; /* more random flags */ member
/fs/xfs/scrub/
Dinode.c214 flags2 = be64_to_cpu(dip->di_flags2); in xchk_dinode()