• Home
  • Raw
  • Download

Lines Matching refs:root_el

683 					 struct ocfs2_extent_list *root_el,  in ocfs2_new_path()  argument
688 BUG_ON(le16_to_cpu(root_el->l_tree_depth) >= OCFS2_MAX_PATH_DEPTH); in ocfs2_new_path()
692 path->p_tree_depth = le16_to_cpu(root_el->l_tree_depth); in ocfs2_new_path()
695 path_root_el(path) = root_el; in ocfs2_new_path()
1359 struct ocfs2_extent_list *root_el; in ocfs2_shift_tree_depth() local
1384 root_el = et->et_root_el; in ocfs2_shift_tree_depth()
1394 eb_el->l_tree_depth = root_el->l_tree_depth; in ocfs2_shift_tree_depth()
1395 eb_el->l_next_free_rec = root_el->l_next_free_rec; in ocfs2_shift_tree_depth()
1396 for (i = 0; i < le16_to_cpu(root_el->l_next_free_rec); i++) in ocfs2_shift_tree_depth()
1397 eb_el->l_recs[i] = root_el->l_recs[i]; in ocfs2_shift_tree_depth()
1411 le16_add_cpu(&root_el->l_tree_depth, 1); in ocfs2_shift_tree_depth()
1412 root_el->l_recs[0].e_cpos = 0; in ocfs2_shift_tree_depth()
1413 root_el->l_recs[0].e_blkno = eb->h_blkno; in ocfs2_shift_tree_depth()
1414 root_el->l_recs[0].e_int_clusters = cpu_to_le32(new_clusters); in ocfs2_shift_tree_depth()
1415 for (i = 1; i < le16_to_cpu(root_el->l_next_free_rec); i++) in ocfs2_shift_tree_depth()
1416 memset(&root_el->l_recs[i], 0, sizeof(struct ocfs2_extent_rec)); in ocfs2_shift_tree_depth()
1417 root_el->l_next_free_rec = cpu_to_le16(1); in ocfs2_shift_tree_depth()
1421 if (root_el->l_tree_depth == cpu_to_le16(1)) in ocfs2_shift_tree_depth()
1789 struct ocfs2_extent_list *root_el, u32 cpos, in __ocfs2_find_path() argument
1800 el = root_el; in __ocfs2_find_path()
1928 struct ocfs2_extent_list *root_el, u32 cpos, in ocfs2_find_leaf() argument
1934 ret = __ocfs2_find_path(ci, root_el, cpos, find_leaf_ins, &bh); in ocfs2_find_leaf()
2000 static void ocfs2_adjust_root_records(struct ocfs2_extent_list *root_el, in ocfs2_adjust_root_records() argument
2007 BUG_ON(le16_to_cpu(root_el->l_tree_depth) <= in ocfs2_adjust_root_records()
2010 for(i = 0; i < le16_to_cpu(root_el->l_next_free_rec) - 1; i++) { in ocfs2_adjust_root_records()
2011 if (le64_to_cpu(root_el->l_recs[i].e_blkno) == left_el_blkno) in ocfs2_adjust_root_records()
2019 BUG_ON(i >= (le16_to_cpu(root_el->l_next_free_rec) - 1)); in ocfs2_adjust_root_records()
2021 ocfs2_adjust_adjacent_records(&root_el->l_recs[i], in ocfs2_adjust_root_records()
2022 &root_el->l_recs[i + 1], right_el); in ocfs2_adjust_root_records()
2618 struct ocfs2_extent_list *root_el = left_path->p_node[subtree_index].el; in ocfs2_unlink_subtree() local
2623 for(i = 1; i < le16_to_cpu(root_el->l_next_free_rec); i++) in ocfs2_unlink_subtree()
2624 if (root_el->l_recs[i].e_blkno == eb->h_blkno) in ocfs2_unlink_subtree()
2627 BUG_ON(i >= le16_to_cpu(root_el->l_next_free_rec)); in ocfs2_unlink_subtree()
2629 memset(&root_el->l_recs[i], 0, sizeof(struct ocfs2_extent_rec)); in ocfs2_unlink_subtree()
2630 le16_add_cpu(&root_el->l_next_free_rec, -1); in ocfs2_unlink_subtree()
7211 struct ocfs2_extent_list *root_el = &(di->id2.i_list); in ocfs2_commit_truncate() local
7288 if (root_el->l_tree_depth && rec->e_int_clusters == 0) { in ocfs2_commit_truncate()
7291 le16_to_cpu(root_el->l_tree_depth)); in ocfs2_commit_truncate()