Lines Matching refs:depth
361 * @depth: depth of the chain (1 - direct pointer, etc.)
384 * or when it reads all @depth-1 indirect blocks successfully and finds
387 static Indirect *ext3_get_branch(struct inode *inode, int depth, int *offsets,
399 while (--depth) {
834 int depth;
841 depth = ext3_block_to_path(inode,iblock,offsets,&blocks_to_boundary);
843 if (depth == 0)
846 partial = ext3_get_branch(inode, depth, offsets, chain, &err);
850 first_block = le32_to_cpu(chain[depth - 1].key);
857 if (!verify_chain(chain, chain + depth - 1)) {
869 blk = le32_to_cpu(*(chain[depth-1].p + count));
903 partial = ext3_get_branch(inode, depth, offsets, chain, &err);
924 indirect_blks = (chain + depth) - partial - 1;
954 map_bh(bh_result, inode->i_sb, le32_to_cpu(chain[depth-1].key));
959 partial = chain + depth - 1; /* the whole chain */
1995 * @depth: depth of the affected branch
2027 static Indirect *ext3_find_shared(struct inode *inode, int depth,
2035 for (k = depth; k > 1 && !offsets[k-1]; k--)
2214 * @depth: depth of the branches to free
2222 __le32 *first, __le32 *last, int depth)
2230 if (depth--) {
2258 depth);