Lines Matching refs:ei_cpos
58 range = emi->ei_cpos + emi->ei_clusters; in __ocfs2_extent_map_lookup()
60 if (cpos >= emi->ei_cpos && cpos < range) { in __ocfs2_extent_map_lookup()
81 coff = cpos - emi->ei_cpos; in ocfs2_extent_map_lookup()
110 if (emi->ei_cpos >= cpos) { in ocfs2_extent_map_trunc()
118 range = emi->ei_cpos + emi->ei_clusters; in ocfs2_extent_map_trunc()
121 emi->ei_clusters = cpos - emi->ei_cpos; in ocfs2_extent_map_trunc()
143 range1 = emi1->ei_cpos + emi1->ei_clusters; in ocfs2_ei_is_contained()
144 if (emi2->ei_cpos >= emi1->ei_cpos && emi2->ei_cpos < range1) in ocfs2_ei_is_contained()
150 range2 = emi2->ei_cpos + emi2->ei_clusters; in ocfs2_ei_is_contained()
151 if (range2 > emi1->ei_cpos && range2 <= range1) in ocfs2_ei_is_contained()
160 dest->ei_cpos = src->ei_cpos; in ocfs2_copy_emi_fields()
177 ins->ei_cpos == (emi->ei_cpos + emi->ei_clusters) && in ocfs2_try_to_merge_extent_map()
182 (ins->ei_cpos + ins->ei_clusters) == emi->ei_cpos && in ocfs2_try_to_merge_extent_map()
185 emi->ei_cpos = ins->ei_cpos; in ocfs2_try_to_merge_extent_map()
221 ins.ei_cpos = le32_to_cpu(rec->e_cpos); in ocfs2_extent_map_insert_rec()