Lines Matching refs:depth
232 int depth, in ext2_get_branch() argument
246 while (--depth) { in ext2_get_branch()
630 int depth; in ext2_get_blocks() local
637 depth = ext2_block_to_path(inode,iblock,offsets,&blocks_to_boundary); in ext2_get_blocks()
639 if (depth == 0) in ext2_get_blocks()
642 partial = ext2_get_branch(inode, depth, offsets, chain, &err); in ext2_get_blocks()
645 first_block = le32_to_cpu(chain[depth - 1].key); in ext2_get_blocks()
652 if (!verify_chain(chain, chain + depth - 1)) { in ext2_get_blocks()
663 blk = le32_to_cpu(*(chain[depth-1].p + count)); in ext2_get_blocks()
695 partial = ext2_get_branch(inode, depth, offsets, chain, &err); in ext2_get_blocks()
716 indirect_blks = (chain + depth) - partial - 1; in ext2_get_blocks()
740 err = dax_clear_blocks(inode, le32_to_cpu(chain[depth-1].key), in ext2_get_blocks()
752 map_bh(bh_result, inode->i_sb, le32_to_cpu(chain[depth-1].key)); in ext2_get_blocks()
757 partial = chain + depth - 1; /* the whole chain */ in ext2_get_blocks()
955 int depth, in ext2_find_shared() argument
964 for (k = depth; k > 1 && !offsets[k-1]; k--) in ext2_find_shared()
1053 static void ext2_free_branches(struct inode *inode, __le32 *p, __le32 *q, int depth) in ext2_free_branches() argument
1058 if (depth--) { in ext2_free_branches()
1079 depth); in ext2_free_branches()