Lines Matching refs:l_tree_depth
611 depth = le16_to_cpu(path_root_el(path)->l_tree_depth); in ocfs2_reinit_path()
702 BUG_ON(le16_to_cpu(root_el->l_tree_depth) >= OCFS2_MAX_PATH_DEPTH); in ocfs2_new_path()
706 path->p_tree_depth = le16_to_cpu(root_el->l_tree_depth); in ocfs2_new_path()
986 BUG_ON(el->l_tree_depth != 0); in ocfs2_num_free_extents()
1185 BUG_ON(!el->l_tree_depth); in ocfs2_add_branch()
1187 new_blocks = le16_to_cpu(el->l_tree_depth); in ocfs2_add_branch()
1272 eb_el->l_tree_depth = cpu_to_le16(i); in ocfs2_add_branch()
1286 if (!eb_el->l_tree_depth) in ocfs2_add_branch()
1408 eb_el->l_tree_depth = root_el->l_tree_depth; in ocfs2_shift_tree_depth()
1425 le16_add_cpu(&root_el->l_tree_depth, 1); in ocfs2_shift_tree_depth()
1435 if (root_el->l_tree_depth == cpu_to_le16(1)) in ocfs2_shift_tree_depth()
1480 while(le16_to_cpu(el->l_tree_depth) > 1) { in ocfs2_find_branch_target()
1545 int depth = le16_to_cpu(el->l_tree_depth); in ocfs2_grow_tree()
1731 BUG_ON(le16_to_cpu(el->l_tree_depth) != 0); in ocfs2_create_empty_extent()
1743 le16_to_cpu(el->l_tree_depth)); in ocfs2_create_empty_extent()
1815 while (el->l_tree_depth) { in __ocfs2_find_path()
1820 le16_to_cpu(el->l_tree_depth)); in __ocfs2_find_path()
1845 le16_to_cpu(el->l_tree_depth), i); in __ocfs2_find_path()
1927 if (le16_to_cpu(el->l_tree_depth) == 0) { in find_leaf_ins()
1987 BUG_ON(right_child_el->l_tree_depth); in ocfs2_adjust_adjacent_records()
2021 BUG_ON(le16_to_cpu(root_el->l_tree_depth) <= in ocfs2_adjust_root_records()
2022 le16_to_cpu(left_el->l_tree_depth)); in ocfs2_adjust_root_records()
3106 el->l_tree_depth = 0; in ocfs2_remove_rightmost_path()
3884 BUG_ON(le16_to_cpu(el->l_tree_depth) != 0); in ocfs2_insert_at_leaf()
3937 le16_to_cpu(el->l_tree_depth), in ocfs2_insert_at_leaf()
4273 if (le16_to_cpu(el->l_tree_depth) == 0) { in ocfs2_do_insert_extent()
4501 BUG_ON(le16_to_cpu(el->l_tree_depth) != 0); in ocfs2_figure_contig_type()
4549 BUG_ON(le16_to_cpu(el->l_tree_depth) != 0); in ocfs2_figure_appending_type()
4601 insert->ins_tree_depth = le16_to_cpu(el->l_tree_depth); in ocfs2_figure_insert_type()
4603 if (el->l_tree_depth) { in ocfs2_figure_insert_type()
4944 depth = le16_to_cpu(rightmost_el->l_tree_depth); in ocfs2_split_and_insert()
7022 di->id2.i_list.l_tree_depth = 0; in ocfs2_dinode_new_extent_list()
7310 if (root_el->l_tree_depth && rec->e_int_clusters == 0) { in ocfs2_commit_truncate()
7313 le16_to_cpu(root_el->l_tree_depth)); in ocfs2_commit_truncate()