Lines Matching refs:e_cpos

239 			(oi->ip_clusters != le32_to_cpu(rec->e_cpos)),  in ocfs2_dinode_insert_check()
244 rec->e_cpos, oi->ip_clusters); in ocfs2_dinode_insert_check()
792 rec_start = le32_to_cpu(rec->e_cpos); in ocfs2_search_extent_list()
827 left_range = le32_to_cpu(left->e_cpos) + in ocfs2_extents_adjacent()
830 return (left_range == le32_to_cpu(right->e_cpos)); in ocfs2_extents_adjacent()
1100 return le32_to_cpu(el->l_recs[i].e_cpos) + in ocfs2_sum_rightmost_rec()
1278 eb_el->l_recs[0].e_cpos = cpu_to_le32(new_cpos); in ocfs2_add_branch()
1324 el->l_recs[i].e_cpos = cpu_to_le32(new_cpos); in ocfs2_add_branch()
1426 root_el->l_recs[0].e_cpos = 0; in ocfs2_shift_tree_depth()
1629 u32 insert_cpos = le32_to_cpu(insert_rec->e_cpos); in ocfs2_rotate_leaf()
1662 if (insert_cpos < le32_to_cpu(rec->e_cpos)) in ocfs2_rotate_leaf()
1834 range = le32_to_cpu(rec->e_cpos) + in __ocfs2_find_path()
1836 if (cpos >= le32_to_cpu(rec->e_cpos) && cpos < range) in __ocfs2_find_path()
1985 left_clusters = le32_to_cpu(right_child_el->l_recs[0].e_cpos); in ocfs2_adjust_adjacent_records()
1989 left_clusters = le32_to_cpu(right_child_el->l_recs[1].e_cpos); in ocfs2_adjust_adjacent_records()
1991 left_clusters -= le32_to_cpu(left_rec->e_cpos); in ocfs2_adjust_adjacent_records()
1999 right_end = le32_to_cpu(right_rec->e_cpos); in ocfs2_adjust_adjacent_records()
2002 right_rec->e_cpos = left_rec->e_cpos; in ocfs2_adjust_adjacent_records()
2003 le32_add_cpu(&right_rec->e_cpos, left_clusters); in ocfs2_adjust_adjacent_records()
2005 right_end -= le32_to_cpu(right_rec->e_cpos); in ocfs2_adjust_adjacent_records()
2267 *cpos = le32_to_cpu(el->l_recs[j - 1].e_cpos); in ocfs2_find_cpos_for_left_leaf()
2333 if (insert_cpos > le32_to_cpu(rec->e_cpos)) in ocfs2_rotate_requires_path_adjustment()
2355 range = le32_to_cpu(rec->e_cpos) + ocfs2_rec_clusters(el, rec); in ocfs2_leftmost_rec_contains()
2356 if (cpos >= le32_to_cpu(rec->e_cpos) && cpos < range) in ocfs2_leftmost_rec_contains()
2562 range = le32_to_cpu(rec->e_cpos) + ocfs2_rec_clusters(el, rec); in ocfs2_update_edge_lengths()
2570 le32_add_cpu(&rec->e_int_clusters, -le32_to_cpu(rec->e_cpos)); in ocfs2_update_edge_lengths()
2866 *cpos = le32_to_cpu(el->l_recs[j + 1].e_cpos); in ocfs2_find_cpos_for_right_leaf()
3395 BUG_ON(le32_to_cpu(left_rec->e_cpos) + in ocfs2_merge_rec_right()
3397 le32_to_cpu(right_rec->e_cpos)); in ocfs2_merge_rec_right()
3451 le32_add_cpu(&right_rec->e_cpos, -split_clusters); in ocfs2_merge_rec_right()
3557 BUG_ON(le32_to_cpu(left_rec->e_cpos) + in ocfs2_merge_rec_left()
3559 le32_to_cpu(split_rec->e_cpos)); in ocfs2_merge_rec_left()
3619 le32_add_cpu(&right_rec->e_cpos, split_clusters); in ocfs2_merge_rec_left()
3855 le32_add_cpu(&rec->e_cpos, in ocfs2_subtract_from_rec()
3887 i = ocfs2_search_extent_list(el, le32_to_cpu(insert_rec->e_cpos)); in ocfs2_insert_at_leaf()
3903 rec->e_cpos = insert_rec->e_cpos; in ocfs2_insert_at_leaf()
3927 range = le32_to_cpu(rec->e_cpos) in ocfs2_insert_at_leaf()
3929 BUG_ON(le32_to_cpu(insert_rec->e_cpos) < range); in ocfs2_insert_at_leaf()
3940 le32_to_cpu(el->l_recs[i].e_cpos), in ocfs2_insert_at_leaf()
3942 le32_to_cpu(insert_rec->e_cpos), in ocfs2_insert_at_leaf()
3991 rec->e_int_clusters = insert_rec->e_cpos; in ocfs2_adjust_rightmost_records()
3995 -le32_to_cpu(rec->e_cpos)); in ocfs2_adjust_rightmost_records()
4040 le32_to_cpu(insert_rec->e_cpos), in ocfs2_append_rec_to_path()
4093 u32 cpos = le32_to_cpu(split_rec->e_cpos); in ocfs2_split_record()
4290 cpos = le32_to_cpu(insert_rec->e_cpos); in ocfs2_do_insert_extent()
4317 le32_to_cpu(insert_rec->e_cpos), in ocfs2_do_insert_extent()
4425 if (split_rec->e_cpos == el->l_recs[index].e_cpos) in ocfs2_figure_merge_contig_type()
4544 u32 cpos = le32_to_cpu(insert_rec->e_cpos); in ocfs2_figure_appending_type()
4564 (le32_to_cpu(rec->e_cpos) + le16_to_cpu(rec->e_leaf_clusters))) in ocfs2_figure_appending_type()
4651 ret = ocfs2_find_path(et->et_ci, path, le32_to_cpu(insert_rec->e_cpos)); in ocfs2_figure_insert_type()
4735 rec.e_cpos = cpu_to_le32(cpos); in ocfs2_insert_extent()
4903 u32 rec_cpos = le32_to_cpu(rec->e_cpos); in ocfs2_make_right_split_rec()
4908 split_rec->e_cpos = cpu_to_le32(cpos); in ocfs2_make_right_split_rec()
4966 insert_range = le32_to_cpu(split_rec.e_cpos) + in ocfs2_split_and_insert()
4968 rec_range = le32_to_cpu(rec.e_cpos) + in ocfs2_split_and_insert()
4971 if (split_rec.e_cpos == rec.e_cpos) { in ocfs2_split_and_insert()
5006 cpos = le32_to_cpu(split_rec.e_cpos); in ocfs2_split_and_insert()
5086 if (le32_to_cpu(rec->e_cpos) > le32_to_cpu(split_rec->e_cpos) || in ocfs2_split_extent()
5087 ((le32_to_cpu(rec->e_cpos) + le16_to_cpu(rec->e_leaf_clusters)) < in ocfs2_split_extent()
5088 (le32_to_cpu(split_rec->e_cpos) + le16_to_cpu(split_rec->e_leaf_clusters)))) { in ocfs2_split_extent()
5122 if (rec->e_cpos == split_rec->e_cpos && in ocfs2_split_extent()
5227 split_rec.e_cpos = cpu_to_le32(cpos); in ocfs2_change_extent_flag()
5410 le32_to_cpu(rec->e_cpos) == cpos) { in ocfs2_truncate_rec()
5467 rec_range = le32_to_cpu(rec->e_cpos) + ocfs2_rec_clusters(el, rec); in ocfs2_truncate_rec()
5470 if (le32_to_cpu(rec->e_cpos) == cpos && rec_range == trunc_range) { in ocfs2_truncate_rec()
5486 } else if (le32_to_cpu(rec->e_cpos) == cpos) { in ocfs2_truncate_rec()
5488 le32_add_cpu(&rec->e_cpos, len); in ocfs2_truncate_rec()
5501 le32_to_cpu(rec->e_cpos), in ocfs2_truncate_rec()
5584 rec_range = le32_to_cpu(rec->e_cpos) + ocfs2_rec_clusters(el, rec); in ocfs2_remove_extent()
5587 BUG_ON(cpos < le32_to_cpu(rec->e_cpos) || trunc_range > rec_range); in ocfs2_remove_extent()
5591 cpos, len, index, le32_to_cpu(rec->e_cpos), in ocfs2_remove_extent()
5594 if (le32_to_cpu(rec->e_cpos) == cpos || rec_range == trunc_range) { in ocfs2_remove_extent()
5637 rec_range = le32_to_cpu(rec->e_cpos) + in ocfs2_remove_extent()
5643 cpos, len, le32_to_cpu(rec->e_cpos), in ocfs2_remove_extent()
7303 range = le32_to_cpu(rec->e_cpos) + ocfs2_rec_clusters(el, rec); in ocfs2_commit_truncate()
7324 trunc_cpos = le32_to_cpu(rec->e_cpos); in ocfs2_commit_truncate()
7328 } else if (le32_to_cpu(rec->e_cpos) >= new_highest_cpos) { in ocfs2_commit_truncate()
7332 trunc_cpos = le32_to_cpu(rec->e_cpos); in ocfs2_commit_truncate()
7342 coff = new_highest_cpos - le32_to_cpu(rec->e_cpos); in ocfs2_commit_truncate()