Lines Matching defs:depth
124 static u64 ufs_frag_map(struct inode *inode, unsigned offsets[4], int depth)
140 if (depth == 0)
153 while (--depth) {
177 while (--depth) {
402 int depth = ufs_block_to_path(inode, fragment >> uspi->s_fpbshift, offsets);
406 phys64 = ufs_frag_map(inode, offsets, depth);
425 if (unlikely(!depth)) {
441 if (depth == 1) {
448 for (i = 1; i < depth - 1; i++)
451 phys64 = ufs_inode_getblock(inode, phys64, offsets[depth - 1],
980 static void free_full_branch(struct inode *inode, u64 ind_block, int depth)
990 if (--depth) {
995 free_full_branch(inode, block, depth);
1013 static void free_branch_tail(struct inode *inode, unsigned from, struct ufs_buffer_head *ubh, int depth)
1019 if (--depth) {
1028 free_full_branch(inode, block, depth);
1127 int depth;
1136 depth = ufs_block_to_path(inode, last, offsets);
1137 if (!depth)
1140 depth = 1;
1143 for (depth2 = depth - 1; depth2; depth2--)
1148 if (depth == 1) {
1168 free_branch_tail(inode, offsets[i + 1], ubh[i], depth - i - 1);