Searched refs:tbh (Results 1 - 5 of 5) sorted by relevance

/linux-4.4.14/fs/ntfs/
H A Daops.c352 struct buffer_head *tbh; ntfs_read_block() local
356 tbh = arr[i]; ntfs_read_block()
357 lock_buffer(tbh); ntfs_read_block()
358 tbh->b_end_io = ntfs_end_buffer_async_read; ntfs_read_block()
359 set_buffer_async_read(tbh); ntfs_read_block()
363 tbh = arr[i]; ntfs_read_block()
364 if (likely(!buffer_uptodate(tbh))) ntfs_read_block()
365 submit_bh(READ, tbh); ntfs_read_block()
367 ntfs_end_buffer_async_read(tbh, 1); ntfs_read_block()
929 struct buffer_head *bh, *head, *tbh, *rec_start_bh; ntfs_write_mst_block() local
1129 tbh = bhs[i]; ntfs_write_mst_block()
1130 ofs = bh_offset(tbh); ntfs_write_mst_block()
1194 tbh = bhs[i]; ntfs_write_mst_block()
1195 if (!tbh) ntfs_write_mst_block()
1197 if (!trylock_buffer(tbh)) ntfs_write_mst_block()
1200 clear_buffer_dirty(tbh); ntfs_write_mst_block()
1201 BUG_ON(!buffer_uptodate(tbh)); ntfs_write_mst_block()
1202 BUG_ON(!buffer_mapped(tbh)); ntfs_write_mst_block()
1203 get_bh(tbh); ntfs_write_mst_block()
1204 tbh->b_end_io = end_buffer_write_sync; ntfs_write_mst_block()
1205 submit_bh(WRITE, tbh); ntfs_write_mst_block()
1213 tbh = bhs[i]; ntfs_write_mst_block()
1214 if (!tbh) ntfs_write_mst_block()
1216 wait_on_buffer(tbh); ntfs_write_mst_block()
1217 if (unlikely(!buffer_uptodate(tbh))) { ntfs_write_mst_block()
1223 page->index, bh_offset(tbh)); ntfs_write_mst_block()
1230 set_buffer_uptodate(tbh); ntfs_write_mst_block()
1246 tbh = bhs[i]; ntfs_write_mst_block()
1248 if (!tbh) ntfs_write_mst_block()
1250 ofs = bh_offset(tbh); ntfs_write_mst_block()
1265 tbh = bhs[i]; ntfs_write_mst_block()
1266 if (!tbh) ntfs_write_mst_block()
1269 bh_offset(tbh))); ntfs_write_mst_block()
H A Dcompress.c667 struct buffer_head *tbh = bhs[i]; ntfs_read_compressed_block() local
669 if (!trylock_buffer(tbh)) ntfs_read_compressed_block()
671 if (unlikely(buffer_uptodate(tbh))) { ntfs_read_compressed_block()
672 unlock_buffer(tbh); ntfs_read_compressed_block()
675 get_bh(tbh); ntfs_read_compressed_block()
676 tbh->b_end_io = end_buffer_read_sync; ntfs_read_compressed_block()
677 submit_bh(READ, tbh); ntfs_read_compressed_block()
682 struct buffer_head *tbh = bhs[i]; ntfs_read_compressed_block() local
684 if (buffer_uptodate(tbh)) ntfs_read_compressed_block()
686 wait_on_buffer(tbh); ntfs_read_compressed_block()
696 if (unlikely(!buffer_uptodate(tbh))) { ntfs_read_compressed_block()
700 get_bh(tbh); ntfs_read_compressed_block()
702 put_bh(tbh); ntfs_read_compressed_block()
703 if (unlikely(!buffer_uptodate(tbh))) ntfs_read_compressed_block()
H A Dmft.c587 struct buffer_head *tbh = bhs[i_bhs]; ntfs_sync_mft_mirror() local
589 if (!trylock_buffer(tbh)) ntfs_sync_mft_mirror()
591 BUG_ON(!buffer_uptodate(tbh)); ntfs_sync_mft_mirror()
592 clear_buffer_dirty(tbh); ntfs_sync_mft_mirror()
593 get_bh(tbh); ntfs_sync_mft_mirror()
594 tbh->b_end_io = end_buffer_write_sync; ntfs_sync_mft_mirror()
595 submit_bh(WRITE, tbh); ntfs_sync_mft_mirror()
599 struct buffer_head *tbh = bhs[i_bhs]; ntfs_sync_mft_mirror() local
601 wait_on_buffer(tbh); ntfs_sync_mft_mirror()
602 if (unlikely(!buffer_uptodate(tbh))) { ntfs_sync_mft_mirror()
608 set_buffer_uptodate(tbh); ntfs_sync_mft_mirror()
780 struct buffer_head *tbh = bhs[i_bhs]; write_mft_record_nolock() local
782 if (!trylock_buffer(tbh)) write_mft_record_nolock()
784 BUG_ON(!buffer_uptodate(tbh)); write_mft_record_nolock()
785 clear_buffer_dirty(tbh); write_mft_record_nolock()
786 get_bh(tbh); write_mft_record_nolock()
787 tbh->b_end_io = end_buffer_write_sync; write_mft_record_nolock()
788 submit_bh(WRITE, tbh); write_mft_record_nolock()
795 struct buffer_head *tbh = bhs[i_bhs]; write_mft_record_nolock() local
797 wait_on_buffer(tbh); write_mft_record_nolock()
798 if (unlikely(!buffer_uptodate(tbh))) { write_mft_record_nolock()
805 set_buffer_uptodate(tbh); write_mft_record_nolock()
/linux-4.4.14/arch/arm/probes/kprobes/
H A Dtest-thumb.c447 TEST_RX("tbh [pc, r",7, (9f-(1f+4))>>1,"]", kprobe_thumb32_test_cases()
454 TEST_RX("tbh [pc, r",12, ((9f-(1f+4))>>1)+1,"]", kprobe_thumb32_test_cases()
461 TEST_RRX("tbh [r",1,9f, ", r",14,1,"]", kprobe_thumb32_test_cases()
468 TEST_UNSUPPORTED(__inst_thumb32(0xe8d1f01f) " @ tbh [r1, pc]") kprobe_thumb32_test_cases()
469 TEST_UNSUPPORTED(__inst_thumb32(0xe8d1f01d) " @ tbh [r1, sp]") kprobe_thumb32_test_cases()
470 TEST_UNSUPPORTED(__inst_thumb32(0xe8ddf012) " @ tbh [sp, r2]") kprobe_thumb32_test_cases()
/linux-4.4.14/fs/reiserfs/
H A Djournal.c980 struct buffer_head *tbh = NULL; flush_commit_list() local
1058 tbh = journal_find_get_block(s, bn); flush_commit_list()
1059 if (tbh) { flush_commit_list()
1060 if (buffer_dirty(tbh)) { flush_commit_list()
1062 ll_rw_block(WRITE, 1, &tbh); flush_commit_list()
1065 put_bh(tbh) ; flush_commit_list()
1073 tbh = journal_find_get_block(s, bn); flush_commit_list()
1076 __wait_on_buffer(tbh); flush_commit_list()
1083 if (buffer_dirty(tbh)) { flush_commit_list()
1085 sync_dirty_buffer(tbh); flush_commit_list()
1088 if (unlikely(!buffer_uptodate(tbh))) { flush_commit_list()
1096 put_bh(tbh); flush_commit_list()
1098 put_bh(tbh); flush_commit_list()

Completed in 294 milliseconds