Lines Matching refs:old_clusters
696 u32 old_clusters, in ocfs2_xattr_shrink_size() argument
705 if (old_clusters <= new_clusters) in ocfs2_xattr_shrink_size()
709 trunc_len = old_clusters - new_clusters; in ocfs2_xattr_shrink_size()
748 u32 old_clusters = le32_to_cpu(vb->vb_xv->xr_clusters); in ocfs2_xattr_value_truncate() local
750 if (new_clusters == old_clusters) in ocfs2_xattr_value_truncate()
753 if (new_clusters > old_clusters) in ocfs2_xattr_value_truncate()
755 new_clusters - old_clusters, in ocfs2_xattr_value_truncate()
759 old_clusters, new_clusters, in ocfs2_xattr_value_truncate()
2330 u32 old_clusters = 0; in ocfs2_calc_xattr_set_need() local
2333 old_clusters = ocfs2_clusters_for_bytes(inode->i_sb, in ocfs2_calc_xattr_set_need()
2341 if (old_clusters >= new_clusters) { in ocfs2_calc_xattr_set_need()
2346 clusters_add += new_clusters - old_clusters; in ocfs2_calc_xattr_set_need()
2350 old_clusters); in ocfs2_calc_xattr_set_need()