Home
last modified time | relevance | path

Searched refs:i_diflags2 (Results 1 – 13 of 13) sorted by relevance

/linux-5.19.10/fs/xfs/
Dxfs_inode.h68 uint64_t i_diflags2; /* XFS_DIFLAG2_... */ member
196 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()
Dxfs_bmap_util.c1387 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 …]
Dxfs_inode.c85 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 …]
Dxfs_ioctl.c1010 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()
Dxfs_reflink.c913 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()
Dxfs_itable.c121 if (ip->i_diflags2 & XFS_DIFLAG2_COWEXTSIZE) in xfs_bulkstat_one_int()
Dxfs_file.c1142 (src->i_diflags2 & XFS_DIFLAG2_COWEXTSIZE) && in xfs_file_remap_range()
1144 !(dest->i_diflags2 & XFS_DIFLAG2_COWEXTSIZE)) in xfs_file_remap_range()
Dxfs_inode_item.c405 to->di_flags2 = ip->i_diflags2; in xfs_inode_to_log_dinode()
Dxfs_iops.c1197 if (ip->i_diflags2 & XFS_DIFLAG2_DAX) in xfs_inode_should_enable_dax()
Dxfs_icache.c106 ip->i_diflags2 = mp->m_ino_geo.new_diflags2; in xfs_inode_alloc()
/linux-5.19.10/fs/xfs/libxfs/
Dxfs_trans_inode.c141 ip->i_diflags2 |= XFS_DIFLAG2_BIGTIME; in xfs_trans_log_inode()
Dxfs_inode_buf.c242 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()
Dxfs_inode_fork.c772 ip->i_diflags2 |= XFS_DIFLAG2_NREXT64; in xfs_iext_count_upgrade()