Lines Matching refs:ubh
980 struct ufs_buffer_head *ubh = ubh_bread(sb, ind_block, uspi->s_bsize);
983 if (!ubh)
988 void *p = ubh_get_data_ptr(uspi, ubh, i);
997 void *p = ubh_get_data_ptr(uspi, ubh, i);
1005 ubh_bforget(ubh);
1009 static void free_branch_tail(struct inode *inode, unsigned from, struct ufs_buffer_head *ubh, int depth)
1017 void *p = ubh_get_data_ptr(uspi, ubh, i);
1023 ubh_mark_buffer_dirty(ubh);
1031 void *p = ubh_get_data_ptr(uspi, ubh, i);
1037 ubh_mark_buffer_dirty(ubh);
1043 if (IS_SYNC(inode) && ubh_buffer_dirty(ubh))
1044 ubh_sync_block(ubh);
1045 ubh_brelse(ubh);
1126 struct ufs_buffer_head *ubh[3];
1154 ubh[i] = ubh_bread(sb, block, uspi->s_bsize);
1155 if (!ubh[i]) {
1161 p = ubh_get_data_ptr(uspi, ubh[i], offsets[i + 1]++);
1164 free_branch_tail(inode, offsets[i + 1], ubh[i], depth - i - 1);