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],
976 static void free_full_branch(struct inode *inode, u64 ind_block, int depth)
986 if (--depth) {
991 free_full_branch(inode, block, depth);
1009 static void free_branch_tail(struct inode *inode, unsigned from, struct ufs_buffer_head *ubh, int depth)
1015 if (--depth) {
1024 free_full_branch(inode, block, depth);
1123 int depth;
1132 depth = ufs_block_to_path(inode, last, offsets);
1133 if (!depth)
1136 depth = 1;
1139 for (depth2 = depth - 1; depth2; depth2--)
1144 if (depth == 1) {
1164 free_branch_tail(inode, offsets[i + 1], ubh[i], depth - i - 1);