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, 0, tbh); in ntfs_read_block()
347 ntfs_end_buffer_async_read(tbh, 1); in ntfs_read_block()
909 struct buffer_head *bh, *head, *tbh, *rec_start_bh; in ntfs_write_mst_block() local
1112 tbh = bhs[i]; in ntfs_write_mst_block()
1113 ofs = bh_offset(tbh); in ntfs_write_mst_block()
1177 tbh = bhs[i]; in ntfs_write_mst_block()
1178 if (!tbh) in ntfs_write_mst_block()
1180 if (!trylock_buffer(tbh)) in ntfs_write_mst_block()
1183 clear_buffer_dirty(tbh); in ntfs_write_mst_block()
1184 BUG_ON(!buffer_uptodate(tbh)); in ntfs_write_mst_block()
1185 BUG_ON(!buffer_mapped(tbh)); in ntfs_write_mst_block()
1186 get_bh(tbh); in ntfs_write_mst_block()
1187 tbh->b_end_io = end_buffer_write_sync; in ntfs_write_mst_block()
1188 submit_bh(REQ_OP_WRITE, 0, tbh); in ntfs_write_mst_block()
1196 tbh = bhs[i]; in ntfs_write_mst_block()
1197 if (!tbh) in ntfs_write_mst_block()
1199 wait_on_buffer(tbh); in ntfs_write_mst_block()
1200 if (unlikely(!buffer_uptodate(tbh))) { in ntfs_write_mst_block()
1206 page->index, bh_offset(tbh)); in ntfs_write_mst_block()
1213 set_buffer_uptodate(tbh); in ntfs_write_mst_block()
1229 tbh = bhs[i]; in ntfs_write_mst_block()
1231 if (!tbh) in ntfs_write_mst_block()
1233 ofs = bh_offset(tbh); in ntfs_write_mst_block()
1248 tbh = bhs[i]; in ntfs_write_mst_block()
1249 if (!tbh) in ntfs_write_mst_block()
1252 bh_offset(tbh))); in ntfs_write_mst_block()