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) {
455 * @indirect_blks: depth of the chain (number of blocks to allocate)
636 int depth;
643 depth = ext2_block_to_path(inode,iblock,offsets,&blocks_to_boundary);
645 if (depth == 0)
648 partial = ext2_get_branch(inode, depth, offsets, chain, &err);
651 first_block = le32_to_cpu(chain[depth - 1].key);
657 if (!verify_chain(chain, chain + depth - 1)) {
666 partial = chain + depth - 1;
669 blk = le32_to_cpu(*(chain[depth-1].p + count));
701 partial = ext2_get_branch(inode, depth, offsets, chain, &err);
724 indirect_blks = (chain + depth) - partial - 1;
748 le32_to_cpu(chain[depth-1].key),
756 le32_to_cpu(chain[depth-1].key), count,
772 partial = chain + depth - 1; /* the whole chain */
779 *bno = le32_to_cpu(chain[depth-1].key);
997 * @depth: depth of the affected branch
1029 int depth,
1038 for (k = depth; k > 1 && !offsets[k-1]; k--)
1121 * @depth: depth of the branches to free
1127 static void ext2_free_branches(struct inode *inode, __le32 *p, __le32 *q, int depth)
1132 if (depth--) {
1153 depth);