Lines Matching refs:want_clusters
2650 unsigned int want_clusters, rec_end = 0; in ocfs2_refcount_cal_cow_clusters() local
2721 want_clusters = write_len; in ocfs2_refcount_cal_cow_clusters()
2723 want_clusters = (cpos + write_len) - in ocfs2_refcount_cal_cow_clusters()
2725 if (want_clusters < contig_clusters) in ocfs2_refcount_cal_cow_clusters()
2726 want_clusters = contig_clusters; in ocfs2_refcount_cal_cow_clusters()
2746 want_clusters = ocfs2_cow_align_length(inode->i_sb, in ocfs2_refcount_cal_cow_clusters()
2747 want_clusters); in ocfs2_refcount_cal_cow_clusters()
2749 if (leaf_clusters < want_clusters) in ocfs2_refcount_cal_cow_clusters()
2752 *cow_len += want_clusters; in ocfs2_refcount_cal_cow_clusters()
2768 } else if ((rec_end - cpos) <= want_clusters) { in ocfs2_refcount_cal_cow_clusters()
2794 want_clusters = (cpos + write_len) - *cow_start; in ocfs2_refcount_cal_cow_clusters()
2795 want_clusters = ocfs2_cow_align_length(inode->i_sb, in ocfs2_refcount_cal_cow_clusters()
2796 want_clusters); in ocfs2_refcount_cal_cow_clusters()
2797 if (*cow_start + want_clusters <= rec_end) in ocfs2_refcount_cal_cow_clusters()
2798 *cow_len = want_clusters; in ocfs2_refcount_cal_cow_clusters()