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) {
541 int depth;
548 depth = ext4_block_to_path(inode, map->m_lblk, offsets,
551 if (depth == 0)
554 partial = ext4_get_branch(inode, depth, offsets, chain, &err);
558 first_block = le32_to_cpu(chain[depth - 1].key);
564 blk = le32_to_cpu(*(chain[depth-1].p + count));
586 for (i = partial - chain + 1; i < depth; i++)
623 indirect_blks = (chain + depth) - partial - 1;
664 map->m_pblk = le32_to_cpu(chain[depth-1].key);
670 partial = chain + depth - 1; /* the whole chain */
772 * @depth: depth of the affected branch
804 static Indirect *ext4_find_shared(struct inode *inode, int depth,
813 for (k = depth; k > 1 && !offsets[k-1]; k--)
1001 * @depth: depth of the branches to free
1009 __le32 *first, __le32 *last, int depth)
1017 if (depth--) {
1030 (unsigned long) nr, depth);
1052 depth);
1395 int depth = (chain+n-1) - partial;
1418 if (partial > chain && depth <= depth2) {
1425 if (partial2 > chain2 && depth2 <= depth) {