Lines Matching refs:rec_end
2660 unsigned int want_clusters, rec_end = 0; in ocfs2_refcount_cal_cow_clusters() local
2714 (*cow_len && rec_end != le32_to_cpu(rec->e_cpos)) || in ocfs2_refcount_cal_cow_clusters()
2719 rec_end = le32_to_cpu(rec->e_cpos) + leaf_clusters; in ocfs2_refcount_cal_cow_clusters()
2720 if (rec_end > max_cpos) { in ocfs2_refcount_cal_cow_clusters()
2721 rec_end = max_cpos; in ocfs2_refcount_cal_cow_clusters()
2722 leaf_clusters = rec_end - le32_to_cpu(rec->e_cpos); in ocfs2_refcount_cal_cow_clusters()
2772 } else if ((rec_end - cpos) <= contig_clusters) { in ocfs2_refcount_cal_cow_clusters()
2777 *cow_start = rec_end - contig_clusters; in ocfs2_refcount_cal_cow_clusters()
2779 } else if ((rec_end - cpos) <= want_clusters) { in ocfs2_refcount_cal_cow_clusters()
2792 *cow_len = rec_end - *cow_start; in ocfs2_refcount_cal_cow_clusters()
2808 if (*cow_start + want_clusters <= rec_end) in ocfs2_refcount_cal_cow_clusters()
2811 *cow_len = rec_end - *cow_start; in ocfs2_refcount_cal_cow_clusters()