Lines Matching full:depth
15 enum {DIRECT = 10, DEPTH = 4}; /* Have triple indirect */ enumerator
24 static int block_to_path(struct inode *inode, long block, int offsets[DEPTH]) in block_to_path() argument
87 int depth, in get_branch() argument
100 while (--depth) { in get_branch()
211 int offsets[DEPTH]; in get_block()
212 Indirect chain[DEPTH]; in get_block()
216 int depth = block_to_path(inode, iblock, offsets); in get_block() local
218 if (depth == 0) in get_block()
222 partial = get_branch(inode, depth, offsets, chain, &err); in get_block()
228 chain[depth-1].key)); in get_block()
230 partial = chain+depth-1; /* the whole chain */ in get_block()
253 left = (chain + depth) - partial; in get_block()
281 int depth, in find_shared() argument
290 for (k = depth; k > 1 && !offsets[k-1]; k--) in find_shared()
341 static void free_branches(struct inode *inode, sysv_zone_t *p, sysv_zone_t *q, int depth) in free_branches() argument
346 if (depth--) { in free_branches()
358 block_end(bh), depth); in free_branches()
370 int offsets[DEPTH]; in sysv_truncate()
371 Indirect chain[DEPTH]; in sysv_truncate()
416 while (n < DEPTH) { in sysv_truncate()
436 unsigned blocks, res, direct = DIRECT, i = DEPTH; in sysv_nblocks()