Lines Matching refs:depth
356 static Indirect *ext3_get_branch(struct inode *inode, int depth, int *offsets, in ext3_get_branch() argument
368 while (--depth) { in ext3_get_branch()
800 int depth; in ext3_get_blocks_handle() local
807 depth = ext3_block_to_path(inode,iblock,offsets,&blocks_to_boundary); in ext3_get_blocks_handle()
809 if (depth == 0) in ext3_get_blocks_handle()
812 partial = ext3_get_branch(inode, depth, offsets, chain, &err); in ext3_get_blocks_handle()
816 first_block = le32_to_cpu(chain[depth - 1].key); in ext3_get_blocks_handle()
835 blk = le32_to_cpu(*(chain[depth-1].p + count)); in ext3_get_blocks_handle()
869 partial = ext3_get_branch(inode, depth, offsets, chain, &err); in ext3_get_blocks_handle()
890 indirect_blks = (chain + depth) - partial - 1; in ext3_get_blocks_handle()
927 map_bh(bh_result, inode->i_sb, le32_to_cpu(chain[depth-1].key)); in ext3_get_blocks_handle()
932 partial = chain + depth - 1; /* the whole chain */ in ext3_get_blocks_handle()
1984 static Indirect *ext3_find_shared(struct inode *inode, int depth, in ext3_find_shared() argument
1992 for (k = depth; k > 1 && !offsets[k-1]; k--) in ext3_find_shared()
2182 __le32 *first, __le32 *last, int depth) in ext3_free_branches() argument
2190 if (depth--) { in ext3_free_branches()
2218 depth); in ext3_free_branches()