Lines Matching refs:left_rec
1962 static void ocfs2_adjust_adjacent_records(struct ocfs2_extent_rec *left_rec, in ocfs2_adjust_adjacent_records() argument
1981 left_clusters -= le32_to_cpu(left_rec->e_cpos); in ocfs2_adjust_adjacent_records()
1982 left_rec->e_int_clusters = cpu_to_le32(left_clusters); in ocfs2_adjust_adjacent_records()
1992 right_rec->e_cpos = left_rec->e_cpos; in ocfs2_adjust_adjacent_records()
2049 struct ocfs2_extent_rec *left_rec, *right_rec; in ocfs2_complete_edge_insert() local
2077 left_rec = &el->l_recs[idx]; in ocfs2_complete_edge_insert()
2082 ocfs2_adjust_adjacent_records(left_rec, right_rec, right_el); in ocfs2_complete_edge_insert()
3355 struct ocfs2_extent_rec *left_rec; in ocfs2_merge_rec_right() local
3365 left_rec = &el->l_recs[index]; in ocfs2_merge_rec_right()
3385 BUG_ON(le32_to_cpu(left_rec->e_cpos) + in ocfs2_merge_rec_right()
3386 le16_to_cpu(left_rec->e_leaf_clusters) != in ocfs2_merge_rec_right()
3439 le16_add_cpu(&left_rec->e_leaf_clusters, -split_clusters); in ocfs2_merge_rec_right()
3522 struct ocfs2_extent_rec *left_rec; in ocfs2_merge_rec_left() local
3545 left_rec = &left_el->l_recs[ in ocfs2_merge_rec_left()
3547 BUG_ON(le32_to_cpu(left_rec->e_cpos) + in ocfs2_merge_rec_left()
3548 le16_to_cpu(left_rec->e_leaf_clusters) != in ocfs2_merge_rec_left()
3589 left_rec = &el->l_recs[index - 1]; in ocfs2_merge_rec_left()
3605 *left_rec = *split_rec; in ocfs2_merge_rec_left()
3607 le16_add_cpu(&left_rec->e_leaf_clusters, split_clusters); in ocfs2_merge_rec_left()