Lines Matching refs:left_rec
1958 static void ocfs2_adjust_adjacent_records(struct ocfs2_extent_rec *left_rec, in ocfs2_adjust_adjacent_records() argument
1977 left_clusters -= le32_to_cpu(left_rec->e_cpos); in ocfs2_adjust_adjacent_records()
1978 left_rec->e_int_clusters = cpu_to_le32(left_clusters); in ocfs2_adjust_adjacent_records()
1988 right_rec->e_cpos = left_rec->e_cpos; in ocfs2_adjust_adjacent_records()
2045 struct ocfs2_extent_rec *left_rec, *right_rec; in ocfs2_complete_edge_insert() local
2073 left_rec = &el->l_recs[idx]; in ocfs2_complete_edge_insert()
2078 ocfs2_adjust_adjacent_records(left_rec, right_rec, right_el); in ocfs2_complete_edge_insert()
3351 struct ocfs2_extent_rec *left_rec; in ocfs2_merge_rec_right() local
3361 left_rec = &el->l_recs[index]; in ocfs2_merge_rec_right()
3381 BUG_ON(le32_to_cpu(left_rec->e_cpos) + in ocfs2_merge_rec_right()
3382 le16_to_cpu(left_rec->e_leaf_clusters) != in ocfs2_merge_rec_right()
3435 le16_add_cpu(&left_rec->e_leaf_clusters, -split_clusters); in ocfs2_merge_rec_right()
3518 struct ocfs2_extent_rec *left_rec; in ocfs2_merge_rec_left() local
3541 left_rec = &left_el->l_recs[ in ocfs2_merge_rec_left()
3543 BUG_ON(le32_to_cpu(left_rec->e_cpos) + in ocfs2_merge_rec_left()
3544 le16_to_cpu(left_rec->e_leaf_clusters) != in ocfs2_merge_rec_left()
3585 left_rec = &el->l_recs[index - 1]; in ocfs2_merge_rec_left()
3601 *left_rec = *split_rec; in ocfs2_merge_rec_left()
3603 le16_add_cpu(&left_rec->e_leaf_clusters, split_clusters); in ocfs2_merge_rec_left()