Lines Matching refs:e_cpos

224 			(oi->ip_clusters != le32_to_cpu(rec->e_cpos)),  in ocfs2_dinode_insert_check()
229 rec->e_cpos, oi->ip_clusters); in ocfs2_dinode_insert_check()
777 rec_start = le32_to_cpu(rec->e_cpos); in ocfs2_search_extent_list()
812 left_range = le32_to_cpu(left->e_cpos) + in ocfs2_extents_adjacent()
815 return (left_range == le32_to_cpu(right->e_cpos)); in ocfs2_extents_adjacent()
1091 return le32_to_cpu(el->l_recs[i].e_cpos) + in ocfs2_sum_rightmost_rec()
1269 eb_el->l_recs[0].e_cpos = cpu_to_le32(new_cpos); in ocfs2_add_branch()
1315 el->l_recs[i].e_cpos = cpu_to_le32(new_cpos); in ocfs2_add_branch()
1417 root_el->l_recs[0].e_cpos = 0; in ocfs2_shift_tree_depth()
1620 u32 insert_cpos = le32_to_cpu(insert_rec->e_cpos); in ocfs2_rotate_leaf()
1653 if (insert_cpos < le32_to_cpu(rec->e_cpos)) in ocfs2_rotate_leaf()
1833 range = le32_to_cpu(rec->e_cpos) + in __ocfs2_find_path()
1835 if (cpos >= le32_to_cpu(rec->e_cpos) && cpos < range) in __ocfs2_find_path()
1984 left_clusters = le32_to_cpu(right_child_el->l_recs[0].e_cpos); in ocfs2_adjust_adjacent_records()
1988 left_clusters = le32_to_cpu(right_child_el->l_recs[1].e_cpos); in ocfs2_adjust_adjacent_records()
1990 left_clusters -= le32_to_cpu(left_rec->e_cpos); in ocfs2_adjust_adjacent_records()
1998 right_end = le32_to_cpu(right_rec->e_cpos); in ocfs2_adjust_adjacent_records()
2001 right_rec->e_cpos = left_rec->e_cpos; in ocfs2_adjust_adjacent_records()
2002 le32_add_cpu(&right_rec->e_cpos, left_clusters); in ocfs2_adjust_adjacent_records()
2004 right_end -= le32_to_cpu(right_rec->e_cpos); in ocfs2_adjust_adjacent_records()
2266 *cpos = le32_to_cpu(el->l_recs[j - 1].e_cpos); in ocfs2_find_cpos_for_left_leaf()
2332 if (insert_cpos > le32_to_cpu(rec->e_cpos)) in ocfs2_rotate_requires_path_adjustment()
2354 range = le32_to_cpu(rec->e_cpos) + ocfs2_rec_clusters(el, rec); in ocfs2_leftmost_rec_contains()
2355 if (cpos >= le32_to_cpu(rec->e_cpos) && cpos < range) in ocfs2_leftmost_rec_contains()
2561 range = le32_to_cpu(rec->e_cpos) + ocfs2_rec_clusters(el, rec); in ocfs2_update_edge_lengths()
2569 le32_add_cpu(&rec->e_int_clusters, -le32_to_cpu(rec->e_cpos)); in ocfs2_update_edge_lengths()
2865 *cpos = le32_to_cpu(el->l_recs[j + 1].e_cpos); in ocfs2_find_cpos_for_right_leaf()
3394 BUG_ON(le32_to_cpu(left_rec->e_cpos) + in ocfs2_merge_rec_right()
3396 le32_to_cpu(right_rec->e_cpos)); in ocfs2_merge_rec_right()
3450 le32_add_cpu(&right_rec->e_cpos, -split_clusters); in ocfs2_merge_rec_right()
3556 BUG_ON(le32_to_cpu(left_rec->e_cpos) + in ocfs2_merge_rec_left()
3558 le32_to_cpu(split_rec->e_cpos)); in ocfs2_merge_rec_left()
3618 le32_add_cpu(&right_rec->e_cpos, split_clusters); in ocfs2_merge_rec_left()
3853 le32_add_cpu(&rec->e_cpos, in ocfs2_subtract_from_rec()
3885 i = ocfs2_search_extent_list(el, le32_to_cpu(insert_rec->e_cpos)); in ocfs2_insert_at_leaf()
3901 rec->e_cpos = insert_rec->e_cpos; in ocfs2_insert_at_leaf()
3925 range = le32_to_cpu(rec->e_cpos) in ocfs2_insert_at_leaf()
3927 BUG_ON(le32_to_cpu(insert_rec->e_cpos) < range); in ocfs2_insert_at_leaf()
3938 le32_to_cpu(el->l_recs[i].e_cpos), in ocfs2_insert_at_leaf()
3940 le32_to_cpu(insert_rec->e_cpos), in ocfs2_insert_at_leaf()
3989 rec->e_int_clusters = insert_rec->e_cpos; in ocfs2_adjust_rightmost_records()
3993 -le32_to_cpu(rec->e_cpos)); in ocfs2_adjust_rightmost_records()
4038 le32_to_cpu(insert_rec->e_cpos), in ocfs2_append_rec_to_path()
4091 u32 cpos = le32_to_cpu(split_rec->e_cpos); in ocfs2_split_record()
4288 cpos = le32_to_cpu(insert_rec->e_cpos); in ocfs2_do_insert_extent()
4315 le32_to_cpu(insert_rec->e_cpos), in ocfs2_do_insert_extent()
4423 if (split_rec->e_cpos == el->l_recs[index].e_cpos) in ocfs2_figure_merge_contig_type()
4542 u32 cpos = le32_to_cpu(insert_rec->e_cpos); in ocfs2_figure_appending_type()
4562 (le32_to_cpu(rec->e_cpos) + le16_to_cpu(rec->e_leaf_clusters))) in ocfs2_figure_appending_type()
4649 ret = ocfs2_find_path(et->et_ci, path, le32_to_cpu(insert_rec->e_cpos)); in ocfs2_figure_insert_type()
4733 rec.e_cpos = cpu_to_le32(cpos); in ocfs2_insert_extent()
4901 u32 rec_cpos = le32_to_cpu(rec->e_cpos); in ocfs2_make_right_split_rec()
4906 split_rec->e_cpos = cpu_to_le32(cpos); in ocfs2_make_right_split_rec()
4964 insert_range = le32_to_cpu(split_rec.e_cpos) + in ocfs2_split_and_insert()
4966 rec_range = le32_to_cpu(rec.e_cpos) + in ocfs2_split_and_insert()
4969 if (split_rec.e_cpos == rec.e_cpos) { in ocfs2_split_and_insert()
5004 cpos = le32_to_cpu(split_rec.e_cpos); in ocfs2_split_and_insert()
5084 if (le32_to_cpu(rec->e_cpos) > le32_to_cpu(split_rec->e_cpos) || in ocfs2_split_extent()
5085 ((le32_to_cpu(rec->e_cpos) + le16_to_cpu(rec->e_leaf_clusters)) < in ocfs2_split_extent()
5086 (le32_to_cpu(split_rec->e_cpos) + le16_to_cpu(split_rec->e_leaf_clusters)))) { in ocfs2_split_extent()
5116 if (rec->e_cpos == split_rec->e_cpos && in ocfs2_split_extent()
5221 split_rec.e_cpos = cpu_to_le32(cpos); in ocfs2_change_extent_flag()
5404 le32_to_cpu(rec->e_cpos) == cpos) { in ocfs2_truncate_rec()
5461 rec_range = le32_to_cpu(rec->e_cpos) + ocfs2_rec_clusters(el, rec); in ocfs2_truncate_rec()
5464 if (le32_to_cpu(rec->e_cpos) == cpos && rec_range == trunc_range) { in ocfs2_truncate_rec()
5480 } else if (le32_to_cpu(rec->e_cpos) == cpos) { in ocfs2_truncate_rec()
5482 le32_add_cpu(&rec->e_cpos, len); in ocfs2_truncate_rec()
5495 le32_to_cpu(rec->e_cpos), in ocfs2_truncate_rec()
5578 rec_range = le32_to_cpu(rec->e_cpos) + ocfs2_rec_clusters(el, rec); in ocfs2_remove_extent()
5581 BUG_ON(cpos < le32_to_cpu(rec->e_cpos) || trunc_range > rec_range); in ocfs2_remove_extent()
5585 cpos, len, index, le32_to_cpu(rec->e_cpos), in ocfs2_remove_extent()
5588 if (le32_to_cpu(rec->e_cpos) == cpos || rec_range == trunc_range) { in ocfs2_remove_extent()
5631 rec_range = le32_to_cpu(rec->e_cpos) + in ocfs2_remove_extent()
5637 cpos, len, le32_to_cpu(rec->e_cpos), in ocfs2_remove_extent()
7313 range = le32_to_cpu(rec->e_cpos) + ocfs2_rec_clusters(el, rec); in ocfs2_commit_truncate()
7334 trunc_cpos = le32_to_cpu(rec->e_cpos); in ocfs2_commit_truncate()
7338 } else if (le32_to_cpu(rec->e_cpos) >= new_highest_cpos) { in ocfs2_commit_truncate()
7342 trunc_cpos = le32_to_cpu(rec->e_cpos); in ocfs2_commit_truncate()
7352 coff = new_highest_cpos - le32_to_cpu(rec->e_cpos); in ocfs2_commit_truncate()