Lines Matching defs:max_depth
59 int max_depth;
170 for (i=1; i <= handle->max_depth; i++) {
241 handle->max_depth = ext2fs_le16_to_cpu(eh->eh_depth);
244 retval = ext2fs_get_mem(((handle->max_depth+1) *
248 (handle->max_depth+1) * sizeof(struct extent_path));
297 if (handle->level < handle->max_depth) {
328 if (handle->level < handle->max_depth) {
358 if ((handle->level < handle->max_depth) &&
403 if (handle->level < handle->max_depth)
425 if (!path->curr ||(handle->level >= handle->max_depth))
477 if (handle->level < handle->max_depth)
482 handle->level, handle->max_depth,
498 if (handle->level == handle->max_depth) {
527 (handle->level != handle->max_depth))
531 ((handle->level != handle->max_depth) ||
581 save_path->leaf_height = info.max_depth - info.curr_level - 1;
619 if (leaf_level > handle->max_depth) {
622 leaf_level, handle->max_depth);
636 if (handle->max_depth - handle->level == leaf_level) {
738 orig_height = info.max_depth - info.curr_level;
788 if (handle->level == handle->max_depth) {
858 orig_height = info.max_depth - info.curr_level;
898 retval = ext2fs_get_mem(((handle->max_depth+2) *
904 ((handle->max_depth+2) * sizeof(struct extent_path)));
977 sizeof(struct extent_path) * (handle->max_depth+1));
983 handle->max_depth++;
984 eh->eh_depth = ext2fs_cpu_to_le16(handle->max_depth);
1194 if ((handle->max_depth == 0) && (path->entries == 0)) {
1208 orig_height = info.max_depth - info.curr_level;
1452 if (orig_height > handle->max_depth)
1453 orig_height = handle->max_depth; /* In case we shortened the tree */
1527 eh->eh_depth = handle->max_depth = 0;
1556 info->max_depth = handle->max_depth;