Lines Matching refs:depth
125 static u64 ufs_frag_map(struct inode *inode, unsigned offsets[4], int depth)
141 if (depth == 0)
154 while (--depth) {
178 while (--depth) {
403 int depth = ufs_block_to_path(inode, fragment >> uspi->s_fpbshift, offsets);
407 phys64 = ufs_frag_map(inode, offsets, depth);
426 if (unlikely(!depth)) {
442 if (depth == 1) {
449 for (i = 1; i < depth - 1; i++)
452 phys64 = ufs_inode_getblock(inode, phys64, offsets[depth - 1],
989 static void free_full_branch(struct inode *inode, u64 ind_block, int depth)
999 if (--depth) {
1004 free_full_branch(inode, block, depth);
1022 static void free_branch_tail(struct inode *inode, unsigned from, struct ufs_buffer_head *ubh, int depth)
1028 if (--depth) {
1037 free_full_branch(inode, block, depth);
1135 int depth;
1144 depth = ufs_block_to_path(inode, last, offsets);
1145 if (!depth)
1148 depth = 1;
1151 for (depth2 = depth - 1; depth2; depth2--)
1156 if (depth == 1) {
1176 free_branch_tail(inode, offsets[i + 1], ubh[i], depth - i - 1);