Home
last modified time | relevance | path

Searched refs:rec_end (Results 1 – 2 of 2) sorted by relevance

/linux/fs/ocfs2/
H A Drefcounttree.c2635 unsigned int want_clusters, rec_end = 0; in ocfs2_refcount_cal_cow_clusters() local
2688 (*cow_len && rec_end != le32_to_cpu(rec->e_cpos)) || in ocfs2_refcount_cal_cow_clusters()
2693 rec_end = le32_to_cpu(rec->e_cpos) + leaf_clusters; in ocfs2_refcount_cal_cow_clusters()
2694 if (rec_end > max_cpos) { in ocfs2_refcount_cal_cow_clusters()
2695 rec_end = max_cpos; in ocfs2_refcount_cal_cow_clusters()
2696 leaf_clusters = rec_end - le32_to_cpu(rec->e_cpos); in ocfs2_refcount_cal_cow_clusters()
2746 } else if ((rec_end - cpos) <= contig_clusters) { in ocfs2_refcount_cal_cow_clusters()
2751 *cow_start = rec_end - contig_clusters; in ocfs2_refcount_cal_cow_clusters()
2753 } else if ((rec_end - cpos) <= want_clusters) { in ocfs2_refcount_cal_cow_clusters()
2766 *cow_len = rec_end - *cow_start; in ocfs2_refcount_cal_cow_clusters()
[all …]
H A Dalloc.c772 u32 rec_end, rec_start, clusters; in ocfs2_search_extent_list() local
780 rec_end = rec_start + clusters; in ocfs2_search_extent_list()
782 if (v_cluster >= rec_start && v_cluster < rec_end) { in ocfs2_search_extent_list()