Lines Matching refs:tbh
332 struct buffer_head *tbh; in ntfs_read_block() local
336 tbh = arr[i]; in ntfs_read_block()
337 lock_buffer(tbh); in ntfs_read_block()
338 tbh->b_end_io = ntfs_end_buffer_async_read; in ntfs_read_block()
339 set_buffer_async_read(tbh); in ntfs_read_block()
343 tbh = arr[i]; in ntfs_read_block()
344 if (likely(!buffer_uptodate(tbh))) in ntfs_read_block()
345 submit_bh(REQ_OP_READ, tbh); in ntfs_read_block()
347 ntfs_end_buffer_async_read(tbh, 1); in ntfs_read_block()
911 struct buffer_head *bh, *head, *tbh, *rec_start_bh; in ntfs_write_mst_block() local
1114 tbh = bhs[i]; in ntfs_write_mst_block()
1115 ofs = bh_offset(tbh); in ntfs_write_mst_block()
1179 tbh = bhs[i]; in ntfs_write_mst_block()
1180 if (!tbh) in ntfs_write_mst_block()
1182 if (!trylock_buffer(tbh)) in ntfs_write_mst_block()
1185 clear_buffer_dirty(tbh); in ntfs_write_mst_block()
1186 BUG_ON(!buffer_uptodate(tbh)); in ntfs_write_mst_block()
1187 BUG_ON(!buffer_mapped(tbh)); in ntfs_write_mst_block()
1188 get_bh(tbh); in ntfs_write_mst_block()
1189 tbh->b_end_io = end_buffer_write_sync; in ntfs_write_mst_block()
1190 submit_bh(REQ_OP_WRITE, tbh); in ntfs_write_mst_block()
1198 tbh = bhs[i]; in ntfs_write_mst_block()
1199 if (!tbh) in ntfs_write_mst_block()
1201 wait_on_buffer(tbh); in ntfs_write_mst_block()
1202 if (unlikely(!buffer_uptodate(tbh))) { in ntfs_write_mst_block()
1208 page->index, bh_offset(tbh)); in ntfs_write_mst_block()
1215 set_buffer_uptodate(tbh); in ntfs_write_mst_block()
1231 tbh = bhs[i]; in ntfs_write_mst_block()
1233 if (!tbh) in ntfs_write_mst_block()
1235 ofs = bh_offset(tbh); in ntfs_write_mst_block()
1250 tbh = bhs[i]; in ntfs_write_mst_block()
1251 if (!tbh) in ntfs_write_mst_block()
1254 bh_offset(tbh))); in ntfs_write_mst_block()