Lines Matching refs:rec_end
2634 unsigned int want_clusters, rec_end = 0; in ocfs2_refcount_cal_cow_clusters() local
2687 (*cow_len && rec_end != le32_to_cpu(rec->e_cpos)) || in ocfs2_refcount_cal_cow_clusters()
2692 rec_end = le32_to_cpu(rec->e_cpos) + leaf_clusters; in ocfs2_refcount_cal_cow_clusters()
2693 if (rec_end > max_cpos) { in ocfs2_refcount_cal_cow_clusters()
2694 rec_end = max_cpos; in ocfs2_refcount_cal_cow_clusters()
2695 leaf_clusters = rec_end - le32_to_cpu(rec->e_cpos); in ocfs2_refcount_cal_cow_clusters()
2745 } else if ((rec_end - cpos) <= contig_clusters) { in ocfs2_refcount_cal_cow_clusters()
2750 *cow_start = rec_end - contig_clusters; in ocfs2_refcount_cal_cow_clusters()
2752 } else if ((rec_end - cpos) <= want_clusters) { in ocfs2_refcount_cal_cow_clusters()
2765 *cow_len = rec_end - *cow_start; in ocfs2_refcount_cal_cow_clusters()
2781 if (*cow_start + want_clusters <= rec_end) in ocfs2_refcount_cal_cow_clusters()
2784 *cow_len = rec_end - *cow_start; in ocfs2_refcount_cal_cow_clusters()