Lines Matching refs:old_clusters
809 u32 old_clusters, in ocfs2_xattr_shrink_size() argument
819 if (old_clusters <= new_clusters) in ocfs2_xattr_shrink_size()
823 trunc_len = old_clusters - new_clusters; in ocfs2_xattr_shrink_size()
862 u32 old_clusters = le32_to_cpu(vb->vb_xv->xr_clusters); in ocfs2_xattr_value_truncate() local
864 if (new_clusters == old_clusters) in ocfs2_xattr_value_truncate()
867 if (new_clusters > old_clusters) in ocfs2_xattr_value_truncate()
869 new_clusters - old_clusters, in ocfs2_xattr_value_truncate()
873 old_clusters, new_clusters, in ocfs2_xattr_value_truncate()
3141 u32 old_clusters = 0; in ocfs2_calc_xattr_set_need() local
3144 old_clusters = ocfs2_clusters_for_bytes(inode->i_sb, in ocfs2_calc_xattr_set_need()
3152 if (old_clusters >= new_clusters) { in ocfs2_calc_xattr_set_need()
3157 clusters_add += new_clusters - old_clusters; in ocfs2_calc_xattr_set_need()