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