Lines Matching defs:right_rec
1945 * Adjust the adjacent records (left_rec, right_rec) involved in a rotation.
1952 * right_rec: the record to the right of left_rec
1953 * right_child_el: is the child list pointed to by right_rec
1958 struct ocfs2_extent_rec *right_rec,
1984 right_end = le32_to_cpu(right_rec->e_cpos);
1985 right_end += le32_to_cpu(right_rec->e_int_clusters);
1987 right_rec->e_cpos = left_rec->e_cpos;
1988 le32_add_cpu(&right_rec->e_cpos, left_clusters);
1990 right_end -= le32_to_cpu(right_rec->e_cpos);
1991 right_rec->e_int_clusters = cpu_to_le32(right_end);
2044 struct ocfs2_extent_rec *left_rec, *right_rec;
2075 right_rec = &el->l_recs[0];
2077 ocfs2_adjust_adjacent_records(left_rec, right_rec, right_el);
3351 struct ocfs2_extent_rec *right_rec;
3374 right_rec = &right_el->l_recs[0];
3375 if (ocfs2_is_empty_extent(right_rec)) {
3377 right_rec = &right_el->l_recs[1];
3382 le32_to_cpu(right_rec->e_cpos));
3424 right_rec = &el->l_recs[index + 1];
3436 le32_add_cpu(&right_rec->e_cpos, -split_clusters);
3437 le64_add_cpu(&right_rec->e_blkno,
3440 le16_add_cpu(&right_rec->e_leaf_clusters, split_clusters);
3518 struct ocfs2_extent_rec *right_rec;
3527 right_rec = &el->l_recs[index];
3604 le32_add_cpu(&right_rec->e_cpos, split_clusters);
3605 le64_add_cpu(&right_rec->e_blkno,
3608 le16_add_cpu(&right_rec->e_leaf_clusters, -split_clusters);
3617 * In the situation that the right_rec is empty and the extent
3621 if (le16_to_cpu(right_rec->e_leaf_clusters) == 0 &&