Lines Matching refs:tbh

352 		struct buffer_head *tbh;  in ntfs_read_block()  local
356 tbh = arr[i]; in ntfs_read_block()
357 lock_buffer(tbh); in ntfs_read_block()
358 tbh->b_end_io = ntfs_end_buffer_async_read; in ntfs_read_block()
359 set_buffer_async_read(tbh); in ntfs_read_block()
363 tbh = arr[i]; in ntfs_read_block()
364 if (likely(!buffer_uptodate(tbh))) in ntfs_read_block()
365 submit_bh(READ, tbh); in ntfs_read_block()
367 ntfs_end_buffer_async_read(tbh, 1); in ntfs_read_block()
929 struct buffer_head *bh, *head, *tbh, *rec_start_bh; in ntfs_write_mst_block() local
1129 tbh = bhs[i]; in ntfs_write_mst_block()
1130 ofs = bh_offset(tbh); in ntfs_write_mst_block()
1194 tbh = bhs[i]; in ntfs_write_mst_block()
1195 if (!tbh) in ntfs_write_mst_block()
1197 if (!trylock_buffer(tbh)) in ntfs_write_mst_block()
1200 clear_buffer_dirty(tbh); in ntfs_write_mst_block()
1201 BUG_ON(!buffer_uptodate(tbh)); in ntfs_write_mst_block()
1202 BUG_ON(!buffer_mapped(tbh)); in ntfs_write_mst_block()
1203 get_bh(tbh); in ntfs_write_mst_block()
1204 tbh->b_end_io = end_buffer_write_sync; in ntfs_write_mst_block()
1205 submit_bh(WRITE, tbh); in ntfs_write_mst_block()
1213 tbh = bhs[i]; in ntfs_write_mst_block()
1214 if (!tbh) in ntfs_write_mst_block()
1216 wait_on_buffer(tbh); in ntfs_write_mst_block()
1217 if (unlikely(!buffer_uptodate(tbh))) { in ntfs_write_mst_block()
1223 page->index, bh_offset(tbh)); in ntfs_write_mst_block()
1230 set_buffer_uptodate(tbh); in ntfs_write_mst_block()
1246 tbh = bhs[i]; in ntfs_write_mst_block()
1248 if (!tbh) in ntfs_write_mst_block()
1250 ofs = bh_offset(tbh); in ntfs_write_mst_block()
1265 tbh = bhs[i]; in ntfs_write_mst_block()
1266 if (!tbh) in ntfs_write_mst_block()
1269 bh_offset(tbh))); in ntfs_write_mst_block()