Lines Matching refs:right_rec
1963 struct ocfs2_extent_rec *right_rec, in ocfs2_adjust_adjacent_records() argument
1989 right_end = le32_to_cpu(right_rec->e_cpos); in ocfs2_adjust_adjacent_records()
1990 right_end += le32_to_cpu(right_rec->e_int_clusters); in ocfs2_adjust_adjacent_records()
1992 right_rec->e_cpos = left_rec->e_cpos; in ocfs2_adjust_adjacent_records()
1993 le32_add_cpu(&right_rec->e_cpos, left_clusters); in ocfs2_adjust_adjacent_records()
1995 right_end -= le32_to_cpu(right_rec->e_cpos); in ocfs2_adjust_adjacent_records()
1996 right_rec->e_int_clusters = cpu_to_le32(right_end); in ocfs2_adjust_adjacent_records()
2049 struct ocfs2_extent_rec *left_rec, *right_rec; in ocfs2_complete_edge_insert() local
2080 right_rec = &el->l_recs[0]; in ocfs2_complete_edge_insert()
2082 ocfs2_adjust_adjacent_records(left_rec, right_rec, right_el); in ocfs2_complete_edge_insert()
3356 struct ocfs2_extent_rec *right_rec; in ocfs2_merge_rec_right() local
3379 right_rec = &right_el->l_recs[0]; in ocfs2_merge_rec_right()
3380 if (ocfs2_is_empty_extent(right_rec)) { in ocfs2_merge_rec_right()
3382 right_rec = &right_el->l_recs[1]; in ocfs2_merge_rec_right()
3387 le32_to_cpu(right_rec->e_cpos)); in ocfs2_merge_rec_right()
3429 right_rec = &el->l_recs[index + 1]; in ocfs2_merge_rec_right()
3441 le32_add_cpu(&right_rec->e_cpos, -split_clusters); in ocfs2_merge_rec_right()
3442 le64_add_cpu(&right_rec->e_blkno, in ocfs2_merge_rec_right()
3445 le16_add_cpu(&right_rec->e_leaf_clusters, split_clusters); in ocfs2_merge_rec_right()
3523 struct ocfs2_extent_rec *right_rec; in ocfs2_merge_rec_left() local
3532 right_rec = &el->l_recs[index]; in ocfs2_merge_rec_left()
3609 le32_add_cpu(&right_rec->e_cpos, split_clusters); in ocfs2_merge_rec_left()
3610 le64_add_cpu(&right_rec->e_blkno, in ocfs2_merge_rec_left()
3613 le16_add_cpu(&right_rec->e_leaf_clusters, -split_clusters); in ocfs2_merge_rec_left()
3626 if (le16_to_cpu(right_rec->e_leaf_clusters) == 0 && in ocfs2_merge_rec_left()