Lines Matching refs:right_rec
1956 struct ocfs2_extent_rec *right_rec, in ocfs2_adjust_adjacent_records() argument
1982 right_end = le32_to_cpu(right_rec->e_cpos); in ocfs2_adjust_adjacent_records()
1983 right_end += le32_to_cpu(right_rec->e_int_clusters); in ocfs2_adjust_adjacent_records()
1985 right_rec->e_cpos = left_rec->e_cpos; in ocfs2_adjust_adjacent_records()
1986 le32_add_cpu(&right_rec->e_cpos, left_clusters); in ocfs2_adjust_adjacent_records()
1988 right_end -= le32_to_cpu(right_rec->e_cpos); in ocfs2_adjust_adjacent_records()
1989 right_rec->e_int_clusters = cpu_to_le32(right_end); in ocfs2_adjust_adjacent_records()
2042 struct ocfs2_extent_rec *left_rec, *right_rec; in ocfs2_complete_edge_insert() local
2073 right_rec = &el->l_recs[0]; in ocfs2_complete_edge_insert()
2075 ocfs2_adjust_adjacent_records(left_rec, right_rec, right_el); in ocfs2_complete_edge_insert()
3349 struct ocfs2_extent_rec *right_rec; in ocfs2_merge_rec_right() local
3372 right_rec = &right_el->l_recs[0]; in ocfs2_merge_rec_right()
3373 if (ocfs2_is_empty_extent(right_rec)) { in ocfs2_merge_rec_right()
3375 right_rec = &right_el->l_recs[1]; in ocfs2_merge_rec_right()
3380 le32_to_cpu(right_rec->e_cpos)); in ocfs2_merge_rec_right()
3422 right_rec = &el->l_recs[index + 1]; in ocfs2_merge_rec_right()
3434 le32_add_cpu(&right_rec->e_cpos, -split_clusters); in ocfs2_merge_rec_right()
3435 le64_add_cpu(&right_rec->e_blkno, in ocfs2_merge_rec_right()
3438 le16_add_cpu(&right_rec->e_leaf_clusters, split_clusters); in ocfs2_merge_rec_right()
3516 struct ocfs2_extent_rec *right_rec; in ocfs2_merge_rec_left() local
3525 right_rec = &el->l_recs[index]; in ocfs2_merge_rec_left()
3602 le32_add_cpu(&right_rec->e_cpos, split_clusters); in ocfs2_merge_rec_left()
3603 le64_add_cpu(&right_rec->e_blkno, in ocfs2_merge_rec_left()
3606 le16_add_cpu(&right_rec->e_leaf_clusters, -split_clusters); in ocfs2_merge_rec_left()
3619 if (le16_to_cpu(right_rec->e_leaf_clusters) == 0 && in ocfs2_merge_rec_left()