Lines Matching refs:depth
232 int depth, in ext2_get_branch() argument
246 while (--depth) { in ext2_get_branch()
630 int depth; in ext2_get_blocks() local
635 depth = ext2_block_to_path(inode,iblock,offsets,&blocks_to_boundary); in ext2_get_blocks()
637 if (depth == 0) in ext2_get_blocks()
640 partial = ext2_get_branch(inode, depth, offsets, chain, &err); in ext2_get_blocks()
643 first_block = le32_to_cpu(chain[depth - 1].key); in ext2_get_blocks()
650 if (!verify_chain(chain, chain + depth - 1)) { in ext2_get_blocks()
661 blk = le32_to_cpu(*(chain[depth-1].p + count)); in ext2_get_blocks()
693 partial = ext2_get_branch(inode, depth, offsets, chain, &err); in ext2_get_blocks()
714 indirect_blks = (chain + depth) - partial - 1; in ext2_get_blocks()
737 le32_to_cpu(chain[depth-1].key)); in ext2_get_blocks()
748 map_bh(bh_result, inode->i_sb, le32_to_cpu(chain[depth-1].key)); in ext2_get_blocks()
753 partial = chain + depth - 1; /* the whole chain */ in ext2_get_blocks()
952 int depth, in ext2_find_shared() argument
961 for (k = depth; k > 1 && !offsets[k-1]; k--) in ext2_find_shared()
1050 static void ext2_free_branches(struct inode *inode, __le32 *p, __le32 *q, int depth) in ext2_free_branches() argument
1055 if (depth--) { in ext2_free_branches()
1076 depth); in ext2_free_branches()