Lines Matching refs:ubh
993 struct ufs_buffer_head *ubh = ubh_bread(sb, ind_block, uspi->s_bsize);
996 if (!ubh)
1001 void *p = ubh_get_data_ptr(uspi, ubh, i);
1010 void *p = ubh_get_data_ptr(uspi, ubh, i);
1018 ubh_bforget(ubh);
1022 static void free_branch_tail(struct inode *inode, unsigned from, struct ufs_buffer_head *ubh, int depth)
1030 void *p = ubh_get_data_ptr(uspi, ubh, i);
1036 ubh_mark_buffer_dirty(ubh);
1044 void *p = ubh_get_data_ptr(uspi, ubh, i);
1050 ubh_mark_buffer_dirty(ubh);
1056 if (IS_SYNC(inode) && ubh_buffer_dirty(ubh))
1057 ubh_sync_block(ubh);
1058 ubh_brelse(ubh);
1138 struct ufs_buffer_head *ubh[3];
1166 ubh[i] = ubh_bread(sb, block, uspi->s_bsize);
1167 if (!ubh[i]) {
1173 p = ubh_get_data_ptr(uspi, ubh[i], offsets[i + 1]++);
1176 free_branch_tail(inode, offsets[i + 1], ubh[i], depth - i - 1);