Lines Matching full:depth
14 enum {DIRECT = 10, DEPTH = 4}; /* Have triple indirect */ enumerator
23 static int block_to_path(struct inode *inode, long block, int offsets[DEPTH]) in block_to_path() argument
89 int depth, in get_branch() argument
102 while (--depth) { in get_branch()
206 int offsets[DEPTH]; in get_block()
207 Indirect chain[DEPTH]; in get_block()
211 int depth = block_to_path(inode, iblock, offsets); in get_block() local
213 if (depth == 0) in get_block()
218 partial = get_branch(inode, depth, offsets, chain, &err); in get_block()
225 chain[depth-1].key)); in get_block()
227 partial = chain+depth-1; /* the whole chain */ in get_block()
250 left = (chain + depth) - partial; in get_block()
278 int depth, in find_shared() argument
287 for (k = depth; k > 1 && !offsets[k-1]; k--) in find_shared()
338 static void free_branches(struct inode *inode, sysv_zone_t *p, sysv_zone_t *q, int depth) in free_branches() argument
343 if (depth--) { in free_branches()
355 block_end(bh), depth); in free_branches()
367 int offsets[DEPTH]; in sysv_truncate()
368 Indirect chain[DEPTH]; in sysv_truncate()
413 while (n < DEPTH) { in sysv_truncate()
433 unsigned blocks, res, direct = DIRECT, i = DEPTH; in sysv_nblocks()