Lines Matching refs:ind_ubh
202 struct ufs_buffer_head * ind_ubh; in ufs_trunc_indirect() local
221 ind_ubh = ubh_bread(sb, tmp, uspi->s_bsize); in ufs_trunc_indirect()
223 ubh_brelse (ind_ubh); in ufs_trunc_indirect()
226 if (!ind_ubh) { in ufs_trunc_indirect()
233 ind = ubh_get_addr32 (ind_ubh, i); in ufs_trunc_indirect()
247 ubh_mark_buffer_dirty(ind_ubh); in ufs_trunc_indirect()
267 if (*ubh_get_addr32(ind_ubh,i)) in ufs_trunc_indirect()
270 if (ubh_max_bcount(ind_ubh) != 1) { in ufs_trunc_indirect()
279 ubh_bforget(ind_ubh); in ufs_trunc_indirect()
280 ind_ubh = NULL; in ufs_trunc_indirect()
283 if (IS_SYNC(inode) && ind_ubh && ubh_buffer_dirty(ind_ubh)) { in ufs_trunc_indirect()
284 ubh_ll_rw_block (WRITE, 1, &ind_ubh); in ufs_trunc_indirect()
285 ubh_wait_on_buffer (ind_ubh); in ufs_trunc_indirect()
287 ubh_brelse (ind_ubh); in ufs_trunc_indirect()