Lines Matching refs:depth
428 int i, start = 0, depth = 0; in ocfs2_reinit_path() local
448 depth = le16_to_cpu(path_root_el(path)->l_tree_depth); in ocfs2_reinit_path()
452 path->p_tree_depth = depth; in ocfs2_reinit_path()
1341 int depth = le16_to_cpu(el->l_tree_depth); in ocfs2_grow_tree() local
1359 mlog(0, "need to shift tree depth (current = %d)\n", depth); in ocfs2_grow_tree()
1370 depth++; in ocfs2_grow_tree()
1371 if (depth == 1) { in ocfs2_grow_tree()
1400 *final_depth = depth; in ocfs2_grow_tree()
4704 int ret = 0, depth; in ocfs2_split_and_insert() local
4722 depth = le16_to_cpu(rightmost_el->l_tree_depth); in ocfs2_split_and_insert()
4723 if (depth) { in ocfs2_split_and_insert()
4732 &depth, last_eb_bh, meta_ac); in ocfs2_split_and_insert()
4742 insert.ins_tree_depth = depth; in ocfs2_split_and_insert()
5023 int ret, depth, credits = handle->h_buffer_credits; in ocfs2_split_tree() local
5038 depth = path->p_tree_depth; in ocfs2_split_tree()
5039 if (depth > 0) { in ocfs2_split_tree()
5063 ret = ocfs2_grow_tree(inode, handle, et, &depth, &last_eb_bh, in ocfs2_split_tree()
5075 insert.ins_tree_depth = depth; in ocfs2_split_tree()