Home
last modified time | relevance | path

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

/linux-6.1.9/fs/xfs/
Dxfs_bmap_util.c1388 tip_flags2 = tip->i_diflags2; in xfs_swap_extent_rmap()
1389 if (ip->i_diflags2 & XFS_DIFLAG2_REFLINK) in xfs_swap_extent_rmap()
1390 tip->i_diflags2 |= XFS_DIFLAG2_REFLINK; in xfs_swap_extent_rmap()
1483 tip->i_diflags2 = tip_flags2; in xfs_swap_extent_rmap()
1488 tip->i_diflags2 = tip_flags2; in xfs_swap_extent_rmap()
1784 if ((ip->i_diflags2 & XFS_DIFLAG2_REFLINK) ^ in xfs_swap_extents()
1785 (tip->i_diflags2 & XFS_DIFLAG2_REFLINK)) { in xfs_swap_extents()
1786 f = ip->i_diflags2 & XFS_DIFLAG2_REFLINK; in xfs_swap_extents()
1787 ip->i_diflags2 &= ~XFS_DIFLAG2_REFLINK; in xfs_swap_extents()
1788 ip->i_diflags2 |= tip->i_diflags2 & XFS_DIFLAG2_REFLINK; in xfs_swap_extents()
[all …]
Dxfs_inode.h68 uint64_t i_diflags2; /* XFS_DIFLAG2_... */ member
260 return ip->i_diflags2 & XFS_DIFLAG2_REFLINK; in xfs_is_reflink_inode()
282 return ip->i_diflags2 & XFS_DIFLAG2_BIGTIME; in xfs_inode_has_bigtime()
287 return ip->i_diflags2 & XFS_DIFLAG2_NREXT64; in xfs_inode_has_large_extent_counts()
Dxfs_inode.c86 if (ip->i_diflags2 & XFS_DIFLAG2_COWEXTSIZE) in xfs_get_cowextsz_hint()
632 if (ip->i_diflags2 & XFS_DIFLAG2_ANY) { in xfs_ip2xflags()
633 if (ip->i_diflags2 & XFS_DIFLAG2_DAX) in xfs_ip2xflags()
635 if (ip->i_diflags2 & XFS_DIFLAG2_COWEXTSIZE) in xfs_ip2xflags()
758 if (pip->i_diflags2 & XFS_DIFLAG2_COWEXTSIZE) { in xfs_inode_inherit_flags2()
759 ip->i_diflags2 |= XFS_DIFLAG2_COWEXTSIZE; in xfs_inode_inherit_flags2()
762 if (pip->i_diflags2 & XFS_DIFLAG2_DAX) in xfs_inode_inherit_flags2()
763 ip->i_diflags2 |= XFS_DIFLAG2_DAX; in xfs_inode_inherit_flags2()
767 VFS_I(ip)->i_mode, ip->i_diflags, ip->i_diflags2); in xfs_inode_inherit_flags2()
769 ip->i_diflags2 &= ~XFS_DIFLAG2_COWEXTSIZE; in xfs_inode_inherit_flags2()
[all …]
Dxfs_ioctl.c1016 if (ip->i_diflags2 & XFS_DIFLAG2_COWEXTSIZE) in xfs_fill_fsxattr()
1104 (ip->i_diflags2 & (XFS_DIFLAG2_REFLINK | in xfs_flags2diflags2()
1139 ip->i_diflags2 &= ~XFS_DIFLAG2_REFLINK; in xfs_ioctl_setattr_xflags()
1151 ip->i_diflags2 = i_flags2; in xfs_ioctl_setattr_xflags()
1175 !(ip->i_diflags2 & XFS_DIFLAG2_DAX)) || in xfs_ioctl_setattr_prepare_dax()
1177 (ip->i_diflags2 & XFS_DIFLAG2_DAX))) in xfs_ioctl_setattr_prepare_dax()
1401 if (ip->i_diflags2 & XFS_DIFLAG2_COWEXTSIZE) in xfs_fileattr_set()
Dxfs_reflink.c1044 src->i_diflags2 |= XFS_DIFLAG2_REFLINK; in xfs_reflink_set_inode_flag()
1056 dest->i_diflags2 |= XFS_DIFLAG2_REFLINK; in xfs_reflink_set_inode_flag()
1105 dest->i_diflags2 |= XFS_DIFLAG2_COWEXTSIZE; in xfs_reflink_update_dest()
1632 ip->i_diflags2 &= ~XFS_DIFLAG2_REFLINK; in xfs_reflink_clear_inode_flag()
Dxfs_itable.c125 if (ip->i_diflags2 & XFS_DIFLAG2_COWEXTSIZE) in xfs_bulkstat_one_int()
Dxfs_file.c1148 (src->i_diflags2 & XFS_DIFLAG2_COWEXTSIZE) && in xfs_file_remap_range()
1150 !(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.c1212 if (ip->i_diflags2 & XFS_DIFLAG2_DAX) in xfs_inode_should_enable_dax()
Dxfs_icache.c107 ip->i_diflags2 = mp->m_ino_geo.new_diflags2; in xfs_inode_alloc()
/linux-6.1.9/fs/xfs/libxfs/
Dxfs_trans_inode.c141 ip->i_diflags2 |= XFS_DIFLAG2_BIGTIME; in xfs_trans_log_inode()
Dxfs_inode_buf.c241 ip->i_diflags2 = be64_to_cpu(from->di_flags2); in xfs_inode_from_disk()
335 to->di_flags2 = cpu_to_be64(ip->i_diflags2); in xfs_inode_to_disk()
Dxfs_inode_fork.c775 ip->i_diflags2 |= XFS_DIFLAG2_NREXT64; in xfs_iext_count_upgrade()