Lines Matching full:depth
31 int depth, in get_branch() argument
33 Indirect chain[DEPTH], in get_branch() argument
45 while (--depth) { in get_branch()
116 Indirect chain[DEPTH], in splice_branch() argument
156 int offsets[DEPTH]; in get_block()
157 Indirect chain[DEPTH]; in get_block()
160 int depth = block_to_path(inode, block, offsets); in get_block() local
162 if (depth == 0) in get_block()
166 partial = get_branch(inode, depth, offsets, chain, &err); in get_block()
171 map_bh(bh, inode->i_sb, block_to_cpu(chain[depth-1].key)); in get_block()
173 partial = chain+depth-1; /* the whole chain */ in get_block()
196 left = (chain + depth) - partial; in get_block()
224 int depth, in find_shared() argument
225 int offsets[DEPTH], in find_shared() argument
226 Indirect chain[DEPTH], in find_shared() argument
233 for (k = depth; k > 1 && !offsets[k-1]; k--) in find_shared()
276 static void free_branches(struct inode *inode, block_t *p, block_t *q, int depth) in free_branches() argument
281 if (depth--) { in free_branches()
291 block_end(bh), depth); in free_branches()
304 int offsets[DEPTH]; in truncate()
305 Indirect chain[DEPTH]; in truncate()
344 while (first_whole < DEPTH-1) { in truncate()
360 unsigned blocks, res, direct = DIRECT, i = DEPTH; in nblocks()