Lines Matching defs:depth
208 * @depth: depth of the chain (1 - direct pointer, etc.)
231 * or when it reads all @depth-1 indirect blocks successfully and finds
235 int depth,
249 while (--depth) {
451 * @indirect_blks: depth of the chain (number of blocks to allocate)
632 int depth;
639 depth = ext2_block_to_path(inode,iblock,offsets,&blocks_to_boundary);
641 if (depth == 0)
644 partial = ext2_get_branch(inode, depth, offsets, chain, &err);
647 first_block = le32_to_cpu(chain[depth - 1].key);
653 if (!verify_chain(chain, chain + depth - 1)) {
662 partial = chain + depth - 1;
665 blk = le32_to_cpu(*(chain[depth-1].p + count));
697 partial = ext2_get_branch(inode, depth, offsets, chain, &err);
720 indirect_blks = (chain + depth) - partial - 1;
744 le32_to_cpu(chain[depth-1].key),
752 le32_to_cpu(chain[depth-1].key), count,
768 partial = chain + depth - 1; /* the whole chain */
775 *bno = le32_to_cpu(chain[depth-1].key);
1013 * @depth: depth of the affected branch
1045 int depth,
1054 for (k = depth; k > 1 && !offsets[k-1]; k--)
1137 * @depth: depth of the branches to free
1143 static void ext2_free_branches(struct inode *inode, __le32 *p, __le32 *q, int depth)
1148 if (depth--) {
1169 depth);