Lines Matching refs:depth
117 * @depth: depth of the chain (1 - direct pointer, etc.)
138 * or when it reads all @depth-1 indirect blocks successfully and finds
144 static Indirect *ext4_get_branch(struct inode *inode, int depth,
159 while (--depth) {
539 int depth;
546 depth = ext4_block_to_path(inode, map->m_lblk, offsets,
549 if (depth == 0)
552 partial = ext4_get_branch(inode, depth, offsets, chain, &err);
556 first_block = le32_to_cpu(chain[depth - 1].key);
562 blk = le32_to_cpu(*(chain[depth-1].p + count));
584 for (i = partial - chain + 1; i < depth; i++)
621 indirect_blks = (chain + depth) - partial - 1;
662 map->m_pblk = le32_to_cpu(chain[depth-1].key);
668 partial = chain + depth - 1; /* the whole chain */
769 * @depth: depth of the affected branch
801 static Indirect *ext4_find_shared(struct inode *inode, int depth,
810 for (k = depth; k > 1 && !offsets[k-1]; k--)
997 * @depth: depth of the branches to free
1005 __le32 *first, __le32 *last, int depth)
1013 if (depth--) {
1026 (unsigned long) nr, depth);
1048 depth);
1390 int depth = (chain+n-1) - partial;
1413 if (partial > chain && depth <= depth2) {
1420 if (partial2 > chain2 && depth2 <= depth) {