Lines Matching refs:depth
231 int depth, in ext2_get_branch() argument
245 while (--depth) { in ext2_get_branch()
629 int depth; in ext2_get_blocks() local
636 depth = ext2_block_to_path(inode,iblock,offsets,&blocks_to_boundary); in ext2_get_blocks()
638 if (depth == 0) in ext2_get_blocks()
641 partial = ext2_get_branch(inode, depth, offsets, chain, &err); in ext2_get_blocks()
644 first_block = le32_to_cpu(chain[depth - 1].key); in ext2_get_blocks()
651 if (!verify_chain(chain, chain + depth - 1)) { in ext2_get_blocks()
662 blk = le32_to_cpu(*(chain[depth-1].p + count)); in ext2_get_blocks()
694 partial = ext2_get_branch(inode, depth, offsets, chain, &err); in ext2_get_blocks()
715 indirect_blks = (chain + depth) - partial - 1; in ext2_get_blocks()
739 err = dax_clear_blocks(inode, le32_to_cpu(chain[depth-1].key), in ext2_get_blocks()
751 map_bh(bh_result, inode->i_sb, le32_to_cpu(chain[depth-1].key)); in ext2_get_blocks()
756 partial = chain + depth - 1; /* the whole chain */ in ext2_get_blocks()
954 int depth, in ext2_find_shared() argument
963 for (k = depth; k > 1 && !offsets[k-1]; k--) in ext2_find_shared()
1052 static void ext2_free_branches(struct inode *inode, __le32 *p, __le32 *q, int depth) in ext2_free_branches() argument
1057 if (depth--) { in ext2_free_branches()
1078 depth); in ext2_free_branches()