Lines Matching refs:max_depth
62 int max_depth; member
273 handle->max_depth = ext2fs_le16_to_cpu(eh->eh_depth); in ext2fs_extent_open2()
276 handle->max_paths = handle->max_depth + 1; in ext2fs_extent_open2()
329 if (handle->level < handle->max_depth) { in ext2fs_extent_get()
360 if (handle->level < handle->max_depth) { in ext2fs_extent_get()
390 if ((handle->level < handle->max_depth) && in ext2fs_extent_get()
435 if (handle->level < handle->max_depth) in ext2fs_extent_get()
457 if (!path->curr ||(handle->level >= handle->max_depth)) in ext2fs_extent_get()
514 if (handle->level < handle->max_depth) in ext2fs_extent_get()
519 handle->level, handle->max_depth, in ext2fs_extent_get()
535 if (handle->level == handle->max_depth) { in ext2fs_extent_get()
564 (handle->level != handle->max_depth)) in ext2fs_extent_get()
568 ((handle->level != handle->max_depth) || in ext2fs_extent_get()
630 save_path->leaf_height = info.max_depth - info.curr_level - 1;
668 if (leaf_level > handle->max_depth) { in ext2fs_extent_goto2()
671 leaf_level, handle->max_depth); in ext2fs_extent_goto2()
685 if (handle->max_depth - handle->level == leaf_level) { in ext2fs_extent_goto2()
794 orig_height = info.max_depth - info.curr_level; in ext2fs_extent_fix_parents()
844 if (handle->level == handle->max_depth) { in ext2fs_extent_replace()
934 orig_height = info.max_depth - info.curr_level; in extent_node_split()
940 if (handle->level == handle->max_depth) { in extent_node_split()
1086 handle->max_depth++; in extent_node_split()
1088 eh->eh_depth = ext2fs_cpu_to_le16(handle->max_depth); in extent_node_split()
1304 if ((handle->max_depth == 0) && (path->entries == 0)) { in ext2fs_extent_set_bmap()
1318 orig_height = info.max_depth - info.curr_level; in ext2fs_extent_set_bmap()
1593 if (orig_height > handle->max_depth) in ext2fs_extent_set_bmap()
1594 orig_height = handle->max_depth; /* In case we shortened the tree */ in ext2fs_extent_set_bmap()
1669 handle->max_depth = 0; in ext2fs_extent_delete()
1699 info->max_depth = handle->max_depth; in ext2fs_extent_get_info()