Lines Matching refs:rec_end
2650 unsigned int want_clusters, rec_end = 0; in ocfs2_refcount_cal_cow_clusters() local
2703 (*cow_len && rec_end != le32_to_cpu(rec->e_cpos)) || in ocfs2_refcount_cal_cow_clusters()
2708 rec_end = le32_to_cpu(rec->e_cpos) + leaf_clusters; in ocfs2_refcount_cal_cow_clusters()
2709 if (rec_end > max_cpos) { in ocfs2_refcount_cal_cow_clusters()
2710 rec_end = max_cpos; in ocfs2_refcount_cal_cow_clusters()
2711 leaf_clusters = rec_end - le32_to_cpu(rec->e_cpos); in ocfs2_refcount_cal_cow_clusters()
2761 } else if ((rec_end - cpos) <= contig_clusters) { in ocfs2_refcount_cal_cow_clusters()
2766 *cow_start = rec_end - contig_clusters; in ocfs2_refcount_cal_cow_clusters()
2768 } else if ((rec_end - cpos) <= want_clusters) { in ocfs2_refcount_cal_cow_clusters()
2781 *cow_len = rec_end - *cow_start; in ocfs2_refcount_cal_cow_clusters()
2797 if (*cow_start + want_clusters <= rec_end) in ocfs2_refcount_cal_cow_clusters()
2800 *cow_len = rec_end - *cow_start; in ocfs2_refcount_cal_cow_clusters()