Lines Matching refs:depth
582 int i, start = 0, depth = 0; in ocfs2_reinit_path() local
602 depth = le16_to_cpu(path_root_el(path)->l_tree_depth); in ocfs2_reinit_path()
606 path->p_tree_depth = depth; in ocfs2_reinit_path()
1516 int depth = le16_to_cpu(el->l_tree_depth); in ocfs2_grow_tree() local
1536 depth); in ocfs2_grow_tree()
1546 depth++; in ocfs2_grow_tree()
1547 if (depth == 1) { in ocfs2_grow_tree()
1575 *final_depth = depth; in ocfs2_grow_tree()
4859 int ret = 0, depth; in ocfs2_split_and_insert() local
4877 depth = le16_to_cpu(rightmost_el->l_tree_depth); in ocfs2_split_and_insert()
4878 if (depth) { in ocfs2_split_and_insert()
4887 &depth, last_eb_bh, meta_ac); in ocfs2_split_and_insert()
4897 insert.ins_tree_depth = depth; in ocfs2_split_and_insert()
5223 int ret, depth, credits; in ocfs2_split_tree() local
5239 depth = path->p_tree_depth; in ocfs2_split_tree()
5240 if (depth > 0) { in ocfs2_split_tree()
5264 ret = ocfs2_grow_tree(handle, et, &depth, &last_eb_bh, in ocfs2_split_tree()
5276 insert.ins_tree_depth = depth; in ocfs2_split_tree()