Lines Matching refs:left_el
2005 struct ocfs2_extent_list *left_el, in ocfs2_adjust_root_records() argument
2012 le16_to_cpu(left_el->l_tree_depth)); in ocfs2_adjust_root_records()
2048 struct ocfs2_extent_list *el, *left_el, *right_el; in ocfs2_complete_edge_insert() local
2064 left_el = path_leaf_el(left_path); in ocfs2_complete_edge_insert()
2076 idx = le16_to_cpu(left_el->l_next_free_rec) - 1; in ocfs2_complete_edge_insert()
2091 left_el = left_path->p_node[i].el; in ocfs2_complete_edge_insert()
2101 left_el = left_path->p_node[subtree_index + 1].el; in ocfs2_complete_edge_insert()
2104 ocfs2_adjust_root_records(el, left_el, right_el, in ocfs2_complete_edge_insert()
2122 struct ocfs2_extent_list *right_el, *left_el; in ocfs2_rotate_subtree_right() local
2126 left_el = path_leaf_el(left_path); in ocfs2_rotate_subtree_right()
2128 if (left_el->l_next_free_rec != left_el->l_count) { in ocfs2_rotate_subtree_right()
2133 le16_to_cpu(left_el->l_next_free_rec)); in ocfs2_rotate_subtree_right()
2141 if (ocfs2_is_empty_extent(&left_el->l_recs[0])) in ocfs2_rotate_subtree_right()
2184 i = le16_to_cpu(left_el->l_next_free_rec) - 1; in ocfs2_rotate_subtree_right()
2185 move_rec = left_el->l_recs[i]; in ocfs2_rotate_subtree_right()
2195 le16_add_cpu(&left_el->l_next_free_rec, -1); in ocfs2_rotate_subtree_right()
2196 ocfs2_shift_records_right(left_el); in ocfs2_rotate_subtree_right()
2197 memset(&left_el->l_recs[0], 0, sizeof(struct ocfs2_extent_rec)); in ocfs2_rotate_subtree_right()
2198 le16_add_cpu(&left_el->l_next_free_rec, 1); in ocfs2_rotate_subtree_right()
2315 struct ocfs2_extent_list *left_el; in ocfs2_rotate_requires_path_adjustment() local
2319 left_el = path_leaf_el(left_path); in ocfs2_rotate_requires_path_adjustment()
2320 next_free = le16_to_cpu(left_el->l_next_free_rec); in ocfs2_rotate_requires_path_adjustment()
2321 rec = &left_el->l_recs[next_free - 1]; in ocfs2_rotate_requires_path_adjustment()
3300 struct ocfs2_extent_list *left_el; in ocfs2_get_right_path() local
3307 left_el = path_leaf_el(left_path); in ocfs2_get_right_path()
3308 BUG_ON(left_el->l_next_free_rec != left_el->l_count); in ocfs2_get_right_path()
3528 struct ocfs2_extent_list *left_el; in ocfs2_merge_rec_left() local
3541 left_el = path_leaf_el(left_path); in ocfs2_merge_rec_left()
3542 BUG_ON(le16_to_cpu(left_el->l_next_free_rec) != in ocfs2_merge_rec_left()
3543 le16_to_cpu(left_el->l_count)); in ocfs2_merge_rec_left()
3545 left_rec = &left_el->l_recs[ in ocfs2_merge_rec_left()
3546 le16_to_cpu(left_el->l_next_free_rec) - 1]; in ocfs2_merge_rec_left()
4084 struct ocfs2_extent_list *left_el = NULL, *right_el, *insert_el, *el; in ocfs2_split_record() local
4089 left_el = path_leaf_el(left_path); in ocfs2_split_record()
4117 insert_el = left_el; in ocfs2_split_record()
4127 ocfs2_rotate_leaf(left_el, tmprec); in ocfs2_split_record()
4128 el = left_el; in ocfs2_split_record()
4131 index = ocfs2_search_extent_list(left_el, cpos); in ocfs2_split_record()
4137 BUG_ON(!ocfs2_is_empty_extent(&left_el->l_recs[0])); in ocfs2_split_record()
4142 el = left_el; in ocfs2_split_record()
4143 insert_el = left_el; in ocfs2_split_record()