Lines Matching refs:ubh
984 struct ufs_buffer_head *ubh = ubh_bread(sb, ind_block, uspi->s_bsize);
987 if (!ubh)
992 void *p = ubh_get_data_ptr(uspi, ubh, i);
1001 void *p = ubh_get_data_ptr(uspi, ubh, i);
1009 ubh_bforget(ubh);
1013 static void free_branch_tail(struct inode *inode, unsigned from, struct ufs_buffer_head *ubh, int depth)
1021 void *p = ubh_get_data_ptr(uspi, ubh, i);
1027 ubh_mark_buffer_dirty(ubh);
1035 void *p = ubh_get_data_ptr(uspi, ubh, i);
1041 ubh_mark_buffer_dirty(ubh);
1047 if (IS_SYNC(inode) && ubh_buffer_dirty(ubh))
1048 ubh_sync_block(ubh);
1049 ubh_brelse(ubh);
1130 struct ufs_buffer_head *ubh[3];
1158 ubh[i] = ubh_bread(sb, block, uspi->s_bsize);
1159 if (!ubh[i]) {
1165 p = ubh_get_data_ptr(uspi, ubh[i], offsets[i + 1]++);
1168 free_branch_tail(inode, offsets[i + 1], ubh[i], depth - i - 1);