Lines Matching refs:ubh
981 struct ufs_buffer_head *ubh = ubh_bread(sb, ind_block, uspi->s_bsize); in free_full_branch() local
984 if (!ubh) in free_full_branch()
989 void *p = ubh_get_data_ptr(uspi, ubh, i); in free_full_branch()
998 void *p = ubh_get_data_ptr(uspi, ubh, i); in free_full_branch()
1006 ubh_bforget(ubh); in free_full_branch()
1010 static void free_branch_tail(struct inode *inode, unsigned from, struct ufs_buffer_head *ubh, int d… in free_branch_tail() argument
1018 void *p = ubh_get_data_ptr(uspi, ubh, i); in free_branch_tail()
1024 ubh_mark_buffer_dirty(ubh); in free_branch_tail()
1032 void *p = ubh_get_data_ptr(uspi, ubh, i); in free_branch_tail()
1038 ubh_mark_buffer_dirty(ubh); in free_branch_tail()
1044 if (IS_SYNC(inode) && ubh_buffer_dirty(ubh)) in free_branch_tail()
1045 ubh_sync_block(ubh); in free_branch_tail()
1046 ubh_brelse(ubh); in free_branch_tail()
1127 struct ufs_buffer_head *ubh[3]; in ufs_truncate_blocks() local
1155 ubh[i] = ubh_bread(sb, block, uspi->s_bsize); in ufs_truncate_blocks()
1156 if (!ubh[i]) { in ufs_truncate_blocks()
1162 p = ubh_get_data_ptr(uspi, ubh[i], offsets[i + 1]++); in ufs_truncate_blocks()
1165 free_branch_tail(inode, offsets[i + 1], ubh[i], depth - i - 1); in ufs_truncate_blocks()