Lines Matching refs:depth
234 int depth, in ext2_get_branch() argument
248 while (--depth) { in ext2_get_branch()
632 int depth; in ext2_get_blocks() local
639 depth = ext2_block_to_path(inode,iblock,offsets,&blocks_to_boundary); in ext2_get_blocks()
641 if (depth == 0) in ext2_get_blocks()
644 partial = ext2_get_branch(inode, depth, offsets, chain, &err); in ext2_get_blocks()
647 first_block = le32_to_cpu(chain[depth - 1].key); in ext2_get_blocks()
653 if (!verify_chain(chain, chain + depth - 1)) { in ext2_get_blocks()
664 blk = le32_to_cpu(*(chain[depth-1].p + count)); in ext2_get_blocks()
696 partial = ext2_get_branch(inode, depth, offsets, chain, &err); in ext2_get_blocks()
716 indirect_blks = (chain + depth) - partial - 1; in ext2_get_blocks()
743 le32_to_cpu(chain[depth-1].key) + i); in ext2_get_blocks()
751 le32_to_cpu(chain[depth-1].key), count, in ext2_get_blocks()
768 partial = chain + depth - 1; /* the whole chain */ in ext2_get_blocks()
775 *bno = le32_to_cpu(chain[depth-1].key); in ext2_get_blocks()
1038 int depth, in ext2_find_shared() argument
1047 for (k = depth; k > 1 && !offsets[k-1]; k--) in ext2_find_shared()
1136 static void ext2_free_branches(struct inode *inode, __le32 *p, __le32 *q, int depth) in ext2_free_branches() argument
1141 if (depth--) { in ext2_free_branches()
1162 depth); in ext2_free_branches()