Lines Matching refs:depth
204 * @depth: depth of the chain (1 - direct pointer, etc.)
227 * or when it reads all @depth-1 indirect blocks successfully and finds
231 int depth,
245 while (--depth) {
450 * @num: depth of the chain (number of blocks to allocate)
616 int depth;
621 depth = ext2_block_to_path(inode,iblock,offsets,&blocks_to_boundary);
623 if (depth == 0)
626 partial = ext2_get_branch(inode, depth, offsets, chain, &err);
629 first_block = le32_to_cpu(chain[depth - 1].key);
636 if (!verify_chain(chain, chain + depth - 1)) {
647 blk = le32_to_cpu(*(chain[depth-1].p + count));
679 partial = ext2_get_branch(inode, depth, offsets, chain, &err);
700 indirect_blks = (chain + depth) - partial - 1;
720 le32_to_cpu(chain[depth-1].key));
731 map_bh(bh_result, inode->i_sb, le32_to_cpu(chain[depth-1].key));
736 partial = chain + depth - 1; /* the whole chain */
905 * @depth: depth of the affected branch
937 int depth,
946 for (k = depth; k > 1 && !offsets[k-1]; k--)
1029 * @depth: depth of the branches to free
1035 static void ext2_free_branches(struct inode *inode, __le32 *p, __le32 *q, int depth)
1040 if (depth--) {
1061 depth);