Lines Matching refs:l_tree_depth

595 		depth = le16_to_cpu(path_root_el(path)->l_tree_depth);  in ocfs2_reinit_path()
686 BUG_ON(le16_to_cpu(root_el->l_tree_depth) >= OCFS2_MAX_PATH_DEPTH); in ocfs2_new_path()
690 path->p_tree_depth = le16_to_cpu(root_el->l_tree_depth); in ocfs2_new_path()
970 if (el->l_tree_depth != 0) { in ocfs2_num_free_extents()
975 le16_to_cpu(el->l_tree_depth)); in ocfs2_num_free_extents()
1175 BUG_ON(!el->l_tree_depth); in ocfs2_add_branch()
1177 new_blocks = le16_to_cpu(el->l_tree_depth); in ocfs2_add_branch()
1262 eb_el->l_tree_depth = cpu_to_le16(i); in ocfs2_add_branch()
1276 if (!eb_el->l_tree_depth) in ocfs2_add_branch()
1398 eb_el->l_tree_depth = root_el->l_tree_depth; in ocfs2_shift_tree_depth()
1415 le16_add_cpu(&root_el->l_tree_depth, 1); in ocfs2_shift_tree_depth()
1425 if (root_el->l_tree_depth == cpu_to_le16(1)) in ocfs2_shift_tree_depth()
1470 while(le16_to_cpu(el->l_tree_depth) > 1) { in ocfs2_find_branch_target()
1535 int depth = le16_to_cpu(el->l_tree_depth); in ocfs2_grow_tree()
1721 BUG_ON(le16_to_cpu(el->l_tree_depth) != 0); in ocfs2_create_empty_extent()
1733 le16_to_cpu(el->l_tree_depth)); in ocfs2_create_empty_extent()
1805 while (el->l_tree_depth) { in __ocfs2_find_path()
1806 if (unlikely(le16_to_cpu(el->l_tree_depth) >= OCFS2_MAX_PATH_DEPTH)) { in __ocfs2_find_path()
1810 le16_to_cpu(el->l_tree_depth)); in __ocfs2_find_path()
1818 le16_to_cpu(el->l_tree_depth)); in __ocfs2_find_path()
1843 le16_to_cpu(el->l_tree_depth), i); in __ocfs2_find_path()
1925 if (le16_to_cpu(el->l_tree_depth) == 0) { in find_leaf_ins()
1985 BUG_ON(right_child_el->l_tree_depth); in ocfs2_adjust_adjacent_records()
2019 BUG_ON(le16_to_cpu(root_el->l_tree_depth) <= in ocfs2_adjust_root_records()
2020 le16_to_cpu(left_el->l_tree_depth)); in ocfs2_adjust_root_records()
3104 el->l_tree_depth = 0; in ocfs2_remove_rightmost_path()
3882 BUG_ON(le16_to_cpu(el->l_tree_depth) != 0); in ocfs2_insert_at_leaf()
3935 le16_to_cpu(el->l_tree_depth), in ocfs2_insert_at_leaf()
4271 if (le16_to_cpu(el->l_tree_depth) == 0) { in ocfs2_do_insert_extent()
4499 BUG_ON(le16_to_cpu(el->l_tree_depth) != 0); in ocfs2_figure_contig_type()
4547 BUG_ON(le16_to_cpu(el->l_tree_depth) != 0); in ocfs2_figure_appending_type()
4599 insert->ins_tree_depth = le16_to_cpu(el->l_tree_depth); in ocfs2_figure_insert_type()
4601 if (el->l_tree_depth) { in ocfs2_figure_insert_type()
4942 depth = le16_to_cpu(rightmost_el->l_tree_depth); in ocfs2_split_and_insert()
7053 di->id2.i_list.l_tree_depth = 0; in ocfs2_dinode_new_extent_list()
7319 if (root_el->l_tree_depth && rec->e_int_clusters == 0) { in ocfs2_commit_truncate()
7322 le16_to_cpu(root_el->l_tree_depth)); in ocfs2_commit_truncate()